From d1389b4189a7aa3436ee94754ba76efb5784af36 Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期五, 22 十一月 2024 16:13:49 +0800 Subject: [PATCH] 去除无关代码 --- _Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl b/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl index 16b528c..c3446fa 100644 --- a/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl +++ b/_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl @@ -55,8 +55,8 @@ traverse ( pispmp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, not pispippl.IsPeriodFrozen() ) { startdate := pispippl.Start().Date(); daycolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), startdate ); - weekcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate ); - monthcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate ); + // weekcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate ); + // monthcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate ); actinventoryKey := pispmp.ProductID() + startdate.AsQUILL(); actinventoryhandle := actinventorytree.GetHandle( actinventoryKey ); actinventoryindex := guard( actinventorytree.Root().Child( actinventoryhandle ),null( NamedValue )); @@ -66,8 +66,8 @@ actinventoryqty := inventoryqrys.Element( actinventoryindex.GetValueAsNumber() ); } inventoryrow.SetQuantity( daycolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); - inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); - inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); + // inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); + // inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); } } -- Gitblit v1.9.3