lazhen
2024-07-25 bd12cc49b5fd9a9a6f18ce90d204cec2176996f4
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
StaticMethod GetIsAutoConversion () as Boolean
{
  Description: 'To determine whether to run data migration on server startup. If this is set to false, proceed right to normal server startup, regardless whether there is any need for conversion'
  TextBody:
  [*
    // We need a guard here in case the model setting is not present in the config utility
    value := guard( SettingsEngine::SettingsEngine().SettingsHolder().SettingEntryBooleanValue( 'datamigrationframework.isautoconversion' ), true )
    
    return value;
  *]
}