X++ Server Threads

You can create threads in X++ to perform tasks in the background.  Here is a vey simple class that demonstrates the basics.   class ThreadDemo {     static server void main()     {         Thread t;         ;         new ExecutePermission().assert();         //BP Deviation Documented         t = new Thread();         t.run(classnum(ThreadDemo), staticmethodstr(ThreadDemo, run));    …

3