AX – D365FO – Running a runnable class in D365FO

Hi Everyone ,

There are multiple ways you can run Runnable class. One way is we can attach it to Menu item and add it to any form and execute it using menu item.

Another way is set it up you project as startup object and runnable class as startup object in Visual Studio and run it from Visual studio (see below).

Another way of running it is from your browser (IE/Chrome).

https://URL/?cmp=&mi=SysClassRunner&cls=

Parameters:

Cmp = Your company name e.g USMF

Cls = Your Runnable class name e.g. ShowInvoicedOrderCount

Whenever you want to quickly verify anything this way is very useful and you don’t have to spent time seeing while visual studio opens diagnostic tool and load other windows.

2 thoughts on “AX – D365FO – Running a runnable class in D365FO

Leave a Reply to Marco Saad Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s