Search Results ar_rct_cust_l_v
Overview
AR_RCT_CUST_L_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Oracle Receivables (AR) product family and is documented as an AR XLA Extract view. Its purpose is to denormalize and expose customer-level descriptive attributes alongside the Subledger Accounting (XLA) extract line data generated during Receivables accounting events. The suffix "_L_V" indicates a view defined at the line level ("L"), filtering the underlying extraction table on LEVEL_FLAG = 'L'.
The view plays a supporting role in the Accounting Methods Builder (AMB) and the Subledger Accounting extract architecture. When Receivables creates accounting events, XLA stores transactional and reference data in staging tables such as AR_XLA_LINES_EXTRACT. AR_RCT_CUST_L_V enriches those records with customer and party information (account number, category, address, tax reference, global attributes) by joining to the Trading Community Architecture (TCA) tables HZ_CUST_ACCOUNTS and HZ_PARTIES. This enables subledger accounting rules, diagnostics, and reporting to reference customer context without writing custom joins to TCA directly.
Underlying Base Objects
The view is defined over three documented base objects, all referenced through APPS synonyms:
- AR_XLA_LINES_EXTRACT — the XLA extract staging table holding accounting event lines. The view selects EVENT_ID, LINE_NUMBER, LEDGER_ID, and PAYING_CUSTOMER_ID from this table and applies the
LEVEL_FLAG = 'L'predicate. - HZ_CUST_ACCOUNTS — the TCA customer account table, aliased CA3, joined on
CA3.CUST_ACCOUNT_ID = L.PAYING_CUSTOMER_ID. - HZ_PARTIES — the TCA party master table, aliased P3, joined on
CA3.PARTY_ID = P3.PARTY_ID.
The definition carries an inline hint, /*+INDEX(L AR_XLA_LINES_EXTRACT_N1)*/, directing the optimizer to use the AR_XLA_LINES_EXTRACT_N1 index when scanning the extract table. A GROUP BY clause on all selected columns effectively enforces a distinct result set, preventing row duplication introduced by the join.
Key Columns
The column names are prefixed with RCT_CUST_ (Receivables Customer) to align with the XLA extract column-naming convention. Principal columns include:
- RCT_CUST_ACCOUNT_ID — the customer account identifier (HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID), the primary join key to extract lines.
- RCT_CUST_ACCOUNT_NUMBER and RCT_CUST_ALT_NAME — the account number and customer account name.
- RCT_CUST_PARTY_ID, RCT_CUST_PARTY_NAME, RCT_CUST_PARTY_NUMBER, RCT_CUST_PARTY_TYPE — party-level identifiers and descriptions; PARTY_NAME is truncated to 240 bytes via SUBSTRB.
- RCT_CUST_TYPE and RCT_CUST_CAT_CODE — customer type and category classification.
- RCT_CUST_CITY, RCT_CUST_STATE, RCT_CUST_PROVINCE, RCT_CUST_COUNTRY, RCT_CUST_POSTAL_CODE, RCT_CUST_COUNTY — address attributes sourced from HZ_PARTIES.
- RCT_CUST_TAX_REFERENCE and RCT_CUST_FISCAL_CODE — tax registration and fiscal identifiers.
- RCT_CUST_NPA_NUMBER, RCT_CUST_GROUP_TYPE, and RCT_CUST_GSA_FLAG — additional TCA attributes including NPA number, group type, and the GSA indicator flag.
- RCT_CUST_GLOBAL_ATTR_CAT, RCT_CUST_GLOBAL_ATTR1, RCT_CUST_GLOBAL_ATTR9, RCT_CUST_GLOBAL_ATTR10, RCT_CUST_GLOBAL_ATTR12 — the DFF context and selected global attribute values.
- EVENT_ID, LINE_NUMBER, LEDGER_ID — inherited from AR_XLA_LINES_EXTRACT and used to correlate back to the originating accounting event and ledger.
Common Use Cases and Queries
Typical usages include diagnosing XLA extract contents for a given customer, validating customer attributes captured during accounting rule processing, and building reconciliation reports between Receivables transactions and their accounting events.
Example — retrieve extract lines for a specific customer account:
SELECT rct_cust_account_number, rct_cust_party_name, rct_cust_city, event_id, line_number, ledger_id FROM apps.ar_rct_cust_l_v WHERE rct_cust_account_id = :cust_account_id ORDER BY event_id, line_number;
Example — count distinct customers appearing in extract data for a ledger:
SELECT ledger_id, COUNT(DISTINCT rct_cust_account_id) cust_count FROM apps.ar_rct_cust_l_v GROUP BY ledger_id;
Because the view is a reporting and extraction artifact rather than a transactional interface, it should not be updated or used as an integration target. Its result set depends on the content of AR_XLA_LINES_EXTRACT, so it should be queried only after accounting extraction has been performed.
-
View: AR_RCT_CUST_L_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RCT_CUST_L_V, object_name:AR_RCT_CUST_L_V, status:VALID, product: AR - Receivables , description: AR XLA Extract , implementation_dba_data: APPS.AR_RCT_CUST_L_V ,
-
View: AR_RCT_CUST_L_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RCT_CUST_L_V, object_name:AR_RCT_CUST_L_V, status:VALID, product: AR - Receivables , description: AR XLA Extract , implementation_dba_data: APPS.AR_RCT_CUST_L_V ,
-
SYNONYM: APPS.AR_XLA_LINES_EXTRACT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_XLA_LINES_EXTRACT, status:VALID,
-
SYNONYM: APPS.AR_XLA_LINES_EXTRACT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_XLA_LINES_EXTRACT, status:VALID,
-
VIEW: APPS.AR_RCT_CUST_L_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RCT_CUST_L_V, object_name:AR_RCT_CUST_L_V, status:VALID,
-
VIEW: APPS.AR_RCT_CUST_L_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_RCT_CUST_L_V, object_name:AR_RCT_CUST_L_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
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.2.2
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
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 ,