lazhen
2024-06-19 af8d4a0e9a8236e8a2e579a8dbf0b2a2a014a2d7
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;
  *]
}