lazhen
2024-11-08 37d0e32bae18422c287889ab19aedf302ac0a78c
发动机库存同步修改
已修改2个文件
10 ■■■■ 文件已修改
_Main/BL/Type_InventoryInterfaceData/StaticMethod_SynchronizeInventory#575.qbl 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InventoryInterfaceData/StaticMethod_SynchronizeInventory.qbl 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InventoryInterfaceData/StaticMethod_SynchronizeInventory#575.qbl
@@ -17,10 +17,7 @@
    // 获取指定日期库存接口数据
    //发动机成品库存
    traverse( inventorys, Elements, inventory ){
      product    := select( macroplan, Product_MP, product, product.Notes() = inventory.FourCode() );
      if(  not isnull( product ) ){
        InventoryInterfaceData::Generate( owner, inventory.DDay(), product.ID(), inventory.BIPlace(), inventory.Fac(), [Number]inventory.Total() );
      }
      InventoryInterfaceData::Generate( owner, inventory.DDay(), inventory.FourCode(), inventory.BIPlace(), inventory.Fac(), [Number]inventory.Total() );
    }
  *]
}
_Main/BL/Type_InventoryInterfaceData/StaticMethod_SynchronizeInventory.qbl
@@ -26,10 +26,7 @@
      }
      //发动机成品库存
      traverse( loginfo, FinishedEngineInventory, inventory ){
        product    := select( macroPlan, Product_MP, product, product.Notes() = inventory.FourCode() );
        if( not isnull( product ) ){
          InventoryInterfaceData::Generate( interfaceDataset, inventory.DDay(), product.ID(), inventory.BIPlace(), inventory.Fac(), [Number]inventory.Total() );
        }
        InventoryInterfaceData::Generate( interfaceDataset, inventory.DDay(), inventory.FourCode(), inventory.BIPlace(), inventory.Fac(), [Number]inventory.Total() );
      }
    }
  *]