AX 2012 - How to create Progress Indicators | Single Progress Indicator using X++

Hi Readers,

Today, in this post we will talk about how to create a single use progress indicator in AX 2012 R2/R3 and D365 FO using X++.

Please create a AX Job in AOT and copy paste the below code:

// Code written by Chirag Gupta
static void progressIndicatorExample(Args _args)
{
    #AviFiles
    SysOperationProgress progress = new SysOperationProgress();
    int i;
 
    ;
 
    progress.setCaption("My Task");
    progress.setAnimation(#AviUpdate);
    progress.setTotal(300000);
    for (i = 1; i <= 300000; i++)
    {
        progress.setText(strfmt("Step %1", i));
        progress.setCount(i, 1);
    }
}

If you want to read more about this topic please click here

Comment below if you find this article helpful...

Author:
Chirag Gupta
Microsoft Dynamics 365 AX Technical Consultant at IBM Bangalore

Date:
21-Sep-2019

Happy Learning !!

Comments

  1. Ax 2012 - How To Create Progress Indicators >>>>> Download Now

    >>>>> Download Full

    Ax 2012 - How To Create Progress Indicators >>>>> Download LINK

    >>>>> Download Now

    Ax 2012 - How To Create Progress Indicators >>>>> Download Full

    >>>>> Download LINK tp

    ReplyDelete

Post a Comment

Popular posts from this blog

[Solved] : Error: String or binary data would be truncated. Cannot execute a data definition language command on Vendor (VendLedgerReconciliationTmp)

AX 2012 - Command prompt compilation / AxBuild.exe for Parallel Compile on AOS of X++ to P-code / Parallel Compilation

AX 2012 - How to send SSRS report in email as an attachment using X++

AX 2012 - How to stop AOS when services got stuck at stopping status

AX 2012 - How to make a form field mandatory

Error: There was no endpoint listening at net.tcp://your_server_name:8201/Dynamics AX/Services…

Fetch vendor address using X++ in AX 2012

AX 2012 - How to print current date and time on SSRS Report

[Solved] : AX 2012 - No connection could be made because the target machine actively refused it 192.168.10.249:8201

[Error] - Error in unit of amount in currency KES. Must be rounded to 0.01 | The unit of 37.563.5343100000000000 KES being posted to account 32710001-- is outside the current penny rounding threshold | Posting has been canceled