Dear All,
Please help me with code to get the tax per line on Sales Invoice reports. I have below code its working fine on SalesLine form to get calculated tax per line. But please help me how I need to call this method in SalesInvoiceDP class. I need to show per Line in SalesInvoice Report with below code.
display TaxAmountCur saleslinewisetax(boolean _adjustTaxSign = true, boolean _includeUseTax = false)
{
SalesTotals salesTotals;
TaxAmountCur taxAmountCur;
salesTotals = SalesTotals::construct(this.salesTable());
salesTotals.calc();
salesTotals.tax().sourceSingleLine(true, true);
taxAmountCur = salesTotals.tax().totalTaxAmountSingleLine(this.TableId, this.RecId, _adjustTaxSign, _includeUseTax);
return taxAmountCur;
}
Regards,
Faqru
*This post is locked for comments
I have the same question (0)