Hi all,
I’m trying to apply, or not apply, a Discount to a SO Invoice and update the Balance on creation. The discount is in a user defined field on the Invoice and Sales Order. I can update the Balance, and other totals, in code and things look good until the invoice is processed which causes the totals to be wrong.
When the Actions > Recalculate Prices button in pressed the Balance is updated correctly and processing the Invoice works as expected.
Is there a way to call the that action from GraphExtension code?
Thanks for your feedback!