web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

VS TOOLS LineLeaveAfterOriginal Document Amount not changing

(0) ShareShare
ReportReport
Posted on by

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)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans