I would like to add a customer in and out of a customer discount group based on their payment terms. This is what I’m doing now.
Create an order
Add items to the order
Change the payments terms to CASH
Since it is cash I change the sales header. Customer discount Group to CASH
If I add new lines to the order they get the discount, but the ones I already added do not. What is the best way to update those lines? I want to make this fool proof so I don’t want to tell people, make sure you change the terms before entering items. Thanks
Now what is the best way to have the form update so I don’t need to forward a record and then go back? I tried CurrForm.UPDATECONTROLS; on the payment terms code - onaftervalidate.