From 4d55fab94e0e4e1412c64ffd23606850afc72c7a Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期五, 13 十二月 2024 16:33:39 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
index c4e2762..9f02a64 100644
--- a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
+++ b/_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 );
   *]
 }

--
Gitblit v1.9.3