1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method UpdateCommitLogic 
 |  { 
 |    Description: 'Method used to do post-processing after commiting in inventory supply' 
 |    TextBody: 
 |    [* 
 |      // Adhi May-9-2016 (created) 
 |      // Update method is called to update foreign key ID and trigger PISP creation 
 |      this.Update( this.Product_MP(), this.StockingPoint_MP(), this.Date(), this.ManufacturedDate(), this.UserQuantity(), this.Description(), false ); 
 |       
 |      if( this.IsWebEdit() ) 
 |      { 
 |        // Reset 
 |        this.IsWebEdit( false ); 
 |         
 |        // In Web app, supply cost Start always in sync with inventory supply date 
 |        this.UpdateCostStart( this.Date() );  
 |      } 
 |    *] 
 |  } 
 |  
  |