Setting Rounding on AR Invoice
I'm using SAP B1 882 PL11
I am trying to create an AR invoice via the DI API that reflects the details of an external Point of Sale (POS) transaction.
- I create all lines on the Invoice as they appear on the POS invoice.
- The POS is providing me with the rounding amount for the entire transaction. If non zero, I am setting the following:
- Doc.Rounding = BoYesNoEnum.tYes;
- Doc.RoundinfDiffAmount = 0.06
When I post the AR Invoice, the DI API returns the following error: 10000417 - Unbalanced Transaction
How does one set the rounding amount on a Document?
Ben van Rensburg