From 30010fad767e42c851d8961cdea97a4444a756ae Mon Sep 17 00:00:00 2001 From: yypsybs <yypsybs@foxmail.com> Date: 星期三, 20 九月 2023 14:58:44 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- _Main/BL/Type_MacroPlan/Method_InitialUnitAndStockingPoint.qbl | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/_Main/BL/Type_MacroPlan/Method_InitialUnitAndStockingPoint.qbl b/_Main/BL/Type_MacroPlan/Method_InitialUnitAndStockingPoint.qbl index d030255..c71e147 100644 --- a/_Main/BL/Type_MacroPlan/Method_InitialUnitAndStockingPoint.qbl +++ b/_Main/BL/Type_MacroPlan/Method_InitialUnitAndStockingPoint.qbl @@ -106,5 +106,11 @@ ProductLevel_MP::Create( "2", isproductcatagory, this, isfromdb ); ProductLevel_MP::Create( "3", isproductcatagory, this, isfromdb ); } + + existsalestlevel := SalesLevel_MP::FindSalesLevelTypeIndex( "2") + if( isnull( existsalestlevel ) ){ + SalesLevel_MP::Create( "1",this,isfromdb); + SalesLevel_MP::Create( "2",this,isfromdb); + } *] } -- Gitblit v1.9.3