Quintiq file version 2.0 
 | 
#parent: EditorDefaultServiceLevel 
 | 
Response OnApplyData () id:Response_EditorDefaultServiceLevel_OnApplyData 
 | 
{ 
 | 
  #keys: '[137118.0.612933428]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Apply data of lot size to 0 if text editor is empty to avoid errors when applying changes 
 | 
    // and avoid data type conversion errors if the value is negative 
 | 
    defaultservicelevel := guard( [Real] EditorDefaultServiceLevel.Text(), 0.0 ) 
 | 
    Dialog.Data().DefaultServiceLevel( defaultservicelevel ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUIComponent_OnApplyData' 
 | 
} 
 |