From ee410ee1b320ad9fc5066afd1534c944dedc184d Mon Sep 17 00:00:00 2001 From: admin <admin@admin.com> Date: 星期日, 25 八月 2024 18:20:14 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl b/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl index ac78819..4a74306 100644 --- a/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl +++ b/_Main/BL/Type_MachineStockData/StaticMethod_Synchronize.qbl @@ -24,8 +24,13 @@ // sadatalist := construct( ShippingActualDatas ); for( seq := 0;seq < data.Size();seq++){ - item := data.Get(seq); - MachineStockData::GenerateData( loginfo, cnv2, item ); + item := data.Get(seq); + inventory :=MachineStockData::GenerateData( loginfo, cnv2, item ); + inventoryname := inventory.Lgort(); + if( inventory.Fac() = 'DL' and inventory.Lgort() = 'All' ){ + inventoryname := inventory.LineType(); + } + InventoryInterfaceData::Generate( owner, inventory.DDay(), inventory.MaterialNo(), inventoryname, [Number]inventory.Total() ); // sadatalist.Add( sadata ); } } -- Gitblit v1.9.3