| Quintiq file version 2.0 | 
| #parent: EditorMinimumQuantity | 
| Response OnInputIdle () id:Response_EditorMinimumQuantity_OnInputIdle | 
| { | 
|   #keys: '[132444.0.66564219]' | 
|   Body: | 
|   [* | 
|     // We need this input here because the ValidateInput function in precondition of  | 
|     // OnClick Ok button now checks the data of the shadow object bound by the dialog | 
|     // instead of the text of EditorMinimumQuantity. | 
|     // The reason to do so is because when EditorMinimumQuantity is hidden due to user not | 
|     // having access / not authorized to the functionality, the EditorMinimumQuantity text  | 
|     // has weird value, so instead of checking the text, we check the shadow object value | 
|     // and we need to update the shadow object value if the user has access to EditorMinimumQuantity | 
|     // and changes it so that ValidateInput checks the new input value  | 
|     this.ApplyChanges(); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_Editor_OnInputIdle' | 
| } |