From 02cadbc0d5ed5d21317b59825225389c04fe9b88 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期六, 07 十月 2023 20:42:36 +0800
Subject: [PATCH] 订单创建

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

diff --git a/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl b/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
index e428bb7..1728622 100644
--- a/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
+++ b/_Main/BL/Type_CustomerOrder/StaticMethod_CreateOrUpdate.qbl
@@ -58,7 +58,7 @@
     // 鏂板/鏇存柊
     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