Turn OFF/ON Synchronize database through code
This post will help you to turn off/on Synchronize database when making changes to AOT tables.
static void ShowSysSqlSync(Args _args)
{
SysGlobalCache gc;
str owner = 'SysSqlSync';
str key = 'ShowSysSqlSync';
boolean showEnabled = false; //set to true to enable.
;
gc = appl.globalCache();
gc.set(owner, key, showEnabled);
info(strfmt('Show SqlSync: %1', gc.get(owner, key)));
}
You can find more details about Synchronize database from below link.
No comments:
Post a Comment