[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Shipping Call From Perl


Hey guys,

I've noticed this in the past and have just worked around it, but now it's
really becoming a pain. The problem is when I call $Tag->shipping({ mode =>
'RAGCA' }) versus [shipping mode="RAGCA"].

The ITL call works fine. The perl call produces this error:

Shipping mode 'RAGCA': bad formula. Returning 0.

To try and troubleshoot the problem, I reduced the shipping.asc file to a
single line:

RAGCA   Ground   20        0       74.99   f 10

The shipping calculation is a flat rate for a set number of ranges and is
based on the subtotal. The 20 value there normally has [subtotal noformat=1]
but I hard set the value for troubleshooting.

While adjusting values and trying things, I believe I narrowed the error to
the cost column where "f 10" is.


Any ideas?

Thanks,
Cameron


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.