EBS --PO采购订单

来源:互联网 发布:sql查出来中文乱码 编辑:程序博客网 时间:2024/04/23 19:27

采购订单:主要包括订单头,订单行,发运行,分配行

一、采购订单(路径:PO/采购订单/采购订单)

1、po_headers_all 采购订单头表  ,记录向哪个供应商买东西

主要信息:agent_id  采购员, poh.segment1   订单编号,poh.po_header_id    订单头id,poh.vendor_id   供应商id  ,poh.vendor_site_id   供应商地点,poh.terms_id     账期,poh.type_lookup_code 订单类型

主要关联表:po_agents/po_agents_v  采购员

                    po_vendors/ po_vendor_sites_all   供应商/供应商地点

                    ap_terms /ra_terms_tl 账期

2、po_lines_all 采购订单行表   ,记录向这个供应商买哪些东西,如item1,item2

--po_header_id=po_headers_all.po_header_id

--此表是保存采购订单的行信息

3、po_line_locations_all  采购订单行的发运表

--po_line_id=po_lines_all.po_line_id

--同一采购订单行的物料可能会发往不同的地点,此表记录物料发送情况:

1)发运到自己公司的两个不同的收货地点,如分别在深圳和厦门收货。

2)或者是同一收货地点,但是两个不同的发货时间,如在深圳收货,一批在7月收货,一批在8月收货。

       表中还会记录到收料、退料、开票的数量情况。

4、po_distributions_all 采购订单发运行的分配表

--line_location_id=po_line_location_all.line_location_id

--发往同一地点的物料也可能放在不同的子库存,此表记录物料分配情况

发运的不同使得需要对应到不同的费用会计科目,或者费用需由不同的部门来承担,则可在分配行中操作。

以上4个表从上到下是一对多关系的。

二、采购接收(路径:INV/事务处理/接收/接收)

1、rcv_shipment_headers 接收发运头表

--记录采购订单的接收情况的头表

2、rcv_shipment_lines 接收发运行表     此表是接收明细

--shipment_header_id=rcv_shipment_headers.shipment_header_id

--po_header_id = po_headers_all .po_header_id

--po_line_id = po_lines_all.po_line_id 

--po_line_location_id = po_line_locations_all . line_location_id

--记录采购订单的发送的行的接收情况

3、rcv_transactions 接收事务处理表   ,汇总以上接收头行表内容

--po_header_id=po_headers_all.po_header_id

--po_line_id=po_lines_all.po_line_id

--line_location_id=po_line_location_all.line_location_id

--po_distribution_id=po_distributions_all.po_distribution_id

--shipment_header_id=rcv_shipment_headers.shipment_header_id

--shipment_line_id=rcv_shipment_lines.shipment_line_id

--记录采购订单的发送行的RECEIVE的信息

三、入库(路径:INV/事务处理/接收/接收事务处理)

1、rcv_transactions 接收事务处理表

--记录采购订单的发送行的DELIVER的信息

2、mtl_material_transactions 物料事务处理表

--transaction_source_id=po_headers_all.po_header_id

--记录物料的存放位置发生变化的信息

3、mtl_onhand_quantities 物料现有量表

--记录物料的现有数量信息表

4、rcv_lot_transactions

--transaction_id=rcv_transaction.transaction_id

--lot_number=mtl_onhand_quantities.lot_number

--shipment_line_id=rcv_shipment_lines.shipment_line_id

--记录接收的事务所产生的批次信息表

5、mtl_transaction_lot_numbers

--transaction_id=mtl_material_transactions.transaction_id

--lot_number=mtl_onhand_quantities.lot_number

--记录物料的存放位置发生变化的所产生的批次信息表

6、rcv_serial_transactions

--transaction_id=rcv_transaction.transaction_id

--shipment_line_id=rcv_shipment_lines.shipment_line_id

--记录接收事务的所产生的物料序列号信息表

7、mtl_serial_numbers

--last_txn_source_id=mtl_material_transactions.transaction_source_id

--记录物料序列号的当前状态的信息表

当在EBS中启用批次功能才会用到rcv_lot_transactions和mtl_transaction_lot_numbers表,启用序列号功能才会用到rcv_serial_transactions和mtl_serial_numbers表


0 0
原创粉丝点击