陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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'
}