static void TIDgetTax(Args _args)
{
TaxAmount tax;
CustInvoiceTrans CustInvoiceTrans;
;
CustInvoiceTrans = CustInvoiceTrans::findRecId(5637155209);
tax = Tax::calcTaxAmount(CustInvoiceTrans.TaxGroup, CustInvoiceTrans.TaxItemGroup, CustInvoiceTrans.InvoiceDate,
CustInvoiceTrans.CurrencyCode, CustInvoiceTrans.LineAmount, TaxModuleType::FreeTxtInvoice);
info(strfmt('%1', tax));
}