Quintiq file version 2.0
|
#parent: #root
|
Method GetHasProcessOutput (
|
output Strings feedback_o,
|
output Strings sanitycheckfeedback_o
|
) declarative remote as Boolean
|
{
|
Description: 'Check if there is a process that can supply to this PISPIP'
|
TextBody:
|
[*
|
// desmondt Jul-15-2015 (created)
|
isvalid := this.GetHasProcessOutput();
|
|
if( not isnull( feedback_o ) and not isvalid )
|
{
|
gp := this.MacroPlan().GlobalParameters_MP();
|
instance := ProductInStockingPointInPeriod::GetInstanceText( this );
|
message := Translations::MP_ProductInStockingPointInPeriod_ViolateHasProessOutput( this, gp.NumberOfDecimals() );
|
|
feedback_o.Add( SanityCheckMessage::GetFormattedMessage( instance, message ) );
|
// refer to Sanity check table
|
sanitycheckfeedback_o.Add( SanityCheckCategoryLevel::GetSanityCheckCategoryPlanningIssue() );
|
}
|
|
|
return isvalid;
|
*]
|
}
|