Showing posts with label shutdown dynamics ax using code. Show all posts
Showing posts with label shutdown dynamics ax using code. Show all posts

Thursday, 24 December 2015

ShutDown AX using code

public static void shutdownAxapta()
{

 SysGlobalCache cache = appl.globalCache();
info info;
;

 cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();

 info.shutDown(true);
}

ShutDown AX using code

public static void shutdownAxapta()
{

 SysGlobalCache cache = appl.globalCache();
info info;
;

 cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();

 info.shutDown(true);
}