Search Results xtr_ar_open_trx_v
Overview
XTR_AR_OPEN_TRX_V is a PL/SQL view owned by the APPS schema and maintained within the XTR – Treasury product family in Oracle E-Business Suite 12.1.1 and 12.2.2. The object carries a VALID status and is documented in ETRM as the data source for the Hedge Positions form. Its purpose is to expose a consolidated, report-ready set of open Accounts Receivable transactions and unreconciled cash receipts so that Treasury users can associate hedge instruments with underlying exposed positions.
The view presents a unified transaction stream by combining two logically distinct populations through a UNION ALL. The first branch surfaces open AR transactions sourced through XTR_AR_OPEN_APLD_TRX_V, including invoice and debit memo rows that remain unapplied or partially applied. The second branch surfaces open cash receipt positions derived directly from AR cash receipt, payment schedule, and receivable application tables. This design allows the Hedge Positions form to display both receivable-side and receipt-side exposure from a single query surface, avoiding duplicate extraction logic across Treasury components.
Underlying Base Objects
The view is defined over a documented set of base objects. The first UNION branch reads exclusively from XTR_AR_OPEN_APLD_TRX_V, a Treasury view that itself aggregates applied and open AR transactions. The second branch joins a wide set of AR and Trading Community Architecture objects: AR_CASH_RECEIPTS_ALL, AR_PAYMENT_SCHEDULES_ALL, AR_RECEIVABLE_APPLICATIONS_ALL, and AR_CASH_RECEIPT_HISTORY_ALL from the Receivables schema, together with HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES_ALL, HZ_PARTIES, HZ_PARTY_SITES, and HZ_LOCATIONS from the customer model. HR_OPERATING_UNITS supplies the operating unit name, GL_LEDGER_LE_V provides the primary ledger context, and XTR_PARTIES_V supplies legal entity and party code attributes. FND_MESSAGE is invoked to retrieve the seeded lookup string for cash receipt transaction types, and XTR_USER_ACCESS governs row-level access for the Treasury user.
Because the second branch filters on APS.CLASS = 'PMT', APS.STATUS = 'OP', and excludes reversed or reversal-pending receipts via AR_CASH_RECEIPT_HISTORY_ALL, only genuine open cash positions are returned. Amounts are aggregated with SUM(NVL((-1)*ARA.AMOUNT_APPLIED, 0)) and grouped by receipt, producing one row per open cash receipt position.
Key Columns
- CUSTOMER_TRX_ID / PAYMENT_SCHEDULE_ID – Identifiers of the transaction and its payment schedule; for cash receipt rows the receipt identifier is returned in the CUSTOMER_TRX_ID column position.
- CUST_TRX_TYPE_ID / TRX_TYPE_NAME – Transaction type classification; the cash branch substitutes -99999 and a message-driven label for cash receipts.
- ORG_ID / ORG_NAME – Operating unit identifier and name, used for security and reporting grouping.
- CUSTOMER_ID / CUSTOMER_NAME / COMPANY_CODE – Customer account, party name, and legal entity party code from XTR_PARTIES_V.
- TRX_DATE / TRX_NUMBER – Transaction or receipt date and document number.
- CURRENCY_CODE / SOB_CURRENCY_CODE – Transaction currency and set of books (ledger) currency, enabling currency exposure analysis.
- AMOUNT – Outstanding or applied amount exposed to hedge consideration.
- MIN_DUE_DATE – Earliest due date, supporting maturity-based hedging decisions.
- APPLIED_TRX – Flag indicating whether the row originates from the applied-transaction branch ('Y') or the cash receipt branch ('N').
Common Use Cases and Queries
The primary consumer is the Hedge Positions form, which filters this view by operating unit and currency to present open exposures. Beyond the form, the view is useful for ad hoc Treasury reporting, exposure dashboards, and reconciliation extracts.
Typical query for open exposures by currency:
SELECT org_name, currency_code, customer_name, trx_number,
trx_date, amount, min_due_date
FROM apps.xtr_ar_open_trx_v
WHERE org_id = :p_org_id
AND currency_code = :p_currency
ORDER BY min_due_date;
Separating receivable exposure from cash receipt exposure using the APPLIED_TRX flag:
SELECT applied_trx, COUNT(*) row_count, SUM(amount) total_amount FROM apps.xtr_ar_open_trx_v WHERE org_id = :p_org_id GROUP BY applied_trx;
Because access is mediated by XTR_USER_ACCESS, queries executed under a Treasury responsibility automatically observe the user's authorized operating units. The view should be treated as read-only; all maintenance occurs in the underlying AR and HZ tables.
-
View: XTR_AR_OPEN_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_TRX_V, object_name:XTR_AR_OPEN_TRX_V, status:VALID, product: XTR - Treasury , description: This view is used for Hedge Positions form. , implementation_dba_data: APPS.XTR_AR_OPEN_TRX_V ,
-
View: XTR_AR_OPEN_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_TRX_V, object_name:XTR_AR_OPEN_TRX_V, status:VALID, product: XTR - Treasury , description: This view is used for Hedge Positions form. , implementation_dba_data: APPS.XTR_AR_OPEN_TRX_V ,
-
VIEW: APPS.XTR_AR_OPEN_APLD_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_APLD_TRX_V, object_name:XTR_AR_OPEN_APLD_TRX_V, status:VALID,
-
VIEW: APPS.XTR_AR_OPEN_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_TRX_V, object_name:XTR_AR_OPEN_TRX_V, status:VALID,
-
PACKAGE: APPS.XTR_USER_ACCESS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_USER_ACCESS, status:VALID,
-
PACKAGE: APPS.XTR_USER_ACCESS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_USER_ACCESS, status:VALID,
-
VIEW: APPS.XTR_AR_OPEN_TRX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_TRX_V, object_name:XTR_AR_OPEN_TRX_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.XTR_AR_OPEN_APLD_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_AR_OPEN_APLD_TRX_V, object_name:XTR_AR_OPEN_APLD_TRX_V, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPT_HISTORY_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPT_HISTORY_ALL, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPT_HISTORY_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPT_HISTORY_ALL, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.GL_LEDGER_LE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.GL_LEDGER_LE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS_ALL, status:VALID,
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS_ALL, status:VALID,
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS_ALL, status:VALID,
-
SYNONYM: APPS.AR_CASH_RECEIPTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS_ALL, status:VALID,
-
SYNONYM: APPS.AR_PAYMENT_SCHEDULES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_PAYMENT_SCHEDULES_ALL, status:VALID,
-
SYNONYM: APPS.AR_PAYMENT_SCHEDULES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_PAYMENT_SCHEDULES_ALL, status:VALID,
-
VIEW: APPS.XTR_PARTIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_PARTIES_V, object_name:XTR_PARTIES_V, status:VALID,
-
VIEW: APPS.XTR_PARTIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XTR.XTR_PARTIES_V, object_name:XTR_PARTIES_V, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
VIEW: APPS.HR_OPERATING_UNITS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_OPERATING_UNITS, object_name:HR_OPERATING_UNITS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
VIEW: APPS.HR_OPERATING_UNITS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_OPERATING_UNITS, object_name:HR_OPERATING_UNITS, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, 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,
-
eTRM - XTR Tables and Views
12.2.2
description: Created on 29-OCT-96 ,
-
eTRM - XTR Tables and Views
12.1.1
description: Created on 29-OCT-96 ,
-
PACKAGE BODY: APPS.XTR_HEDGE_PROCESS_P
12.2.2
-
PACKAGE BODY: APPS.XTR_HEDGE_PROCESS_P
12.1.1
-
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,
-
eTRM - SQLGL Tables and Views
12.2.2
description: This table contains the tracking information that Golden Gate will use to launch Journal Import. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
eTRM - XTR Tables and Views
12.2.2
description: Created on 29-OCT-96 ,
-
eTRM - XTR Tables and Views
12.1.1
description: Created on 29-OCT-96 ,
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,