Announcements
No record found.
Guys, i have an issue.
I was asked to make a customization so that if certain payment terms are selected, the unit prices on lines are increased. i've been trying to do this for a few days now and no success.
What is the user process likely to be? Take default payment terms from customer most of the time? Or do they need to review it and make changes per quote/order/invoice?
Have you tried OnAfterValidate of the header field with an event subscriber yet?
Is the % uplift static and set against the payment terms? Does the standard pricing logic override your previous attempts?
Hi @Yan,
As we know "Payment Terms Code" field is available in "Sales Header" table so make sure to update all the "Sales Lines" records related to the Sales Order, so you must have to write your code in OnAfterValidate trigger of "Payment Terms Code" field by extending the "Sales Header" Table something like this:
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 711 Super User 2026 Season 2
Teagen Boll 377 Super User 2026 Season 2
AndrewThomas81 367 Super User 2026 Season 2