| Quintiq file version 2.0 | 
| #parent: #root | 
| Method DoSanityCheckData ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   TextBody: | 
|   [* | 
|     // cypriend Sep-24-2015 (created) | 
|      | 
|     isvalid := true; | 
|      | 
|     isvalid := this.GetHasValidInput( feedback_o, sanitycheckfeedback_o, true ) and isvalid; | 
|      | 
|     isvalid := this.GetIsSoftDeleted( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|     isvalid := this.GetIsLinkedToPeriod( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|     isvalid := this.GetHasValidSalesDemandInPeriod( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|     isvalid := this.GetHasValidRestriction( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|     isvalid := this.GetIsWithinSalesDemandQtyThreshold( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|     isvalid := this.GetHasValidSalesSegment( feedback_o, sanitycheckfeedback_o ) and isvalid;  | 
|      | 
|     isvalid := this.GetIsLinkedToLeafSalesSegment( feedback_o, sanitycheckfeedback_o ) and isvalid; | 
|      | 
|      | 
|     return isvalid; | 
|   *] | 
| } |