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'
}
