Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.0.1557823116]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    sanityfb := '';
    return TransitionType_MP::ValidateInput( feedback,
                                             sanityfb,
                                             DropDownListUnit.Data(),
                                             DropDownListFromCampaignType.Data(),
                                             DropDownListToCampaignType.Data(),
                                             ApplicationMacroPlanner.FormatStringToReal( EditFieldDefaultMinQty.Text() ),
                                             ApplicationMacroPlanner.FormatStringToReal( EditFieldDefaultMaxQty.Text() ),
                                             DurationSelectorMinDuration.Duration(),
                                             DurationSelectorMaxDuration.Duration(),
                                             guard( DataHolderDialogData.Data().WrappedInstance(), null( TransitionType_MP ) ),
                                             true,                   // checkunique
                                             RadioButtonGroupQuantityDuration.BoundValue(),
                                             EditFieldDefaultMaxQty.Enabled(),
                                             DurationSelectorMaxDuration.Enabled() );
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
