Hello All,
Working on a x++ code to calculate Sales tax , sales percent and sales tax code for a Purchase order using following x++ code
Tax::calcTaxAmount(purchLineRecord.TaxGroup, purchLineRecord.TaxItemGroup,
Systemdateget
(), purchLineRecord.CurrencyCode, purchLineRecord.LineAmount, TaxModuleType::purch);
On " All Purchase order Form" clicking on “Sales tax Button” gives a summary of sales tax for selected purchase order.
Even if a purchase order has single Purchase Line Sales summary form showing multiple lines.
Kindly help to get the exact same sales Tax for a purchase order per purchase line.
Ax Version : 2012 .
Thanks