Hi,
I am wrote a VS tools code using c# to change line item unit price and extended price on sales transaction entry window when LineLeaveAfterOriginal is triggered. The unit price and extended price is getting updated. But the document amount is still the old document amount. How do I update the document amount and subtotal ?
For example, an item with GP unit price is 50 for qty 1 and the code changed unit price to 60, but the document total and sub total still 50.
Is there any function available to recalculate document amount or force the system to recalculate at LineLeaveAfterOriginal?
Thanks
Rajesh
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (