Hy,
I'm trying to change the discount percentage in an orderline through an addon.
I use the B1DE and catch the OnBeforeFormDataAdd event. The AddOn fills the discount correctly but at the end, when the addon releases the code (and standard SBO takes over again) the Order fails with the following error-message;
There is a difference between the document total and its components.
Can anyone help me with this?
Thanks,
Joeri