Microsoft_MVP_banner

Category: _AX General

AX 2012 – How to retrieve meeting (appointment) status from Outlook

Microsoft Dynamics AX 2012 provides a very convenient way to synchronize outlook tasks, contacts and appointments back into AX.  MSDN topics describe the integration in details. https://technet.microsoft.com/en-us/library/aa498242.aspx https://technet.microsoft.com/en-us/library/gg230659.aspx Let’s discuss

Read More »

Calling/Opening AX form through X++

Sample piece of code to open AX form through X++ static void OpenForm_ThroughCode(Args _args) {     Args                            args;     Object                          formRun;     // open form     args = new Args();

Read More »

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 »

PostLoad() method in AX tables

Today I found an interesting thing with regards to AX tables and this post is all about this new experience which is the PostLoad() method in AX tables. When we

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