Hi Tania,
I made the new changes to Canada rule too as we did in US.
In this one i didnt get any error.
The only issue i see now for this is the comparison part which i brought with US rule too. The value in current 9998 is $100 and in A0A is $ 200
in the comparison, when we are coparing to wt 9998, it says A0A is less than WT 9998 and adds wt 9998 in output table...i think somehow its comparing WT 9998 to Amt in a0a and then if it is less its adding WT 9998 to output. Please check screenshot below
IT table before cs2
a0a
now lets say i change the rule to
amt=& temp
amt? 9998
*
addwt&9998
amt= 9998
addwt
subwt&9998
>
addwt
this is what is happening..
i foudn a sol for this one, the issue where the WT 9998 value is not flowing to output when we use amt= 9998
addwt
what i did is i stored the value from IT after IT 14 for WT 9998 in var &aaaa
and then intead of comparing the amount to wt 9998 i am comparing to AAAA
and the when i need to pass that value in it , i pass it from aaaa and not 9998
please see below
this fixes the issue where value was not passing...but why in comparison i ahve to write the rule other way around , that part i am not getting.
please let me know if i am missing anythign regarding the comaprison part...
As always, thanks so much for your help..