Quintiq file version 2.0
|
#parent: #root
|
Method GetIsPlannedWithinMaximumCapacityTranslation () declarative remote as String
|
{
|
Description: 'Determine Translation based on capacity'
|
TextBody:
|
[*
|
value :="";
|
|
if( this.MaxCapacity() > 0 )
|
{
|
nrdecimals := this.MacroPlan().GlobalParameters_MP().NumberOfDecimals();
|
value := Translations::MP_StockingPointInPeriod_ViolateIsPlannedWithinMaximumCapacity( this, nrdecimals, this.GetEarlyOptimizerExpiredQuantityWarning() );
|
}
|
else if ( this.MaxCapacity() =0 )
|
{
|
value := Translations::MP_StockingPointInPeriod_ViolateHasNoCapacity();
|
}
|
|
return value;
|
*]
|
}
|