How to Shutdown AX Client ?
To Shutdown axapta AX, Check this code:
public static void shutdownAxapta()
{
SysGlobalCache cache = appl.globalCache();
info info;
;
cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();
info.shutDown(true);
}
Try this code as well:
static Void DASShutDownAxapta()
{
SysGlobalCache cache = appl.globalCache();
info info;
;
cache.set(classstr(info), identifierstr(Autologoff), true);
info = new info();
info.shutDown(true);
}
instead You can use infolog.shutdown(true); directly