07-05-2017 8:46 AM - edited 02-03-2024 8:54 PM
Environment:
SAP B1 9.92
Steps to duplicate:
In SAP B1's AP invoice UI,
I set:
Line Quantity is 1, Price is $10.00, VAT code is 'VAT10%', Tax Amount is $2.00
NB: VAT10% rate is 10%
After saved:
AP Invoice total is $12.00, Discount is $0.00
AP Invoice line values remained same as entered.
In VB.NET (SAP B1 SDK API)'s AP invoice creation,
I set:
Header.DocTotal = 12.00
Line.Quantity = 1, Line.Price = 10, Line.PriceAfVAT = 12, Line.VatGroup =
'VAT10%', Line.TaxTotal = $2.00
NB: VAT10% rate is 10%
After saved:
AP Invoice total is $12.00, Discount is -$1.00 (instead of $0.00)
Some of the fields value in AP Invoice line is different from what I set
earlier:
Gross Total (LC) is $11.00 (instead of $12.00), Tax Amount (LC) is $1.00
(instead of $2.00)
Issue:
We are happy that we are able to override the AP invoice line tax amount via SAP B1 UI instead of letting it auto-calculated based on Vat %.
However, how do I override the AP invoice line tax amount via SDK API?
Thanks.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.