hongji.li
2023-09-24 2709b3e28de35a866a65fa72f589d38a43d5045b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Quintiq file version 2.0
#parent: DataHolderFocusedUnit
Response OnDataChanged () id:Response_FormSupplyChainOverview_DataHolderFocusedUnit_OnDataChanged
{
  #keys: '[136682.0.1905162561]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      //Set focused unit
      Form.FilterData();
      
      //unable to derive text via data binding on LabelFocusedUnit
      //because of Web client's limitation. Setting DH to null will not refresh the text
      unitname := guard( 'Focused unit: ' + this.Data().Name(), '' );
      LabelFocustdUnit.Text( unitname );
    *]
  }
}