X++ code to achieve this; static void SalesTax_Per_SalesQuotation(Args _args) { SalesQuotationTable salesQuotationTable; SalesQuotationTotals salesQuotationTotals; container cont; salesQuotationTotals = SalesQuotationTotals::construct(SalesQuotationTable::find( "QUOT000022" )); salesQuotationTotals.calc(); cont = salesQuotationTotals.displayFieldsCurrency(salesQuotationTotals.currencyCode()); info( strFmt ( "Sales quotation total GST: %1" , conpeek (cont, TradeTotals::posTaxTotal()))); }
A library with Microsoft Dynamics AX, Microsoft Dynamics 365 FinOps and Supply Chain Management, Power Platform, Integrations, development and functional processes, tricks and trip, tutorials and much more....