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
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method Update ( 
 |    Unit owner, 
 |    Product_MP product, 
 |    DateTime start, 
 |    DateTime end, 
 |    Real minquantity, 
 |    Real targetquantity, 
 |    Boolean hasmaxquantity, 
 |    Real maxquantity, 
 |    Boolean isfromdb 
 |  ) 
 |  { 
 |    Description: 'Update method' 
 |    TextBody: 
 |    [* 
 |      // desmondt Apr-2-2015 (created) 
 |       
 |      owner.SupplySpecification( relmove, this ); 
 |      this.UpdateTypeIndex( owner.ID(), product.ID(), start, end ); 
 |       
 |      this.MinQuantity( minquantity ); 
 |      this.TargetQuantity( targetquantity ); 
 |      this.HasMaxQuantity( hasmaxquantity ); 
 |      this.MaxQuantity( maxquantity ); 
 |      this.IsManuallyConfigured( not isfromdb ) 
 |    *] 
 |  } 
 |  
  |