For posted Sales Invoice report
1
2
| select taxTrans where taxTrans.InventTransId == _custInvoiceTrans.InventTransId; salesInvoiceTmp.TaxValue = taxTrans.TaxValue; |
For posted Free Text Invoice report
1
2
3
4
| select taxTrans where taxTrans.Source == TaxModuleType::FreeTxtInvoice && taxTrans.SourceTableId == tableNum(CustInvoiceTrans) && taxTrans.SourceRecId == _custInvoiceTrans.RecId; |
No comments:
Post a Comment