Search Results ar_ra_selected_trx_v
Overview
AR_RA_SELECTED_TRX_V is an APPS-owned database view in the Oracle E-Business Suite Receivables (AR) module. Per the ETRM record, its documented description is marked "(Release 11.5 Only)," and the view text carries the embedded purpose comment that it "IS USED IN THE APPLICATIONS WINDOW IN RECEIPT WORKBENCH." In practice, the view denormalizes the relationship between a cash receipt (or receipt application) and the transaction, payment schedule, customer, and lookup information needed to render applied-transaction detail in the Receipts Workbench form. It is a reporting and form-support construct rather than a transactional table: it exposes receipt application facts joined to receivable transaction attributes, including amounts applied, discount amounts, and remaining balances.
Although the metadata indicates a Release 11.5 origin, installations on 12.1.1 and 12.2.2 may still retain an object of this name, while the current Receivables UI generally relies on alternate or successor views. Consult the actual object definition in the target instance before depending on it. The column DISCOUNTS_UNEARNED — the term in the user's search — is present directly in the view text, which is why this object is returned for that query.
Underlying Base Objects
The documented referenced objects for the 12.2.2 ETRM record are:
- AR_CASH_RECEIPTS (synonym) — receipt header, supplying RECEIPT_NUMBER and CASH_RECEIPT_ID.
- AR_PAYMENT_SCHEDULES (synonym) — the transaction's payment schedule (installments, discounts, balances).
- AR_RECEIVABLE_APPLICATIONS (synonym) — the receipt-to-transaction application rows, supplying AMOUNT_APPLIED, APPLY_DATE, GL dates, and earned/unearned discount taken.
- AR_CONS_INV (synonym) — the "consolidated invoice" payment schedule source used in the join.
- RA_CUSTOMER_TRX (synonym) and RA_CUSTOMER_TRX_LINES (synonym) — transaction header and line detail (TRX_DATE, BILL_TO_SITE_USE_ID, LINE_NUMBER).
- RA_CUST_TRX_TYPES (synonym) — transaction type name and ID.
- RA_TERMS (synonym) — payment terms.
- RA_BATCH_SOURCES (synonym) — receipt batch source.
- HZ_CUST_ACCOUNTS, HZ_CUST_SITE_USES, HZ_PARTIES (synonyms) — customer account number, site use (location), and party name.
- AR_LOOKUPS (view) — lookup meanings for transaction class and the APPLIED_PAYMENT_SCHEDULE_ID = -1 ("on account"/unapplied) case.
The view is therefore a multi-table join centered on AR_RECEIVABLE_APPLICATIONS and AR_PAYMENT_SCHEDULES, enriched with receipt, transaction, customer, and lookup attributes.
Key Columns
- CASH_RECEIPT_ID, RECEIPT_NUMBER — identifies the receipt applied.
- CUSTOMER_TRX_ID, TRX_NUMBER, INSTALLMENT, TRX_CLASS_NAME, TRX_TYPE_NAME — the applied transaction, with DECODE logic so an unapplied (on-account) line shows the appropriate lookup meaning rather than a transaction number.
- AMOUNT_APPLIED — amount of the receipt applied to the transaction.
- DISCOUNTS_EARNED, DISCOUNTS_UNEARNED — from AR_PAYMENT_SCHEDULES' DISCOUNT_TAKEN_EARNED and DISCOUNT_TAKEN_UNEARNED, the earned and unearned portions of discount taken.
- DISCOUNT — computed as NVL(EARNED_DISCOUNT_TAKEN,0) + NVL(UNEARNED_DISCOUNT_TAKEN,0) from the application.
- AMOUNT_DUE_REMAINING, AMOUNT_DUE_ORIGINAL, DISCOUNT_REMAINING, AMOUNT_IN_DISPUTE — schedule balances and dispute amount.
- DUE_DATE, DAYS_LATE — due date and TRUNC(APPLY_DATE) − TRUNC(DUE_DATE).
- APPLY_DATE, GL_DATE, GL_POSTED_DATE, REVERSAL_GL_DATE — application and accounting dates.
- CUSTOMER_ID, CUSTOMER_NAME, CUSTOMER_NUMBER, LOCATION_NAME, BILL_TO_SITE_USE_ID — customer and site identification.
- EXCHANGE_RATE, INVOICE_CURRENCY_CODE, ACCTD_* columns — currency and accounted amounts, including AMOUNT_EXCH_RATE_DIFF_BASE.
- ROW_ID, LINE_NUMBER, CUSTOMER_TRX_LINE_ID — keys and line context.
Note that the view exposes both an application-level discount figure (DISCOUNT, combining earned and unearned taken) and the schedule-level DISCOUNTS_UNEARNED column, so the two should not be treated as interchangeable when reconciling discount balances.
Common Use Cases and Queries
Typical uses include receipt workbench–style reporting, applied-transaction detail extracts, and reconciliation of discount taken (earned versus unearned).
- Applied receipt detail:
SELECT receipt_number, trx_number, installment, amount_applied, discounts_earned, discounts_unearned, amount_due_remaining, apply_date, gl_date FROM apps.ar_ra_selected_trx_v WHERE cash_receipt_id = :p_receipt_id; - Unearned discount by customer:
SELECT customer_number, customer_name, trx_number, discounts_earned, discounts_unearned FROM apps.ar_ra_selected_trx_v WHERE discounts_unearned > 0 AND customer_id = :p_customer_id; - Days late on applied transactions:
SELECT trx_number, due_date, apply_date, days_late, amount_applied FROM apps.ar_ra_selected_trx_v WHERE days_late > 0 ORDER BY days_late DESC;
Because the object may be Release 11.5–era in origin, verify its status in each 12.1.1 / 12.2.2 instance and confirm whether the Receivables UI now sources the same data from an alternative view before building dependent reports.
-
View: AR_RA_SELECTED_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RA_SELECTED_TRX_V ,
-
View: AR_RA_SELECTED_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_RA_SELECTED_TRX_V ,
-
SYNONYM: APPS.AR_CONS_INV
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CONS_INV, status:VALID,
-
SYNONYM: APPS.AR_CONS_INV
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CONS_INV, status:VALID,
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.1.1
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.2.2
-
SYNONYM: APPS.RA_TERMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
SYNONYM: APPS.RA_TERMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.RA_BATCH_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_BATCH_SOURCES, status:VALID,
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID,
-
VIEW: APPS.AR_RA_SELECTED_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RA_SELECTED_TRX_V, object_name:AR_RA_SELECTED_TRX_V, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
SYNONYM: APPS.AR_PAYMENT_SCHEDULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_PAYMENT_SCHEDULES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
SYNONYM: APPS.AR_PAYMENT_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_PAYMENT_SCHEDULES, status:VALID,
-
VIEW: APPS.AR_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LOOKUPS, object_name:AR_LOOKUPS, status:VALID,
-
VIEW: APPS.AR_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LOOKUPS, object_name:AR_LOOKUPS, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,