--------------------------------------------------------
Sub process_pst <<EOS
sub {
return 20;
}
EOS
ValuesDefault mv_shipmode PRICECDN
Levies salestax shipping pst gst
Levy gst description GST/HST
Levy gst label "Estimated GST/HST"
Levy gst part_number GST/HST
Levy gst tax_type GST/HST
Levy gst include_if "[if value country eq CA]1[/if]"
Levy gst keep_if_zero 1
Levy gst type salestax
Levy gst sort 002
Levy pst description "PST"
Levy pst label "Estimated PST"
Levy pst part_number PST
Levy pst tax_type PST
Levy pst include_if "[if value country eq CA]1[/if]"
Levy pst keep_if_zero 1
* Levy pst type process_pst*
Levy pst sort 003
Levy salestax description "Sales Tax (%s)"
Levy salestax label "Estimated Tax"
Levy salestax part_number SALESTAX
Levy salestax include_if "[if value country ne CA]1[/if]"
Levy salestax keep_if_zero 1
Levy salestax type salestax
Levy salestax sort 002
Levy shipping label "Shipping"
Levy shipping type shipping
Levy shipping part_number SHIPPING
Levy shipping mode_from_values mv_shipmode
Levy shipping check_status mv_shipmode
Levy shipping group shipping
I just want to call the subroutine process_pst (I've tried everything)
when calculating PST for Canada, but I don't know the exact syntax. Any
ideas would be appreciated.
-- Thanks, *Angela Zenner | *Programmer Geton.com Technologies Inc. Tel. *250.868.3000 *, Ext *1006* Fax *1.877.572.7614* Toll Free *1.888.450.4023 **Web: *www.GetOn.com <http://www.GetOn.com> | www.GetOnSearchEngines.com <http://www.GetOnSearchEngines.com>
*Mail: suppressed <mailto:suppressed> *Web Development Ecommerce ** ** Search Engine Positioning * 320 - 1620 Dickson Ave. Kelowna, BC V1Y 9Y2 _______________________________________________ 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.