Why the doc total amount is not matched with the total item line amount?
Recently when i try to update something in sales order via my add-on, i got an error said u201CThere is a difference between the document total and its components. [ORDR.DocTotal][line: 0] Iu201D Then i checked the sales order in SAP B1, I found the document total amount was not matched with the item line total amount. Actually the item line is quite simple, there is only one item line with qty 1. How comes the document total could be different with the amount from item line? I know the document total amount is a read-only field which is calculated automatically by SAP. This is really weird for us, we don't know how this happened.
Has anyone experienced similar situation like mine and how this happens?