2014-07-09 Created By BaoXinjian
一、采购模组数据流
1. 建立请购单
(1). 接口信息
(2). 数据库表
select * from po_requisition_headers_all
where segment1 = '14304'
and type_lookup_code = 'PURCHASE'
and wf_item_type = 'REQAPPRV'
select * from po_requisition_lines_all
where requisition_header_id = 181271
select * from po_req_distributions_all
where requisition_line_id = 208479
2. 建立询价单
(1). 接口信息
(2). 数据库表
select * from po_headers_all
where segment1 = '308'
and type_lookup_code = 'RFQ'
select * from po_lines_all
where po_header_id = 110415
select * from po_line_locations_all
where po_header_id = 110415
3. 建立报价单
(1). 接口信息
(2). 数据库表
select * from po_headers_all
where segment1 = '503'
and type_lookup_code = 'QUOTATION'
select * from po_lines_all
where po_header_id = 110411
select * from po_line_locations_all
where po_header_id = 110411
4. 建立采购单
(1). 接口信息
(2). 数据库表
select * from po_headers_all
where segment1 = '6028'
and type_lookup_code = 'STANDARD'
select * from po_lines_all
where po_header_id = 110386
select * from po_line_locations_all
where po_line_id = 173315
select * from po_distributions_all
where line_location_id = 264461
and req_distribution_id = 206998
5. 接收采购单
(1). 接口信息
(2). 数据库表
select * from rcv_shipment_headers
where receipt_num = 8458
and creation_date > trunc(sysdate)
select * from rcv_shipment_lines
where shipment_header_id = 4815907
and creation_date > trunc(sysdate)
二、库存模组数据流
1. 入库采购单
(1). 接口信息
(2). 数据库表
select * from mtl_material_transactions
where creation_date > trunc(sysdate)
三、付款模组数据
1. 建立发票
(1). 接口信息
(2). 数据库表
select status from ap_invoices_interface
where creation_date > trunc(sysdate)
select * from ap_invoice_lines_interface
where invoice_id = 2283731
select * from ap_invoices_all
where creation_date > trunc(sysdate)
select * from ap_invoice_lines_all
where invoice_id = 211380
select * from ap_invoice_distributions_all
where invoice_id = 211380
select * from ap_payment_schedules_all
where invoice_id = 211380
2. 建立付款
(1). 接口信息
(2). 数据库表
select * from ap_checks_all
where creation_date > trunc(sysdate)
select * from ap_invoice_payments_all
where check_id = 77570
creation_date > trunc(sysdate-10)
select * from ap_payment_distributions_all
where creation_date > trunc(sysdate-1)
四、在SLA中的数据流
1. 抛账至SLA
select * from xla_events
where event_id = 3322714
select * from xla_transaction_entities
where creation_date > trunc(sysdate-1)
select * from xla_ae_headers
where event_id = 3322714
select * from xla_ae_lines
where ae_header_id = 4947978
select * from xla_distribution_links
where ae_header_id = 4947978
五、总账中的数据流
1. 抛账至总账
(1). 接口信息
(2). 数据库表
select * from gl_interface
where accounting_date > trunc(sysdate-90)
select count(*) from gl_import_references
where creation_date > trunc(sysdate)
and je_header_id in (4681155, 4681156)
select * from gl_je_headers
where creation_date > trunc(sysdate)
and je_header_id in (4681155, 4681156)
select * from gl_je_lines
where creation_date > trunc(sysdate)
and je_header_id in (4681155, 4681156)
2. 总账中过账
select * from gl_balance
六、接口开发注意事项
1. 库存事务接口:mtl_transactions_interface
2. 固定资产接口:fa_mass_additions
3. 总账分录接口:gl_interface
4. 应付发票接口:ap_invoices_interface/ap_invoice_lines_interface
5. 应收发票接口:ra_interface_lines_all/ra_interface_salescredits_all
6. 应收收据接口:ar_interim_cash_receipts_all
7. 客户导入接口:ra_customers_interface_all/ra_customer_profiles_int_all/ra_contact_phones_int_all
8. 销售订单接口:oe_headers_iface_all/oe_lines_iface_all/oe_actions_iface_all
9. 采购订单接口:po_headers_interface/po_lines_interface/po_distributions_interface
10.采购接收接口:rcv_shipment_headers/rcv_transactions_interface
11.库存项目接口:mtl_system_items_interface
七、总账中的数据流
参考:
http://blog.csdn.net/pan_tian/article/details/7770412/
http://zhangzhongjie.iteye.com/blog/1977931
http://blog.chinaunix.net/uid-324202-id-3413901.html