惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
The Cloudflare Blog
IT之家
IT之家
雷峰网
雷峰网
小众软件
小众软件
博客园 - 叶小钗
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog

博客园 - 德仔

Win7环境下装SQL SERVER 2005 IIS的设置 C# Winform 使用 MYSQL 新增,读取数据乱码问题 gridview中的" "问题解决方法 [译]SQL2005/2008错误18456 登录失败的 解决方案 Compilation Error 解决方案汇集 KM知识管理推广方案 Oracle EBS: ASCP 学习 PL-SQL问题集锦 Global.asax文件失效的解决办法 一份DBA面试题 oracle:IF语句 Loop循环 Cursor的用法(二) Oracle:IF语句 Loop循环 Cursor的用法(一) Oracle EBS:PO行接收关闭后修改其它行自动打开 异常:HRESULT: 0x80070057 (E_INVALIDARG) 的处理 NPOI动态获取数据源绑定Gridview显示 Oracle EBS:SQL 失效一揽子PO协议 Web开发电子期刊 2010年第5期(第45期) Oracle EBS: 获取PO审批人名字 Oracle PL/SQL:IF语句的基本使用
[译]Oracle EBS:追踪PO全过程
德仔 · 2010-05-30 · via 博客园 - 德仔

来源:http://www.dezai.cn/blog/article.asp?id=342

1。创建PO

PO_HEADERS_ALL

select po_header_id from po_headers_all where segment1 =

;

select * from po_headers_all where po_header_id =

;

po_lines_all

select * from po_lines_all where po_header_id =

;

po_line_locations_all

select * from po_line_locations_all where po_header_id =

;

po_distributions_all
select * from po_distributions_all where po_header_id =

;

po_releases_all

Select * FROM po_releases_all Where po_header_id =

;

2.一旦PO收货,则收货数据将转移至接收及库存的表中

RCV_SHIPMENT_HEADERS

select * from rcv_shipment_headers where shipment_header_id in
(select shipment_header_id from rcv_shipment_lines
where po_header_id =

);

RCV_SHIPMENT_LINES

select * from rcv_shipment_lines where po_header_id =

;

RCV_TRANSACTIONS

select * from rcv_transactions where po_header_id =

;

RCV_ACCOUNTING_EVENTS

Select * FROM rcv_Accounting_Events Where rcv_transaction_id IN
(select transaction_id from rcv_transactions
where po_header_id =

);

RCV_RECEIVING_SUB_LEDGER

select * from rcv_receiving_sub_ledger where rcv_transaction_id in (select transaction_id from rcv_transactions where po_header_id =

);

RCV_SUB_LEDGER_DETAILS

select * from rcv_sub_ledger_details
where rcv_transaction_id in (select transaction_id from rcv_transactions where po_header_id =

);

MTL_MATERIAL_TRANSACTIONS

select * from mtl_material_transactions where transaction_source_id =

;

MTL_TRANSACTION_ACCOUNTS

select * from mtl_transaction_accounts where transaction_id in ( select transaction_id from mtl_material_transactions where transaction_source_id = =

);

Stage 3: Invoicing details

3.会计分录明细

AP_INVOICE_DISTRIBUTIONS_ALL

select * from ap_invoice_distributions_all where po_distribution_id in ( select po_distribution_id from po_distributions_all where po_header_id =

);

[b]AP_INVOICES_ALL

select * from ap_invoices_all where invoice_id in
(select invoice_id from ap_invoice_distributions_all where po_distribution_id in
( select po_distribution_id from po_distributions_all where po_header_id =

));

Stage 4 : Many Time there is tie up with Project related PO

PA_EXPENDITURE_ITEMS_ALL

select * from pa_expenditure_items_all peia where peia.orig_transaction_reference in
( select to_char(transaction_id) from mtl_material_transactions
where transaction_source_id =

);

Stage 5 : General Ledger

5.总账分类账目

Prompt 17. GL_BC_PACKETS ..This is for encumbrances

Select * FROM gl_bc_packets Where reference2 IN ('

');

GL_INTERFACE

Select *
FROM GL_INTERFACE GLI
Where user_je_source_name ='Purchasing'
AND gl_sl_link_table ='RSL'
AND reference21='PO'
AND EXISTS
( Select 1
FROM rcv_receiving_sub_ledger RRSL
Where GLI.reference22 =RRSL.reference2
AND GLI.reference23 =RRSL.reference3
AND GLI.reference24 =RRSL.reference4
AND RRSL.rcv_transaction_id in
(select transaction_id from rcv_transactions
where po_header_id

));

GL_IMPORT_REFERENCES

Select *
FROM gl_import_references GLIR
Where reference_1='PO'
AND gl_sl_link_table ='RSL'
AND EXISTS
( Select 1
FROM rcv_receiving_sub_ledger RRSL
Where GLIR.reference_2 =RRSL.reference2
AND GLIR.reference_3 =RRSL.reference3
AND GLIR.reference_4 =RRSL.reference4
AND RRSL.rcv_transaction_id in
(select transaction_id from rcv_transactions
where po_header_id =

))