| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod Create ( |  |   Unit owner, |  |   Product_MP product, |  |   DateTime start, |  |   DateTime end, |  |   Real minquantity, |  |   Real targetquantity, |  |   Boolean hasmaxquantity, |  |   Real maxquantity, |  |   Boolean isfromdb |  | ) as SupplySpecification |  | { |  |   Description: 'Create static method' |  |   TextBody: |  |   [* |  |     // desmondt Apr-2-2015 (created) |  |      |  |     supplyspec := owner.SupplySpecification( relnew, |  |                                              UnitID := owner.ID(), |  |                                              ProductID := product.ID(), |  |                                              Start := start, |  |                                              End := end ); |  |      |  |     supplyspec.Update( owner, |  |                        product, |  |                        start, |  |                        end, |  |                        minquantity, |  |                        targetquantity, |  |                        hasmaxquantity, |  |                        maxquantity, |  |                        isfromdb ); |  |      |  |     return supplyspec; |  |   *] |  | } | 
 |