1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| Quintiq file version 2.0
| #parent: #root
| StaticMethod Create (
| ProductInStockingPointInPeriodPlanningLeaf owner,
| Demand_MP demand,
| Supply_MP supply,
| Real quantity,
| Boolean hasuserquantity
| ) as Fulfillment
| {
| Description: 'Create a new fulfillment based on InventorySupply and SalesDemand.'
| TextBody:
| [*
| // desmondt Jan-15-2015 (created)
|
| fulfillment := owner.NewSupplyFulfillment( relnew,
| Demand_MP := demand,
| Supply_MP := supply );
|
| fulfillment.Update( demand, supply, quantity, hasuserquantity );
|
| return fulfillment;
| *]
| }
|
|