Search Results ar_ll_lines_groups_v
Overview
AR_LL_LINES_GROUPS_V is a Receivables (AR) view owned by the APPS schema that exposes line-level and group-level detail used by the Line-Level Cash Application feature in Oracle E-Business Suite. Line-Level Cash Application allows a receipt to be applied against individual transaction lines (and their associated tax lines) rather than against an invoice header in aggregate. The view consolidates the activity detail records that store the applied amounts, discounts, and tax amounts for each receipt line, and joins them to the customer transaction lines they settle.
Because the view flattens and normalizes the underlying application detail across receipt lines, invoice lines, and tax lines, it is the natural reporting source for questions about how a given cash receipt was distributed across the lines of one or more transactions. It is read-only by design; it is not intended for direct DML but for queries, reports, and integration extracts that require line-level application granularity. Its status is VALID in both 12.1.1 and 12.2.2, and its structure is consistent across those releases.
Underlying Base Objects
The view is defined over two documented base objects, both referenced through APPS synonyms:
- AR_ACTIVITY_DETAILS — the primary driver, aliased as LL. It stores the line-level cash application records: the receipt, the transaction line, the allocated amount, tax, discounts, and descriptive attributes.
- RA_CUSTOMER_TRX_LINES — aliased as LINE for the invoice line being applied to, and referenced again through an inline aggregate subquery aliased as TAX that sums tax-line balances grouped by transaction and linked line.
A UNION combines the per-line detail with a summarized grouping of the same activity details (aggregated by receipt, with CUSTOMER_TRX_LINE_ID set to 0), which produces the group-level rows. In the line branch, the query restricts to LINE_TYPE = 'LINE', excludes APPLY_TO values of 'FREIGHT' and 'CHARGES', limits SOURCE_TABLE to 'RA', and requires CURRENT_ACTIVITY_FLAG to be 'Y'. The tax balance is attached through an outer join on the tax subquery.
Key Columns
- CASH_RECEIPT_ID — identifies the receipt whose line-level application is represented.
- CUSTOMER_TRX_LINE_ID — the transaction line applied; 0 in the aggregated group rows.
- ALLOCATED_RECEIPT_AMOUNT — the receipt amount allocated to the line or group.
- AMOUNT, TAX, AMOUNT_APPLIED — line amount, tax amount, and their sum (NVL(AMOUNT,0) + NVL(TAX,0)).
- LINE_DISCOUNT, TAX_DISCOUNT — discounts taken on the line and tax.
- GROUP_ID, GROUP_NAME, LINE_NUMBER, APPLY_TO — grouping identifier, source group name, line number, and apply-to indicator, exposed as character strings.
- LINE_BALANCE, TAX_BALANCE — remaining amount due on the line and tax, sourced from AMOUNT_DUE_REMAINING.
- CUSTOMER_TRX_ID — the transaction header the line belongs to.
- Standard audit and descriptive columns: CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY_MODULE, OBJECT_VERSION_NUMBER, ATTRIBUTE1–15, ATTRIBUTE_CATEGORY, and REFERENCE1–5.
Common Use Cases and Queries
Typical scenarios include reconciling receipts to invoice lines, reporting unapplied or partially applied lines, and auditing line-level application detail for cash application troubleshooting.
List line-level applications for a receipt:
- SELECT CUSTOMER_TRX_ID, CUSTOMER_TRX_LINE_ID, LINE_NUMBER, AMOUNT, TAX, AMOUNT_APPLIED, LINE_BALANCE, TAX_BALANCE FROM AR_LL_LINES_GROUPS_V WHERE CASH_RECEIPT_ID = :receipt_id ORDER BY CUSTOMER_TRX_LINE_ID;
Identify lines with a remaining balance after application:
- SELECT CASH_RECEIPT_ID, CUSTOMER_TRX_ID, LINE_NUMBER, LINE_BALANCE + NVL(TAX_BALANCE,0) BALANCE_DUE FROM AR_LL_LINES_GROUPS_V WHERE CUSTOMER_TRX_LINE_ID > 0 AND NVL(LINE_BALANCE,0) + NVL(TAX_BALANCE,0) > 0;
Aggregate applied amounts by transaction:
- SELECT CUSTOMER_TRX_ID, SUM(AMOUNT_APPLIED) TOTAL_APPLIED FROM AR_LL_LINES_GROUPS_V WHERE CUSTOMER_TRX_LINE_ID > 0 GROUP BY CUSTOMER_TRX_ID;
Because the view restricts APPLY_TO and SOURCE_TABLE and relies on the CURRENT_ACTIVITY_FLAG, queries return only current, RA-sourced line applications, making it suitable for point-in-time reconciliation without additional filtering.
-
View: AR_LL_LINES_GROUPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_LINES_GROUPS_V, object_name:AR_LL_LINES_GROUPS_V, status:VALID, product: AR - Receivables , description: Lines and Groups for Line-Level Cash Application , implementation_dba_data: APPS.AR_LL_LINES_GROUPS_V ,
-
View: AR_LL_LINES_GROUPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_LINES_GROUPS_V, object_name:AR_LL_LINES_GROUPS_V, status:VALID, product: AR - Receivables , description: Lines and Groups for Line-Level Cash Application , implementation_dba_data: APPS.AR_LL_LINES_GROUPS_V ,
-
PACKAGE BODY: APPS.AR_ACTIVITY_DETAILS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_ACTIVITY_DETAILS_PKG, status:VALID,
-
SYNONYM: APPS.AR_ACTIVITY_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_ACTIVITY_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.AR_ACTIVITY_DETAILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_ACTIVITY_DETAILS_PKG, status:VALID,
-
SYNONYM: APPS.AR_ACTIVITY_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_ACTIVITY_DETAILS, status:VALID,
-
View: AR_LL_FREIGHT_CHARGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_FREIGHT_CHARGES_V, object_name:AR_LL_FREIGHT_CHARGES_V, status:VALID, product: AR - Receivables , description: The AR_LL_LINES_GROUPS_V view is used by the Line-Level Cash Application form , implementation_dba_data: APPS.AR_LL_FREIGHT_CHARGES_V ,
-
VIEW: APPS.AR_LL_LINES_GROUPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_LINES_GROUPS_V, object_name:AR_LL_LINES_GROUPS_V, status:VALID,
-
View: AR_LL_FREIGHT_CHARGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_FREIGHT_CHARGES_V, object_name:AR_LL_FREIGHT_CHARGES_V, status:VALID, product: AR - Receivables , description: The AR_LL_LINES_GROUPS_V view is used by the Line-Level Cash Application form , implementation_dba_data: APPS.AR_LL_FREIGHT_CHARGES_V ,
-
VIEW: APPS.AR_LL_LINES_GROUPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LL_LINES_GROUPS_V, object_name:AR_LL_LINES_GROUPS_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
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,
-
APPS.AR_ACTIVITY_DETAILS_PKG dependencies on AR_LL_LINES_GROUPS_V
12.1.1
-
APPS.AR_ACTIVITY_DETAILS_PKG dependencies on AR_LL_LINES_GROUPS_V
12.2.2
-
APPS.AR_ACTIVITY_DETAILS_PKG SQL Statements
12.2.2
-
APPS.AR_ACTIVITY_DETAILS_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AR_ACTIVITY_DETAILS_PKG
12.2.2
-
PACKAGE BODY: APPS.AR_ACTIVITY_DETAILS_PKG
12.1.1
-
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 ,