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
26
27
28
29
30
31
32
33
34
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetHasValidInput ( 
 |    output Strings feedback_o 
 |  ) declarative remote as Boolean 
 |  { 
 |    Description: 'check if has valid input' 
 |    TextBody: 
 |    [* 
 |      // desmondt Nov-5-2014 (created) 
 |      feedback := ''; 
 |       
 |      valid := SalesDemandInPeriod::ValidateInput( feedback, 
 |                                                   this.MacroPlan(), 
 |                                                   this.SalesSegment_MP(), 
 |                                                   this.ProductInStockingPoint_MP().StockingPoint_MP(), 
 |                                                   this.ProductInStockingPoint_MP(), 
 |                                                   this.StartDate(), 
 |                                                   this.EndDate(), 
 |                                                   this.Currency_MP(), 
 |                                                   this.QuantityToPlan(), 
 |                                                   0.0, 
 |                                                   this.Price(), 
 |                                                   this.Priority(), 
 |                                                   this.SalesDemand().GetTypeName() ); 
 |       
 |      if( not isnull( feedback_o ) and not valid ) 
 |      { 
 |          feedback_o.Add( feedback ); 
 |      } 
 |       
 |      return valid; 
 |    *] 
 |  } 
 |  
  |