admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
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: '[132444.0.66554771]'
  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'
}