lazhen
2024-08-29 174d2790d88fa5aaaa728eb0bc7e98d9ec79c1a8
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;
  *]
}