Hello everyone,
I need to customize a sales invoice report and add the tax ratio to the lines.
using the original SalesInvoiceTmp table, but it does not contain a line number in order to filter the TaxTrans table to retrieve a tax value.
did anyone solve this particular issue or found another more optimal method?
thanks in advance
Hi MounirDev,
We use business document and add tax amount and tax rate via ER config to the model (i.e. via LineBase.TaxTrans.TaxAmount)
For more info please check: learn.microsoft.com/.../er-business-document-management
hi, can u explain more please
You will have to use the standard classes to calculate the tax for you and add it to the tempory table in the SalesInvoiceDP class. From the top of my head: look in the SalesTable(ListPage) form, there is a button to show the Tax amounts, have a look how that form calculates the tax amount and do the same.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156