1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| Quintiq file version 2.0
| #parent: #root
| Method GetAreAllAssociatedSDIPsFulfilled () const declarative remote as Boolean
| {
| Description:
| [*
| Get if all the associated sales demand in periods of this pispip are fulfilled.
| Mainly used for SCV.
| *]
| TextBody:
| [*
| value := this.HasFulfilledSalesDemand();
|
| // Check high level sales demand in periods' pispips, see if there are fulfilled
| // forall returns true if the relation is null
| value := value and forall( this, SalesDemandInPeriodBase.astype( DisaggregatedSalesDemandInPeriod ).AggregatedSalesDemandInPeriod.AsSalesDemandInPeriodBase, pispip,
| true,
| pispip.HasFulfilledSalesDemand() );
|
| return value;
| *]
| }
|
|