| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasConformLotSizingRequirement ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check if trip has valid planned quantity with valid lot sizing requirements. For sanity check.' | 
|   TextBody: | 
|   [* | 
|     isvalid := this.GetHasConformLotSizingRequirement(); | 
|      | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       gp := this.MacroPlan().GlobalParameters_MP(); | 
|       instance := Trip::GetInstanceText( this.LaneLeg(), this.Arrival().Date() ); | 
|       message := Translations::MP_Trip_ViolateHasComfortLotSizingRequirement( this, gp.NumberOfDecimals() ); | 
|       feedback_o.Add( SanityCheckMessage::GetFormattedMessage( instance, message ) ); | 
|       sanitycheckfeedback_o.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryPlanningIssue() ); | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |