1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod AllowedDragDropStockingPoint ( 
 |    LibUTF_IterationRun run, 
 |    MacroPlan macroplan, 
 |    Boolean checkallowed, 
 |    String spids, 
 |    Lane lane, 
 |    Boolean isorigin 
 |  ) 
 |  { 
 |    TextBody: 
 |    [* 
 |      stockingpoints := UI_StockingPoint::FindMultiple( run, macroplan, spids );  
 |       
 |      feedback_o := ''; 
 |       
 |      allowed := Lane::CanAddStockingPoint( feedback_o, stockingpoints, lane, isorigin ); 
 |       
 |      text := ifexpr( allowed, 'Drag and drop StockingPoints to origin of Lane Precondition check: ' + spids, feedback_o );  
 |       
 |      UI_Utility::ValidateTrue( run, checkallowed, allowed, text ); 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |