Quintiq file version 2.0
|
#parent: #root
|
Method GetHasValidDestinationLane (
|
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 destination'
|
TextBody:
|
[*
|
// desmondt Apr-24-2015 (created)
|
|
isvalid := this.HasValidDestinationLane();
|
|
if( not isnull( feedback_o ) and not isvalid )
|
{
|
feedback_o.Add( SanityCheckMessage::GetFormattedMessage( this.GetInstanceText(),
|
Translations::MP_StockingPointInLane_ViolateHasValidDestinationLane( this.DestinationLaneID() ) ) );
|
sanitycheckfb.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryDataWarning() );
|
}
|
|
return isvalid;
|
*]
|
}
|