chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
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;
  *]
}