Quintiq file version 2.0 
 | 
#parent: PanelActions_144/ButtonApply 
 | 
Response OnClick () id:Response_PanelActions_144_ButtonApply_OnClick 
 | 
{ 
 | 
  #keys: '[139394.1.1054083930]' 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_WebButton_OnClick' 
 | 
  Precondition: 
 | 
  [* 
 | 
    formHasChanges := ApplicationMacroPlanner.CheckFormHasChangesWithFeedback( FormDeviationDetection, feedback ); 
 | 
     
 | 
    // No validation needed thus just check if user has modified any values 
 | 
    return not isnull( MacroPlan ) and formHasChanges ; 
 | 
  *] 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      // Apply 
 | 
      Form.ApplyChanges(); 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |