Quintiq file version 2.0 #parent: Toolbar/btnOk Response OnClick () id:Response_Toolbar_btnOk_OnClick { #keys: '[11660.0.763174232]' Body: [* // Apply changes Dialog.ApplyChanges(); Dialog.EndModal(1); *] CanBindMultiple: false DefinitionID: 'Responsedef_GUIButtonBase_OnClick' Precondition: [* sanitycheckfeedback := ''; return InventorySpecification::ValidateInput( feedback, sanitycheckfeedback, SelectionProduct.Data(), SelectionStockingPoint.Data(), GUIStartDateTimeSelector.DateTime().Date(), [Boolean] RadioButtonGroupMinLevel.BoundValue(), ApplicationLibMacroPlanner.FormatStringToReal( EditorMinLevelInDays.Text() ), ApplicationLibMacroPlanner.FormatStringToReal( EditorMinLevelInQuantity.Text() ), CheckBoxHasMaxLevel.Checked(), [Boolean] RadioButtonGroupMaxLevel.BoundValue(), ApplicationLibMacroPlanner.FormatStringToReal( EditorMaxLevelInDays.Text() ), ApplicationLibMacroPlanner.FormatStringToReal( EditorMaxLevelInQuantity.Text() ), Dialog.Data().WrappedInstance(), true ); *] UserRequiresReadWrite: true }