AX Consulting

Just another WordPress.com site

Monthly Archives: May 2014

Sleep Function – Dynamics AX

 

Pauses the execution of the current thread for the specified number of milliseconds.

static void sleepExample(Args _arg) { int seconds = 10; // number of second to sleep int i; ; i = sleep(seconds*1000); print "job slept for " + int2str(i/1000) + " seconds"; pause;

}