Complete relation Query for SLA(Sub Ledger Accounting _XLA), AP(Account Payable) and GL(General Ledger) Links in oracle apps r12 Or Link Between AP(Account Payable), GL(General Ledger) and SLA(Sub Ledger Accounting _XLA) SELECT DISTINCT GJH.PERIOD_NAME, TRUNC (GJH.CREATION_DATE) GL_DATE, GJH.JE_SOURCE, GJH.JE_CATEGORY, GJH.CURRENCY_CODE, GJL.DESCRIPTION, GJL.REFERENCE_5, GJL.REFERENCE_10, GJL.ACCOUNTED_CR, GJL.ACCOUNTED_DR, GJL.EFFECTIVE_DATE, GJL.REFERENCE_1, GCC.SEGMENT1, GCC.SEGMENT2, GCC.SEGMENT3, GCC.SEGMENT4, GCC.SEGMENT5, GCC.SEGMENT6, GCC.SEGMENT7, AERLA.JUSTIFICATION, AERLA.PROJECT_NUMBER, ...