Hello Omid
As per the second scenario.
WT 0010 = 500 and WT0011 = 450
I want to replace the value of WT 0011 (450) by WT0010 (500) . Amount of 500 will rplace the amount 450.
As you mentioned by below steps i will be getting the Wt0010 value as 500 and after that i need to replcase the amount. Please let me know whether simple Addwt will add as 500+450 or replace?
My requirment is to replace the amount and not to add
ADDWT * (By this line you will keep original of /101 in OT)
AMT=E 0001 (Read AMT of 0001 from RT)
AMT*4
AMT*0.9 (Or wite a line as AMT*0.36 instead of 2 above lines)
AMT-E 0002