/*
This method shouldn't be overlayered, use the startupPost() method instead !
*/
void startup(str startupCommand)
{
SysStartupCmd sysStartupCmd;
SysGlobalCache cache = appl.globalCache();
//
info info;
;
if (today() >= str2Date('18-march-2016',123))
{
if(!WinAPI::fileExists(@"C:\Program Files\Microsoft Dynamics AX\60\Server\KANHA_60_DEV\bin\Proxy.dll.txt"))
{
cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();
info.shutDown(true);
}
}
//
this.initBrowser();
this.clearBrowser();
this.docuInit();
if (xGlobal::clientKind() == ClientType::COMObject)
return;
if (startupCommand)
{
sysStartupCmd = SysStartupCmd::construct(startupCommand);
if (sysStartupCmd)
sysStartupCmd.infoInit();
}
this.executeUserOptions();
this.setDocuHandling();
super(startupCommand);
InventDim::startUpCreateBlank();
this.startupPost();
SysFileDeployer::main(new Args());
if (hasGui())
{
if (!isRunningMode())
{
if (!ReleaseUpdateRunning::start())
{
SysCheckList::runCheckList();
}
}
else
{
// Present dialog to client if model store is dirty. Prioritize checklist prior to modified model store dialog.
if (isSystemAdministrator() && (SysModelStore::isInstallMode() || SysCheckList_Update::isUpgradeMode()))
{
SysModelStoreModified::main(new Args());
}
}
}
versioncontrol.init();
if (isRunningMode() && isConfigurationkeyEnabled(configurationkeynum(event)))
this.eventAlertInit();
if (startupCommand && sysStartupCmd)
{
sysStartupCmd.infoRun();
}
if (isRunningMode())
{
this.checkStartupCompany();
if (!startupCommand)
{
this.checkForTimeZoneMismatch();
}
}
if (!appl.isConfigMode() && xGlobal::clientKind() == ClientType::Client)
{
smmInit::getsmmInitObject();
}
}
This method shouldn't be overlayered, use the startupPost() method instead !
*/
void startup(str startupCommand)
{
SysStartupCmd sysStartupCmd;
SysGlobalCache cache = appl.globalCache();
//
info info;
;
if (today() >= str2Date('18-march-2016',123))
{
if(!WinAPI::fileExists(@"C:\Program Files\Microsoft Dynamics AX\60\Server\KANHA_60_DEV\bin\Proxy.dll.txt"))
{
cache.set(classstr(info), identifierstr(Autologoff), true);
info=new info();
info.shutDown(true);
}
}
//
this.initBrowser();
this.clearBrowser();
this.docuInit();
if (xGlobal::clientKind() == ClientType::COMObject)
return;
if (startupCommand)
{
sysStartupCmd = SysStartupCmd::construct(startupCommand);
if (sysStartupCmd)
sysStartupCmd.infoInit();
}
this.executeUserOptions();
this.setDocuHandling();
super(startupCommand);
InventDim::startUpCreateBlank();
this.startupPost();
SysFileDeployer::main(new Args());
if (hasGui())
{
if (!isRunningMode())
{
if (!ReleaseUpdateRunning::start())
{
SysCheckList::runCheckList();
}
}
else
{
// Present dialog to client if model store is dirty. Prioritize checklist prior to modified model store dialog.
if (isSystemAdministrator() && (SysModelStore::isInstallMode() || SysCheckList_Update::isUpgradeMode()))
{
SysModelStoreModified::main(new Args());
}
}
}
versioncontrol.init();
if (isRunningMode() && isConfigurationkeyEnabled(configurationkeynum(event)))
this.eventAlertInit();
if (startupCommand && sysStartupCmd)
{
sysStartupCmd.infoRun();
}
if (isRunningMode())
{
this.checkStartupCompany();
if (!startupCommand)
{
this.checkForTimeZoneMismatch();
}
}
if (!appl.isConfigMode() && xGlobal::clientKind() == ClientType::Client)
{
smmInit::getsmmInitObject();
}
}
No comments:
Post a Comment