Quintiq file version 2.0
|
#parent: #root
|
Function CalcMaximum
|
{
|
TextBody:
|
[*
|
// Dynamically display duration or quantity
|
value := '';
|
if( this.HasInputMaxDuration() )
|
{
|
value := [String]this.DefaultMaxDuration();
|
}
|
else if( this.HasInputMaxQuantity() )
|
{
|
value := [String]this.DefaultMaxQuantity() + ' ' + this.Unit().UnitOfMeasureName();
|
}
|
this.DefaultMax( value );
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|