You are on page 1of 7

AR Technical

1. Data flow between AR and SLA


Join Between XLA and AR
xla_transaction_entities_upg.source_id_int_1 =
ra_customer_trx_all.customer_trx_id
xla_events.entity_id = xla_transaction_entities_upg.entity_id
xla_ae_headers.event_id = xla_events.event_id
xla_ae_lines.application_id = xla_ae_headers.application_id
xla_ae_lines.ae_header_id = xla_ae_lines.ae_header_id
Data flow during Accounting
1. Create Transaction and Save it

Data get populated in xla_transaction_entities and xla_events

 xla_events.event_status_code = I (Incomplete)

2. Complete the transaction in AR

 xla_events.event_status_code = U

 xla_events.process_status_code = U

3. Create The accounting transaction in Draft Mode

 xla_events.event_status_code = U

 xla_events.process_status_code = D

 xla_ae_headers.accounting_entry_status_code = D

4. Create the accounting in Final mode

 xla_events.event_status_code = P
 xla_events.process_status_code = P
 xla_ae_headers.accounting_entry_status_code = F
 xla_ae_headers.gl_transfer_status_code –> ‘Y’
 xla_ae_lines.gl_sl_link_id

5. RUN TRANSFER TO GL

 XLA_AE_LINES.GL_SL_LINK_ID = GL_IMPORT_REFERENCES.GL_SL_LINK_ID
 GL_IMPORT_REFERENCES.JE_HEADER_ID = GL_JE_HEADERS.JE_HEADER_ID

The XLA_AE_HEADERS table shows the transfer status of the accounting data, after successful
transfer to the GL and Journal Import:

XLA_AE_HEADERS.gl_transfer_status_code = Y XLA_AE_HEADERS.gl_transfer_date is not null


XLA_AE_HEADERS.group_id is not null
2. AR Tables
Invoice Table
1. RA_CUSTOMER_TRX_ALL - stores invoice header information. RA_CUSTOMER_TRX_ALL stores
information about invoice, debit memo, credit memo, bills receivable, and commitment lines 2.
AR_PAYMENT_SCHEDULES_ALL table stores all transactions except adjustments and
miscellaneous cash receipts 3. RA_CUSTOMER_TRX_LINES_ALL - Transaction Line information 4.
RA_CUST_TRX_LINE_GL_DIST_ALL table stores the accounting records for revenue, unearned
revenue, and unbilled receivables for each invoice or credit memo line. 5.
RA_CUST_TRX_TYPES_ALL - Customer Transaction Type

Receipt Table
6. AR_CASH_RECEIPTS_ALL stores one record for each receipt entry

7. AR_CASH_RECEIPT_HISTORY_ALL stores all of the activity that is contained for the life cycle
of a receipt.

Possible statuses are Approved, Cleared,Confirmed, Remitted, and Reversed.

**8. AR_MISC_CASH_DISTRIBUTIONS_ALL ** stores all accounting entries for miscellaneous cash


applications.

**9. AR_DISTRIBUTIONS_ALL ** stores the accounting distributions for cash receipts,


miscellaneous receipts, adjustments,credit memo applications, cash receipt applications, and bills
receivable transactions.

**10. AR_RECEIVABLE_APPLICATIONS_ALL ** stores all accounting entries for cash and credit
memo applications.

Details Information
When receipt is created it create one record ar_cash_receipts_all

it also created one record in ar_cash_receipt_history_all,ar_payment_schedules_all


ar_receivable_application_all

receipt Status

1. Unidentified (UNID)
2. Unapplied (UNAPP)
3. Applied (APP)
4. Non-Sufficient fund (NSF)
5. Reversed Receipt (REV)
6. Stop Payment (STOP)

ar_cash_receipts_all columns

1. cash_receipt_id
2. amount
3. currency_code
4. status
5. type
6. receipt_number
7. receipt_date
8. receipt_method_id
9. org_id,reversal_date
10. reversal_reason_code
11. reversal_category
12. pay_from_customer_id
13. customer_site_use_id
14. customer_bank_account_id
15. remittance_bank_account_id

ar_cash_receipt_history_all

Status column indicate the which step the receipt has reached

1. APPROVED
2. CONFIRMED
3. REMITTED
4. CLEARED
5. REVERSED

Current_record_flag - row with ='Y' show the current status of receipt

ar_receivables_application_all

Application status

1. APP – Applied UNAPP – Unapplied ACC - On-Account UNID – Unidentified ACTIVITY -


Receivable Activity OTHER ACC - Other Receipt Application

When a cash receipt is initially created, Receivables creates a row in this table for the cash receipt
amount with a status of UNAPP.

For each subsequent application, Receivables creates 2 rows:

 one row with a status of APP for the amount that is applied to the invoice,
 one row with status of UNAPP for the negative of the amount that is applied.

For reverse cash application, Receivables creates 2 new rows:

 one row with status of APP for the original application's inverse amount (the negative of
the original application amount),
 one row with a status of UNAPP for the positive amount of the application that is
