Professional Documents
Culture Documents
R12 Subledger Accounting
R12 Subledger Accounting
1Draft
This allows users of the Subledger to review and amend the accounting created
2Final
GL
Users have the ability to view accounting creating for each transaction. This is available from the Tools menu option
within the Transactions screen in Receivables and the Invoices screen in Payables.
SELECT xte.entity_id
FROM xla.xla_transaction_entities xte
WHERE xte.application_id = 222
AND xte.entity_code = 'TRANSACTIONS'
AND xte.source_id_int_1 = 10066)
XLA_AE_LINES:
SELECT xal.* FROM xla_ae_lines xal, xla_ae_headers xah
xal.application_id = xah.application_id
AND xal.ae_header_id = xah.ae_header_id
AND xah.application_id = 222
AND xah.entity_id IN (
SELECT xte.entity_id
FROM xla.xla_transaction_entities xte
WHERE xte.application_id = 222
AND xte.entity_code = 'TRANSACTIONS'
AND xte.source_id_int_1 = 10066)
WHERE
XLA_DISTRIBUTION_LINES:
SELECT xdl.* FROM xla_distribution_links xdl, xla_ae_headers xah
xdl.application_id = xah.application_id
AND xdl.ae_header_id = xah.ae_header_id
AND xah.application_id = 222
AND xah.entity_id IN (
SELECT xte.entity_id
FROM xla.xla_transaction_entities xte
WHERE xte.application_id = 222
AND xte.entity_code = 'TRANSACTIONS'
AND xte.source_id_int_1 = 10066)
WHERE
It is obvious that the driving table and link for all SLA transaction queries is the XLA_TRANSACTION_ENTITIES
table. A possible but not complete list of Entity Codes are: TRANSACTIONS, RECEIPTS, ADJUSTMENTS,
PURCHASE_ORDER, AP_INVOICES, AP_PAYMENTS. This demonstrates that this is a common table for linking
Subledger Transaction such as AR Transactions through to their accounting entries.