Shut down axapta from x++ code

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.