reversed.

The APPLIED_CUSTOMER_TRX_ID and APPLIED_PAYMENT_SCHEDULE_ID columns identify the


invoice or credit memo that receives the application.

Columns.

1. RECEIVABLE_APPLICATION_ID
2. CASH_RECEIPT_ID
3. AMOUNT_APPLIED
4. LINE_APPLIED
5. TAX_APPLIED
6. FREIGHT_APPLIED
7. STATUS
8. APPLIED_CUSTOMER_TRX_ID
9. APPLIED_CUSTOMER_TRX_LINE_ID
10. APPLIED_PAYMENT_SCHEDULE_ID
11. CASH_RECEIPT_HISTORY_ID

AR_distributions_all

Store the accounting distributions for

 Cash & Miscellaneous Receipts


 Adjustments
 Credit Memo applications
 Cash receipt applications
 Bills Receivable transactions

Key Columns are SOURCE_ID, SOURCE_TABLE, and SOURCE_TYPE

For cash receipt history, the SOURCE_TABLE is CRH and the SOURCE_ID is
AR_Cash_Receipt_History_All.Cash_Receipt_History_Id

For receivable applications records, the SOURCE_TABLE is RA and the SOURCE_ID is


AR_Receivable_Applications_All.Receivable_Application_Id

For miscellaneous receipt records, the SOURCE_TABLE is MCD and the SOURCE_ID is
AR_Misc_Cash_Distributions_All.Misc_Cash_Distributions_Id

Columns

1. SOURCE_ID
2. SOURCE_TABLE
3. SOURCE_TYPE
4. CODE_COMBINATION_ID
5. AMOUNT_DR
6. AMOUNT_CR
7. ACCTD_AMOUNT_DR
8. ACCTD_AMOUNT_CR

AR_payment_schedules_all

Stores balances for all Cash Receipts except Miscellaneous receipts and includes

 AMOUNT_DUE_ORIGINAL
 AMOUNT_DUE_REMAINING
 DUE_DAT
 AMOUNT_APPLIED
 ACCTD_AMOUNT_DUE_REMAINING

The Primary key = PAYMENT_SCHEDULE_ID


The CLASS column for Receipts is PMT

When a receipt is applied, Oracle Receivables updates

 AMOUNT_APPLIED
 AMOUNT_DUE_REMAINING
 ACCTD_AMOUNT_DUE_REMAINING
 STATUS

The STATUS column changes from OP to CL for any transaction that has an
AMOUNT_DUE_REMAINING of zero.

AR_MISC_CASH_DISTRIBUTIONS_ALL

Stores all accounting entries for the Miscellaneous Cash Receipt

The AR_CASH_RECEIPTS_ALL table stores one record for each receipt while the
AR_MISC_CASH_DISTRIBUTIONS_ALL table stores one record for each receipt distribution.

Columns

1. MISC_CASH_DISTRIBUTION_ID
2. CASH_RECEIPT_ID
3. APPLY_DATE
4. COMMENTS
5. PERCENT
6. AMOUNT
7. ACCTD_AMOUNT
8. CASH_RECEIPT_HISTORY_ID

AR Transaction tables
1. ra_customer_trx_all
Columns

1. Customer_trx_id

2. trx_number

3. trx_date

4. invoice_currency_code

5. bill_to_customer_id --> hz_cust_accounts. cust_account_id

6. ship_to_customer_id --> hz_cust_accounts. cust_account_id

7. bill_to_site_uses_id --> hz_cust_site_uses_all.site_use_id

8. ship_to_site_uses_id --> hz_cust_site_uses_all.site_use_id

9. cust_trx_type_id --> ra_cust_trx_types_all.cust_trx_type_id

10. term_id --> ra_terms_b.term_id

2. ra_customer_trx_lines_all
1. customer_trx_line_id
2. line_number
3. line_type
4. quantity_invoice
5. unit_standard_price
6. inventory_item_id
7. quantity_ordered
8. link_to_trx_line_id

3. ra_cust_trx_line_gl_dist_all

1. cust_trx_line_gl_dist_id
2. customer_trx_line_id
3. code_combination_id
4. amount
5. gl_date
6. gl_posted_date
7. account_class (Charge,Freight,Rev,Unbill,Unearn)
8. acct_amount
9. org_id

4. AR_PAYMENT_SCHEDULES_ALL

1. payment_schedule_id
2. amount_credited
3. due_date
4. amount_adjusted
5. amount_due_original
6. amount_due_remaining
7. amount_applied -- when receipt is applied this column get updated
8. confirmed_flag

5. ra_cust_trx_types_all

1. cust_trx_type_id
2. type
3. name
4. gl_id_rev
5. gl_id_rec
6. gl_id_freight
7. gl_id_tax
8. gl_id_clearning
9. gl_id_unbilled
10. gl_id_unearned

6. ra_account_defaults_all
7. ra_account_default_segments
8. ar_transaction_history_all
This table is bill receivable specific.

You might also like