Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 51311

Sales quotation GST through X++

$
0
0
X++ code to achieve this;


staticvoid
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())));


}








Viewing all articles
Browse latest Browse all 51311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>