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 pensieri riguardo “AX – D365FO – Running a runnable class in D365FO

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo di WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...