Wednesday, 28 December 2011

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


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