Quintiq file version 2.0
#parent: DataHolderSupplyChainView
Response OnDataChanged () id:Response_FormSupplyChainOverview_DataHolderSupplyChainView_OnDataChanged
{
  #keys: '[136682.0.1905156427]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  QuillAction
  {
    Body:
    [*
      //Clear the drawing
      FormSupplyChainOverview.FlushData()
      
      //reassign root nodes
      nodes := construct( Nodes );
      node := select(  this.Data(), Node, n, n.istype( UnitNode) and isnull( n.astype( UnitNode).Unit().Parent() ));
      
      nodes.Add(  node );
      DataHolderNode.Data( &nodes );
    *]
    GroupServerCalls: false
  }
}
