From 69296cb82cbac409959d82417ad0eddf07f51bbb Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期二, 29 十月 2024 17:41:51 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

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

diff --git a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl b/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
index 628ac49..c4e2762 100644
--- a/_Main/BL/Type_PackagingPlanCell/Function_CalcPackagingInventory.qbl
+++ b/_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 );

--
Gitblit v1.9.3