From e8be76a40ae0b3cb1d37a6e91e25c1284a50347f Mon Sep 17 00:00:00 2001
From: Administrator <renhui.hao@capgemini.com>
Date: 星期四, 21 九月 2023 20:59:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'refs/remotes/origin/dev'

---
 _Main/BL/Type_MappingSaleBudge/StaticMethod_GetSheetByYear.qbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_MappingSaleBudge/StaticMethod_GetSheetByYear.qbl b/_Main/BL/Type_MappingSaleBudge/StaticMethod_GetSheetByYear.qbl
index 124d7ff..21a4a50 100644
--- a/_Main/BL/Type_MappingSaleBudge/StaticMethod_GetSheetByYear.qbl
+++ b/_Main/BL/Type_MappingSaleBudge/StaticMethod_GetSheetByYear.qbl
@@ -13,7 +13,7 @@
     result := sum( parent, 
                    MappingCapacityAndSaleBudge, 
                    item, 
-                   productNo.Find( item.ProductCode() ) > -1,
+                   item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1,
                    item.GetCapacityInSheetInYear() );
     return result;
   *]

--
Gitblit v1.9.3