Professional Documents
Culture Documents
General Ledger Tables and Joins
General Ledger Tables and Joins
--------------------------------------GL_BALANCES-------------------------------------------
-------------------------GL_CODE_COMBINATIONS-------------------------------------------
https://docs.oracle.com/en/cloud/saas/financials/22d/oedmf/glcodecombinations-
12960.html#glcodecombinations-12960
--------------------GL_DAILY_RATES------------------------------
---------------------GL_IMPORT_REFERANCES------------------------------------------------------
-----------------------------GL_JE_BATCHES---------------------------------------------------
---------------------------GL_JE_HEADERS-----------------------------------------------
-----------------------------------GL_JE_LINES-------------------------------------------------------------
--------------------------------GL_LEDGERS----------------------------
https://docs.oracle.com/en/cloud/saas/financials/22d/oedmf/glledgers-13488.html#glledgers-13488
----------------------------------- GL_CODE_COMBINATIONS---------------------------------------
-------------------------------------------- GL_DAILY_RATES------------------------------------------
---------------------------------- GL_IMPORT_REFERENCES------------------------------------------------
-------------------------------------- GL_JE_BATCHES--------------------------------------------------------
----------------------------------------GL_JE_HEADERS-----------------------------------------------------------
gl_je_headers.ledger_id = gl_ledgers.ledger_id
gl_je_headers.je_header_id = gl_je_lines.je_header_id
gl_je_headers. JE_BATCH_ID = GL_JE_BATCHES.JE_BATCH_ID
gl_je_headers.CURRENCY_CONVERSION_TYPE =
gl_daily_conversion_types. CONVERSION_TYPE
gl_je_headers.je_category = GL_JE_CATEGORIES. CATEGORY_NAME
--------------------------------------- GL_JE_CATEGORIES--------------------------------------------
------------------------------------------GL_JE_LINES--------------------------------------------------------------
gl_je_lines.je_header_id = gl_je_headers.je_header_id
gl_je_lines. Code_combination_id = gl_code_combinations.code_combination_id
gl_je_lines.ledger_id = gl_ledgers.ledger_id
gl_je_lines.je_line_num = gl_import_references.je_line_num
----------------------------------------------------GL TO PO ---------------------------------------------------
----------------------------------------------- GL TO AP - --------------------------------------------------------
GL_SETS_OF_BOOKS.SET_OF_BOOKS_ID = AP_INVOICES_ALL.SET_OF_BOOKS_ID
gl_code_combinations. code_combination_id = ap_invoices_all.
ACCTS_PAY_CODE_COMBINATION_ID
gl_code_combinations. code_combination_id = ap_invoice_distributions_all.
DIST_CODE_COMBINATION_ID
----------------------------------------------- GL TO AR
------------------------------------------------------------
| flex_value_set_id
| conversion_type
SELECT distinct
gjh.status,
gjl.je_line_num,
gjl.ledger_id,
gjs.JE_SOURCE_NAME source,
gjc.user_je_category_name Category,
FROM
gl_je_headers gjh,
gl_je_lines gjl,
GL_JE_BATCHES gjb,
GL_JE_SOURCES gjs,
GL_JE_CATEGORIES gjc,
gl_ledgers gl
WHERE
gjh.je_header_id = gjl.je_header_id
and gjs.JE_SOURCE_NAME = gjh.JE_SOURCE