1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod HasStockingPoint ( 
 |    output String feedback_o, 
 |    MacroPlan owner 
 |  ) declarative remote as Boolean 
 |  { 
 |    Description: 'To be used when assigning product to stocking point. Disabled context menu Assigning to stocking points... when there is no stocking point' 
 |    TextBody: 
 |    [* 
 |      feedback_o := "" 
 |      if( not isnull( owner ) and owner.StockingPoint_MP( relsize ) = 0 ) 
 |      { 
 |        feedback_o := Translations::MP_MacroPlan_HasStockingPoint(); 
 |      } 
 |      return feedback_o = ""; 
 |    *] 
 |  } 
 |  
  |