Hi Everyone,
I have been burning my brain on a bug I have in our BC implementation.
The issue: totals in sales documents are not calculated correctly, except when i go to change the discount % of the entire document.
Symptoms: When adding a new line, the quantity and unit price are multiplied and added to the totals. This happen BEFORE my code is executed. This code calculates the real quantities based on a new additional parameter further down the line and overrides the line total.
Possible fix: force to recalculate the totals AFTER my code has done its work. But I cannot find a way to do that?
Can anyone help please?