haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quintiq file version 2.0
#parent: #root
Response OnUserSelectionChanged (
  structured[StockingPoint_MP] selection
) id:Response_ListStockingPoint_OnUserSelectionChanged
{
  #keys: '[110880.6.1600758850]'
  Body:
  [*
    // Highligh object in custom draw
    nodes := selectset( MacroPlan, ViewBase.Node, n, n.istype( StockingPointNode ) and exists( selection, Elements, sp, sp.Name() = n.Name(), true ), true );
    ApplicationLibMacroPlanner.SupplyChainDiagramHighlightedObject( nodes );
    
    // Set detail panel for some filtering
    DataHolderStockingPoints.Data( selection.Copy() );
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_List_OnUserSelectionChanged'
}