lihongji
2024-06-18 597f8e8f284b7494fceabaeb2c96e4496cfd2435
1
2
3
4
5
6
7
8
9
10
Quintiq file version 2.0
#parent: #root
StaticMethod GetQuantityBasedOnduration (
  Operation operation,
  Duration duration
) declarative remote as Real
{
  Description: 'Return quantity based on duration and throughput'
  TextBody: 'return duration.DaysAsReal() * 24 * guard( operation.Throughput(), 0 );'
}