lihongji
2024-12-12 5ad37285137cfcf072c0e7b38dd4fb562bc83f5c
_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
@@ -10,11 +10,11 @@
                     this.InitialPackagingInventory() + guard( this.Previous().PackagingInventory()                 + 
                                                               this.TransferIn()                                    +
                                                               guard( this.Package(), 0.0 )                         -  
                                                               ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ),
                                                               guard( this.Unpacking(), 0.0 ),
                                                               0.0 )
                                                      - this.Out()
                    );
    
    this.PackagingInventory( value );
    this.PackagingInventory( [Number]value );
  *]
}