From 4d55fab94e0e4e1412c64ffd23606850afc72c7a Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期五, 13 十二月 2024 16:33:39 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_PackagingPlanCell/StaticMethod_CreateData.qbl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_Main/BL/Type_PackagingPlanCell/StaticMethod_CreateData.qbl b/_Main/BL/Type_PackagingPlanCell/StaticMethod_CreateData.qbl index 7f720f8..3d2de5e 100644 --- a/_Main/BL/Type_PackagingPlanCell/StaticMethod_CreateData.qbl +++ b/_Main/BL/Type_PackagingPlanCell/StaticMethod_CreateData.qbl @@ -65,13 +65,13 @@ if ( factory = "澶ц繛宸ュ巶" ) { // 鍑�闇�姹�&鍓╀綑搴撳瓨&渚涘簲閲� cell.NetDemand( cell.NetDemand() + pispipl.DependentDemandAndSalesDemandQuantity() ); - cell.EndingInventory( cell.EndingInventory() + pispipl.InventoryLevelEnd() ); + cell.EndingInventory( [Number] ( cell.EndingInventory() + pispipl.InventoryLevelEnd() ) ); } // 闀挎槬宸ュ巶璁剧疆鍊� if ( factory = "闀挎槬宸ュ巶" ) { // 鍓╀綑搴撳瓨&渚涘簲閲� - cell.EndingInventory( cell.EndingInventory() + pispipl.InventoryLevelEnd() ); + cell.EndingInventory( [Number] ( cell.EndingInventory() + pispipl.InventoryLevelEnd() ) ); // 鍑�闇�姹傘�愬彧鍙栫嚎杈瑰簱銆�&鍖呰搴撳瓨&闈炲寘瑁呭簱瀛� if ( pisp.StockingPointID().Regex( "澶栫搴�" ) ) { @@ -94,10 +94,10 @@ preCell := select( ppr, PackagingPlanCell, tempPPCell, tempPPCell.PackagingPlanColumn() = planPre ); if ( isnull( preCell ) ) { preCell := ppr.PackagingPlanCell( relnew ); - preCell.EndingInventory( prePISPIPL.InventoryLevelEnd() ); + preCell.EndingInventory( [Number]prePISPIPL.InventoryLevelEnd() ); preCell.PackagingPlanColumn( relset, planPre ); } else { - preCell.EndingInventory( preCell.EndingInventory() + prePISPIPL.InventoryLevelEnd() ); + preCell.EndingInventory( [Number] ( preCell.EndingInventory() + prePISPIPL.InventoryLevelEnd() ) ); } } } -- Gitblit v1.9.3