lazhen
2025-01-09 8afe90b633046db39042aada36b88193062f8cff
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 );
    *]
  }
}