冰镇可乐 发表于 2019-2-3 11:37:28

EBS OM销售订单 四个主要环节常用表

  销售订单要经历登记、发放、挑库、交货四个主要环节,常用表:
一、登记
  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>  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)
  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
  --记录“销售订单发放”阶段物料的存放位置发生变化的信息
  --如果启用了序列号,记录会按单个序列号拆分

页: [1]
查看完整版本: EBS OM销售订单 四个主要环节常用表