| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasValidOriginLane ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfb | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check if the stocking point in lane is linked to a lane as origin' | 
|   TextBody: | 
|   [* | 
|     // desmondt Apr-24-2015 (created) | 
|      | 
|     isvalid := this.HasValidOriginLane(); | 
|      | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       feedback_o.Add( SanityCheckMessage::GetFormattedMessage( this.GetInstanceText(), | 
|                                                                Translations::MP_StockingPointInLane_ViolateHasValidOriginLane( this.OriginLaneID() ) ) ); | 
|       sanitycheckfb.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryDataWarning() );                                                            | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |