Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[146140.0.1162733818]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    sanitycheckcategory := '';
    return ServiceLevel::ValidateInput( feedback,
                                        sanitycheckcategory,
                                        MacroPlan,
                                        DataHolderDialogData.Data().WrappedInstance(),
                                        EditFieldName.Text(),
                                        DropDownListProduct.Data(),
                                        DropDownListStockingPoint.Data(),
                                        ApplicationMacroPlanner.FormatStringToReal( EditFieldTargetPercentage.Text() ),
                                        DateSelectorStart.Date(),
                                        DateSelectorEnd.Date(),
                                        Translations::MP_GlobalParameters_KPIServiceLevelName()
                                        );
  *]
  QuillAction
  {
    Body:
    [*
      Form.OnOK();
    *]
  }
}
