Microsoft_MVP_banner

Sales quotation GST through X++

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

Read More »

GST/TAX at sales order and sales line level through X++

Sales order GST: Total GST of Sales order can be seen from following screen in AX 2012 X++ code to achieve this; static void SalesTax_Per_SalesOrder(Args _args) {     TaxTmpWorkTransForm     taxTmpWorkTransForm;     SalesTotals             salesTotals;     TaxSales                taxSales;     SalesLine               salesLine;     container               cont;

Read More »

How to get Next RecId through X++

Below piece of code can be used to retrieve next record Id from the table. static void getNextRecId(Args _args) {     //Table that stores record ids details for tables    

Read More »

Retrieve worker email address through X++

Below code snipet is one of the way to retrieve employee/worker’s primary email address. private LogisticsElectronicAddressLocator getInstructorEmail(HcmWorkerRecId  _workerRecId) {     LogisticsElectronicAddress  logisticsElectronicAddress;     HcmWorker        

Read More »

FaisalFareed@2025. All rights reserved

Design by T3chDesigns