Quintiq file version 2.0
|
#parent: #root
|
Method GetMaxDays (
|
Boolean hastarggetinventoryindays,
|
Real maxdaysfortargetinventory
|
) const as Real
|
{
|
TextBody:
|
[*
|
value := -1.0;
|
if ( this.HasMaxLevelInDays() )
|
{
|
value := maxvalue( value, this.MaxLevelInDays() );
|
}
|
if ( this.HasMinLevelInDays() )
|
{
|
value := maxvalue( value, this.MinLevelInDays() );
|
}
|
if ( hastarggetinventoryindays )
|
{
|
value := maxvalue( value, maxdaysfortargetinventory );
|
}
|
|
return value;
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|