From c76375269c3e221d4a02db906abd86bc0ec13bf2 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 25 十月 2024 16:57:10 +0800
Subject: [PATCH] 库存更新detail可改quantity
---
_Main/BL/Type_InventoryPointSelection/Function_CalcQuantity.qbl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/_Main/BL/Type_InventoryPointSelection/Function_CalcQuantity.qbl b/_Main/BL/Type_InventoryPointSelection/Function_CalcQuantity.qbl
index ea6b2c1..7ffddcb 100644
--- a/_Main/BL/Type_InventoryPointSelection/Function_CalcQuantity.qbl
+++ b/_Main/BL/Type_InventoryPointSelection/Function_CalcQuantity.qbl
@@ -8,7 +8,7 @@
value := 0.0;
if( this.IsIncluded() ){
- value := sum( this, InventoryInterfaceDataDetail, detail, detail.Quantity() );
+ value := sum( this, InventoryInterfaceDataDetail, detail, detail.Fac() = this.Fac() and detail.InventoryPoint() = this.InventoryPoint(), detail.Quantity() );
}
this.Quantity( value );
--
Gitblit v1.9.3