您的位置:首页 > 其它

SLA Data Flow and Table Links (Doc ID 802966.1)

2013-09-20 17:05 651 查看

Applies to: Oracle Cost Management - Version 12.0.0 and later

Information  in this document applies to any platform.
Goal

How does the data flow from Inventory to General Ledger(GL)? What are the tables that are involved?

Subledger Accounting (SLA) Data Flow Chart



Important columns affected:

After a transaction is performed in forms:

mtl_material_transactions.costed_flag = 'N'

After the Cost Manager Picks up the data and processes it:

mtl_material_transactions.costed_flag is Null

xla_events.event_status_code = 'U'

xla_events.process_status_code = 'U'

After the Create Accounting - Cost Management is run:

xla_events.event_status_code = 'P'

xla_events.process_status_code = 'P'

xla_ae_headers.gl_transfer_status_code = 'N'

xla_ae_headers.gl_transfer_date is Null

After the Transfer To GL is run:

xla_ae_headers.gl_transfer_status_code = 'Y'

xla_ae_headers.gl_transfer_date is Not Null



Queries involved:

select * from mtl_material_transactions where transaction_id = '&transaction_id'
select * from mtl_transaction_accounts where transaction_id = '&transaction_id'
select * from XLA_TRANSACTION_ENTITIES_upg where source_id_int_1 = '&transaction_id'
select * from xla_events where entity_id in (select entity_id from XLA_TRANSACTION_ENTITIES_upg where source_id_int_1 = '&transaction_id')
select * from xla_distribution_links where source_distribution_type = 'MTL_TRANSACTION_ACCOUNTS' and source_distribution_id_num_1 in (select inv_sub_ledger_id from mtl_transaction_accounts where transaction_id = '&txnid')
select * from xla_ae_headers where ae_header_id in (select ae_header_id from xla_distribution_links where source_distribution_type = 'MTL_TRANSACTION_ACCOUNTS' and source_distribution_id_num_1 in (select inv_sub_ledger_id from mtl_transaction_accounts where
transaction_id = '&txnid'))
select * from xla_ae_lines where ae_header_id in (select ae_header_id from xla_distribution_links where source_distribution_type = 'MTL_TRANSACTION_ACCOUNTS' and source_distribution_id_num_1 in (select inv_sub_ledger_id from mtl_transaction_accounts where
transaction_id = '&txnid'))
select * from gl_import_references where gl_sl_link_table = 'XLAJEL' and gl_sl_link_id in (<give the gl_sl_link_id from result of query 7>)
select * from gl_je_lines where je_header_id in (<give the je_header_id from result of query 8>) and je_line_num in ('<result from query 8>')select * from xla_accounting_errors where event_id in (select event_id from xla_events where entity_id in (select entity_id from XLA_TRANSACTION_ENTITIES_upg where source_id_int_1 = '&transaction_id'))
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