Quintiq file version 2.0
|
#parent: #root
|
Function CalcWaitingDuration
|
{
|
TextBody:
|
[*
|
// evr3 May-5-2022 (created)
|
|
value := Duration::Zero();
|
|
if( this.StartedOn().IsFinite() and this.RequestedOn().IsFinite() )
|
{
|
value := this.StartedOn() - this.RequestedOn();
|
}
|
|
this.WaitingDuration( value );
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|