Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.0.1547072380]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return not isnull( DataHolderDialogData.Data() ) 
           and LaneLeg::ValidateInput( feedback, 
                                       sanitycheckfeedback,
                                       MacroPlan,
                                       DataHolderDialogData.Data().IsEnabled(),
                                       CheckboxHasStart.Checked(),
                                       DateSelectorStart.Date(),
                                       CheckboxHasEnd.Checked(),
                                       DateSelectorEnd.Date(),
                                       CheckBoxHasUserLeadTime.Checked(),
                                       DurationSelectorLeadTime.Duration(),
                                       ApplicationMacroPlanner.FormatStringToReal( EditFieldCO2Emission.Text() ),
                                       DataHolderDialogData.Data().WrappedInstance()
                                     );
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
