I have created fields technically using AL in "Payment Journal" named as "Total WHT Amount" and "WHT Bal. No". The field "WHT Bal. No" has a table relation with "G/L Account" table and is getting the "No." of the table. I have functionally created an account named "WHT and other" (No. = 24250) in "Chart of Accounts" list page(Table: G/L Account). For this specific account, I have created a field "Remaining Balance" in which I want to get the "Total WHT Amount" from the "Payment Journal" after posting the invoice by using the "POST" action. "WHT Bal. No" in "Payment Journal" and "No." in "Chart of Accounts" are the same so I have built a conditional statement between these two for getting the value but it isn't working. Below are the screenshots attached. Kindly help me with this issue.
No problem Daniele Incalza. Thank you.
sorry it was a slip of the tongue
I wanted to write
test.modify
Solved. Thank you for your cooperation.
You have to use Test.Modify() after you are updating the Remaining Balance.
Thanks.
Use test.modify
Regards
Amit Sharma
www.erpconsultors.com
Hi
you should do the test.INSERT
DAniele
Sohail Ahmed
1,051
YUN ZHU
998
Super User 2025 Season 1
Mansi Soni
757