10/23/24, 3:23 PM Document 802966.
1
Copyright (c) 2024, Oracle. All rights reserved. Oracle Confidential.
SLA Data Flow and Table Links (Doc ID 802966.1)
In this Document
Goal
Solution
Subledger Accounting (SLA) Data Flow Chart
Important columns affected:
Queries involved:
References
APPLIES TO:
Oracle Cost Management - Version 12.0.0 and later
Oracle Financials Accounting Hub - Version 12.2.4 to 12.2.4 [Release 12.2]
Information in this document applies to any platform.
GOAL
How does the data flow from Inventory (Material transactions coming from Inventory,WIP, and Receiving) to General Ledger(GL)?
What are the tables that are involved?
SOLUTION
Subledger Accounting (SLA) Data Flow Chart
[Link] 1/5
10/23/24, 3:23 PM Document 802966.1
[Link] 2/5
10/23/24, 3:23 PM Document 802966.1
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:
1. select * from mtl_material_transactions where transaction_id = '&transaction_id'
2. select * from mtl_transaction_accounts where transaction_id = '&transaction_id'
3. select * from XLA_TRANSACTION_ENTITIES_upg where source_id_int_1 = '&transaction_id'
4. select * from xla_events where entity_id in (select entity_id from XLA_TRANSACTION_ENTITIES_upg where source_id_int_1 = '&transaction_id')
5. 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')
6. 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'))
7. 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'))
8. 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>)
[Link] 3/5
10/23/24, 3:23 PM Document 802966.1
9. 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>')
10. 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'))
You may use the 2 collector scripts:
InvSlaGl
GlSlaInv
WipSlaGl
To diagnose the flow between Inventory/Work In Process and GL through SLA that are available in Subledger Accounting Diagnostic Scripts for Cost Management
(Note 1372269.1)
The values and meanings are :
Meaning
EVENT_STATUS_CODE
Event type code
I Incomplete
N No action
P Processed
U
Unprocessed
Meaning
PROCESS_STATUS_CODE
Processing status code
D Draft
E Error
[Link] 4/5
10/23/24, 3:23 PM Document 802966.1
I Invalid
P Processed
R Related event in error
U Unprocessed
F Final
Note: If an event has event_status_code = P and process_status_code = F but is still in xla_ae_headers with GL_Transfer = No, then the event has successfully
processed and just needs to be manually transferred to GL.
Manual GL Transfer can be completed via the concurrent request Transfer Journal Entries to GL.
Still Have Questions?
To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the
My Oracle Support Cost Management EBS Community.
REFERENCES
NOTE:1372269.1 - Subledger Accounting Diagnostic Scripts for Cost Management diagnose flow between Inventory/WIP/Receiving and GL through SLA
NOTE:466513.1 - What is Subledger Accounting for Cost Management?
NOTE:876190.1 - R12: FAQ on Transfer to GL in R12
Didn't find what you are looking for?
[Link] 5/5