您的位置:首页 > 其它

销售到出仓所经历的表

2009-05-08 11:57 218 查看
销售到出仓所经历的表

销售订单要经历登记、发放、挑库、交货四个主要环节,有些表在各个环节都有不同的特性,
作者罗列了几个主要的常用的表,其它好象还有些货物路线、停靠之类的信息表则没有涉及

下面是销售订单的四个主要环节和每个环节用到的常用表:

一、登记

1、oe_order_headers_all
--订单头信息表
2、oe_order_lines_all
--header_id=oe_order_headers_all.header_id
--订单行信息表
3、mtl_sales_orders
--segment1=oe_order_headers_all.order_number
--sales_order_id=mtl_material_transaction.transaction_source_id
--记录订单编号的信息表
4、wsh_delivery_details
--source_header_id=oe_order_headers_all.header_id
--source_line_id=oe_order_lines_all.line_id
--记录订单的物料的发运明细信息,该表的记录在此阶段状态为R(Ready to release: 'R'means "ready to release")
5、wsh_delivery_assignments
--delivery_detail_id=wsh_delivery_details.delivery_detail_id
--连接wsh_delivery_details和wsh_new_deliveries的信息表
--此阶段连接wsh_delivery_details

二、发放

1、wsh_delivery_details
--该表的记录在此阶段状态为S(Released to Warehouse: 'S' means "submitted for release" )
2、wsh_new_deliveries
--source_header_id=oe_order_headers_all.header_id
--记录订单的交货信息表,此阶段为OP(Delivery is Open, has not been shipped)
3、wsh_delivery_assignments
--delivery_id=wsh_new_deliveries.delivery_id
--连接wsh_delivery_details和wsh_new_deliveries的信息表
--此阶段连接wsh_new_deliveries
4、wsh_picking_batches
--order_header_id=oe_order_headers_all.header_id
--记录订单的发放的信息表

三、挑库

1、wsh_delivery_details
--该表的记录在此阶段状态为Y(Staged)。如果启用了序列号,记录会按单个序列号拆分
2、mtl_material_transactions
--transaction_source_id=mtl_sales_orders.sales_order_id
--trx_source_line_id=oe_order_lines_all.line_id
--记录“销售订单挑库”阶段物料的存放位置发生变化的信息
3、mtl_onhand_quantities
--记录物料的现有数量信息表
4、mtl_transaction_lot_numbers
--transaction_id=mtl_material_transactions.transaction_id
--lot_number=mtl_onhand_quantities.lot_number
--记录物料的存放位置发生变化的所产生的批次信息表
5、mtl_serial_numbers
--last_txn_source_id=mtl_material_transactions.transaction_source_id
--记录物料序列号的当前状态的信息表

四、交货

1、wsh_delivery_details
--该表的记录在此阶段状态为C(Shipped)
2、wsh_new_deliveries
--该表的记录在此阶段为CL(Delivery has arrived at the destination)
3、mtl_material_transactions
--记录“销售订单发放”阶段物料的存放位置发生变化的信息
--如果启用了序列号,记录会按单个序列号拆分
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: