Quintiq file version 2.0
#parent: CustomDrawComponent
Response OnClick (
  structured[StockingPointNode] selection
) id:Response_CustomDrawComponent_MenuCopyNode_OnClick_779
{
  #keys: '[110880.3.1021374666]'
  Body:
  [*
    // Copy stocking point
    stockingpoints := selectset( selection, Elements.StockingPoint_MP, sp, true );
    StockingPoint_MP::Copy( stockingpoints, DataHolderView.Data() );
    
    // Toggle on value holder to indicate changes
    ApplicationLibMacroPlanner.SetSupplyChainOverviewWarning();
  *]
  DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick
  Initiator: 'MenuCopyNode'
  UserRequiresReadWrite: true
}
