Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod Delete ( 
 | 
  StockingPoint_MP stockingpoint 
 | 
) 
 | 
{ 
 | 
  Description: 'Delete stocking point' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // DWE2 Feb-2-2016 (created) 
 | 
    if( not isnull( stockingpoint ) ) 
 | 
    { 
 | 
      sps := construct( StockingPoint_MPs ); 
 | 
      sps.Add( stockingpoint ); 
 | 
     
 | 
      StockingPoint_MP::Delete( sps ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |