From fb1634fb000c80a7b66d3af521c964dea9923d79 Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期日, 04 八月 2024 17:38:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- _Main/BL/Type_InventorySummarySource/StaticMethod_Initialize.qbl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_InventorySummarySource/StaticMethod_Initialize.qbl b/_Main/BL/Type_InventorySummarySource/StaticMethod_Initialize.qbl index 455d0bc..f3c7208 100644 --- a/_Main/BL/Type_InventorySummarySource/StaticMethod_Initialize.qbl +++ b/_Main/BL/Type_InventorySummarySource/StaticMethod_Initialize.qbl @@ -27,7 +27,7 @@ table.GenerateColumn( owner, 'All', startofyear, startofnextyear ); //info( '-----------------------------------', table.InventorySummaryColumn( relsize ) ); //搴撳瓨鏁伴噺涓篈ctual inventories閲岄潰鐨勭偣Planned inventories瀛楁搴撳瓨閲忓姞鎬� - traverse( owner, Product_MP.ProductInStockingPoint_MP, pisp, pisp.IsLeaf() and not pisp.IsSystem() and ( pisp.StockingPoint_MP().UnitID() = ccunit or pisp.StockingPoint_MP().UnitID() = dlunit ) ){ + traverse( owner, Product_MP.ProductInStockingPoint_MP, pisp, pisp.IsLeaf() and not pisp.IsSystem() and not isnull( pisp.StockingPoint_MP() ) and ( pisp.StockingPoint_MP().UnitID() = ccunit or pisp.StockingPoint_MP().UnitID() = dlunit ) ){ unit := pisp.StockingPoint_MP().UnitID(); product := pisp.Product_MP(); // info( '-----------------------------------', unit, product.ID() ); -- Gitblit v1.9.3