Oracle EBS:追踪PO全过程

摘要:
1.创建POPO_HEADERS_ALLselectpo_header_idfrom_HEADERS_allwhere segment1=;选择*frompo_headers_allwherepo_header_id=;po_ lines_ allselect*from_lines_ allwhere po_ header_id=;po_ line_ locations_allselect*来自
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_accounting_events
WHERE rcv_transaction_id IN (SELECT transaction_id
FROM rcv_transactions
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 =);

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 =))

免责声明:文章转载自《Oracle EBS:追踪PO全过程》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇deepfake 资源总结LWIP之HTTP下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

layui 二级联动

layui 二级联动 HTML 部分 <form onsubmit="return false;"action="__SELF__"data-auto="true"method="post"class='form-horizontal layui-form' style='padding-top:20px'><input type="h...

Oracle 数据库启动与关闭 各种方式详解整理

闲话: 近来要开始学Oracle了,平时遇到些什么不懂的总是要找谷歌度娘的,不过有些时候找到的内容却不是很衷意。嗨,看来我也别懒着了,收集些书上的网上的知识点到这里来方便以后用得着的时候查查吧,也方便大家参考参考(如果你觉得还满意的话)。以下内容以oracle 11g为例抄一本书上的,书名就懒得广告了。可能抄得太详细了,没必要的话看看命令也就罢了。 前言:...

oracle 查询字段备注

select    A.column_name 字段名,B.comments 备注from    user_tab_columns A,user_col_comments Bwhere    A.Table_Name = B.Table_Name    and A.Column_Name = B.Column_Name    and A.Table_Nam...

Nginx tomcat集群 转发后端口丢失

场景: 阿里云主机 docker 搭建nginx集群,访问项目端口丢失 配置如下: 丢失的可能原因: proxy_set_header Host设置不对,修改如下: proxy_set_header Host $http_host; proxy_set_header Host 可以设置有如下几种: proxy_set_header Host $prox...

Linq之关键字基本查询

子句 说明 from 指定数据源和范围变量(类似于迭代变量)。 where 根据一个或多个由逻辑“与”和逻辑“或”运算符(&& 或 &#124;&#124;)分隔的布尔表达式筛选源元素。 select 指定当执行查询时返回的序列中的元素将具有的类型和形式。 group 按照指定的键值对查询结果进行分组。...

数据库中增加操作insert into的用法和查询select的用法

insert into的用法 1.一条insert into 可以插入多条记录 2.insert into 能判断主键是否冲突,和做出冲突处理 如果主键冲突的话会报错,还能写成如果冲突就更新的形式格式为 : insert into 表名 (字段列表) values (字段值列表) on duplicate key update 字段=值,字段=值(列表...