| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasPlannedWithinMaximumCapacity ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check for Inventory level end is smaller than or equal to max capacity. For sanity check' | 
|   TextBody: | 
|   [* | 
|     // desmondt Jul-22-2015 (created) | 
|      | 
|     isvalid := this.GetIsPlannedWithinMaximumCapacity(); | 
|      | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       instance := StockingPointInPeriod::GetIntanceText( this ); | 
|       message :=  this.GetIsPlannedWithinMaximumCapacityTranslation(); | 
|      | 
|       feedback_o.Add( SanityCheckMessage::GetFormattedMessage( instance, message ) ); | 
|       sanitycheckfeedback_o.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryPlanningIssue() ); | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |