Skip to main content

Posts

Showing posts with the label Close Axapta client or Instance by code in job

Close MSD Axapta client or Instance by code in job

Close Axapta client or Instance by code in job. Info is class you can declare object of info class. Info class include shutdown method if you pass true parameter than it will close instance of axapta. SysGlobalCache SysGlobalCache1 = appl.globalCache(); info info; ; SysGlobalCache1.set(classstr(info), identifierstr(Autologoff), true); info = new info(); info.shutDown(true); Or you can set value in shutdown in user option form . You can also write following line to close axapta. Infolog.shutdown(true); It will close axapta forcefully.