From 6982337837db3443d05ada70c0afbf331032cf15 Mon Sep 17 00:00:00 2001
From: yanweiyuan3 <yanweiyuan3@gmail.com>
Date: 星期五, 15 九月 2023 17:43:59 +0800
Subject: [PATCH] Add Release & Copy(Save) button

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

diff --git a/_Main/BL/Type_GlobalDTOTable/StaticMethod_GetOutputVersionData.qbl b/_Main/BL/Type_GlobalDTOTable/StaticMethod_GetOutputVersionData.qbl
index 5e79d99..a8610b8 100644
--- a/_Main/BL/Type_GlobalDTOTable/StaticMethod_GetOutputVersionData.qbl
+++ b/_Main/BL/Type_GlobalDTOTable/StaticMethod_GetOutputVersionData.qbl
@@ -31,7 +31,7 @@
     listtodeal := selectset( macroplan, 
                               Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, 
                               pispip, 
-                              true );
+                              pispip.SalesDemandQuantity() > 0 );
     
     if( latestversion.CalType() = "TM_SOP_R1" ){
       listtodeal := selectset( macroplan, 

--
Gitblit v1.9.3