From 1a5a8be205641f5f79dd809f6c7e59fc84d76243 Mon Sep 17 00:00:00 2001
From: yunchai <yunying.chai@capgemini.com>
Date: 星期日, 08 十月 2023 09:11:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'refs/remotes/origin/dev'

---
 _Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl b/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
index 3ec5f41..1728622 100644
--- a/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
+++ b/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
@@ -38,27 +38,27 @@
     }
     // 妫�鏌ヤ緷璧栭」
     if( isnull( product) ) {
-        info( "product not found" );  
+        info( "product not found" + productId);  
     }
     if( isnull( salesSegment) ) {
-        info( "sales segment not found" );  
+        info( "sales segment not found" + salesSegmentName);  
     }
     if( isnull( stockingPoint) ) {
-        info( "stock point not found" );  
+        info( "stock point not found" + stockingPointId);  
     }
     //if( isnull( currency) ) {
     //    error( "currency not found" );  
     //}
     if( unitOfMeasureName <> "" and isnull( unitOfMeasure) ) {
-        info( "unit of measure not found" );  
+        info( "unit of measure not found" + unitOfMeasureName);  
     }
-    if( priorityName <> "" and isnull( stockingPoint) ) {
-        info( "priority not found" );  
-    }
+    //if( priorityName <> "" and isnull( stockingPoint) ) {
+    //    info( "priority not found" );  
+    //}
     // 鏂板/鏇存柊
     result := CustomerOrder::FindById( macroPlan, id );
     if( isnull( result ) ) {
-        CustomerOrder::Create( product, stockingPoint, id, orderDate, quantity, price, 
+        result := CustomerOrder::Create( product, stockingPoint, id, orderDate, quantity, price, 
                                priorityName, salesSegmentName, currencyId, unitOfMeasureName, 
                                false, customerName, customerId, orderId, orderLineId, true, true, true );
     } else {

--
Gitblit v1.9.3