Oracle apps AR Applications and SLA details

Oracle apps AR Applications and SLA details
Oracle EBS receivable applications and xla details query
AR_RECEIVABLE_APPLICATIONS_ALL and xla_ae_lines join R12

--AR Applications and xla
SELECT ard.source_id,
       xdl.SOURCE_DISTRIBUTION_TYPE,
       xal.ACCOUNTING_CLASS_CODE,
       ard.SOURCE_ID,
       ard.SOURCE_TABLE,
       ard.SOURCE_TYPE,
       rcta.trx_number,
       (SELECT name
          FROM apps.ra_cust_trx_types_all
         WHERE cust_trx_type_id = rcta.cust_trx_type_id)
          transaction_type,
       xah.*
  FROM apps.xla_ae_lines                   xal,
       apps.xla_distribution_links         xdl,
       apps.xla_ae_headers                 xah,
       apps.AR_DISTRIBUTIONS_ALL           ard,
       apps.AR_RECEIVABLE_APPLICATIONS_ALL ara,
       apps.ra_customer_trx_all            rcta
 WHERE     1 = 1
       AND xal.ae_header_id = xdl.ae_header_id
       AND xal.ae_line_num = xdl.ae_line_num
       AND xdl.SOURCE_DISTRIBUTION_TYPE = 'AR_DISTRIBUTIONS_ALL'
       AND xah.ae_header_id = xal.ae_header_id
       AND ARD.LINE_ID = XDL.source_distribution_id_num_1
       AND ard.SOURCE_ID = ara.RECEIVABLE_APPLICATION_ID
       AND ara.APPLIED_CUSTOMER_TRX_ID = rcta.customer_trx_id(+)
       AND rcta.trx_number = '123456'
       --AND GL_TRANSFER_STATUS_CODE = 'N'
       ;
Related posts: Upload your own post and refer it anywhere anytime:

Leave a Reply