_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
@@ -8,10 +8,11 @@ value := ifexpr( this.PackagingPlanRow().Factory() = "长春工厂", this.CC_PackagingInventory(), this.InitialPackagingInventory() + guard( this.Previous().PackagingInventory() + guard( this.Package(), 0.0 ) - ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ), 0.0 ) - this.Out() this.TransferIn() + guard( this.Package(), 0.0 ) - ifexpr( this.TransferIn() > 0.0, 0, this.Unpacking() ), 0.0 ) - this.Out() ); this.PackagingInventory( value );