Quintiq file version 2.0
#parent: #root
Method EditStockingPoints (
  internal[GUIComponent] parent,
  structured[StockingPoint_MP] stockingpoints
) id:Method_DialogEditVisualization_EditStockingPoints
{
  #keys: '[124808.1.871504533]'
  Body:
  [*
    // Edit stocking point node
    spnodes := selectset( stockingpoints, Elements.StockingPointNode, spn, spn.SupplyChainView() = DataHolderView.Data() );
    
    if( not isnull( spnodes ) )
    {
      Dialog.Edit( parent, spnodes );
    }
  *]
}
