haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
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: EditorLotSize
Response OnInputIdle () id:Response_EditorLotSize_OnInputIdle
{
  #keys: '[134266.1.623048531]'
  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 EditorLotSize.
    // The reason to do so is because when EditorLotSize is hidden due to user not
    // having access / not authorized to the functionality, the EditorLotSize 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 EditorLotSize
    // and changes it so that ValidateInput checks the new input value 
    this.ApplyChanges();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_Editor_OnInputIdle'
}