xiaoding721
2024-12-13 4d55fab94e0e4e1412c64ffd23606850afc72c7a
_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 );
  *]
}