| | |
| | | // 获取指定日期库存接口数据 |
| | | //发动机成品库存 |
| | | 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() ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | } |
| | | //发动机成品库存 |
| | | 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() ); |
| | | } |
| | | } |
| | | *] |