Close AXAPTA with X++ , shut down AX with X++ code

public static void shutdownAxapta()
{
SysGlobalCache cache = appl.globalCache();
info info;
;
cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();
info.shutDown(true);
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.