Search Results activity_class
Overview
AR_CM_ACTIVITIES_V is a Receivables (AR) reporting view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It consolidates credit memo activity against a customer into a single, denormalized result set, presenting both credit memo applications and credit memo adjustments as unified "activities." The view is structured as a UNION ALL of two branches: the first selects applied credit memos from AR_RECEIVABLE_APPLICATIONS where STATUS is 'APP', APPLICATION_TYPE is 'CM', and DISPLAY is 'Y'; the second selects credit memo adjustments from AR_ADJUSTMENTS. Because it joins AR_PAYMENT_SCHEDULES to these transaction sources, each row carries the full original and remaining financial footprint of the target payment schedule alongside the applied or adjusted amount. Its primary role is to support inquiry, reconciliation, and custom reporting on how credit memos reduce open receivables, and it is commonly consumed by embedded analytics forms, Discoverer workbooks, and third-party integrations that need a normalized activity stream.
Underlying Base Objects
Per the documented view metadata, AR_CM_ACTIVITIES_V is defined over the following referenced base objects:
- AR_PAYMENT_SCHEDULES (SYNONYM) — supplies the payment schedule context (customer, transaction, class, terms sequence, and the amount columns).
- AR_RECEIVABLE_APPLICATIONS (SYNONYM) — drives the "CM APPLICATION" branch, providing applied amounts, application dates, and applied payment schedule identifiers.
- AR_ADJUSTMENTS (SYNONYM) — drives the "CM ADJUSTMENT" branch, providing adjustment numbers, statuses, and amounts.
- ARPT_SQL_FUNC_UTIL (PACKAGE) — called through ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING to translate lookup codes such as INV/CM class, payment type/status, and approval type into displayable meanings.
The join in the application branch links APP.APPLIED_PAYMENT_SCHEDULE_ID to PS.PAYMENT_SCHEDULE_ID, tying each applied credit memo to the schedule it reduces. The adjustment branch links ADJ.PAYMENT_SCHEDULE_ID to the corresponding payment schedule. The two branches are combined with UNION ALL, preserving row-level activity detail rather than aggregating it.
Key Columns
- CUSTOMER_ID — customer associated with the payment schedule.
- ACTIVITY_SOURCE — literal ('CM APPLICATION' or 'CM ADJUSTMENT') identifying the activity origin.
- PAYMENT_SCHEDULE_ID / CUSTOMER_TRX_ID — payment schedule and transaction identifiers for the affected receivable.
- ACTIVITY_PS_ID, ACTIVITY_ID, ACTIVITY_NUMBER — identifiers and number of the applied payment schedule or adjustment.
- ACTIVITY_CLASS and its lookup meaning — class of the activity (for example, credit memo or 'ADJ').
- ACTIVITY_TSN — terms sequence number of the activity.
- ACTIVITY_DATE — APPLY_DATE of the application or adjustment.
- ACTIVITY_AMOUNT — AMOUNT_APPLIED for applications, or ADJ.AMOUNT for adjustments.
- ORIGINAL_AMOUNT, REMAINING_AMOUNT — original and remaining amounts due on the payment schedule.
- LINE_AMOUNT — mapped to NVL(PS.AMOUNT_LINE_ITEMS_ORIGINAL, 0); the original line-item amount of the schedule, coalesced to zero when null.
- TAX_AMOUNT, FREIGHT_AMOUNT, CHARGES_AMOUNT — original tax, freight, and receivables charges, each NVL-protected.
- TOTAL_AMOUNT — computed sum of LINE_AMOUNT, FREIGHT_AMOUNT, TAX_AMOUNT, and CHARGES_AMOUNT.
Users searching for line_amount will find it as the view's alias for PS.AMOUNT_LINE_ITEMS_ORIGINAL. It represents the line-item portion only, exclusive of tax, freight, and charges; the TOTAL_AMOUNT column reconstructs the full gross amount.
Common Use Cases and Queries
Typical scenarios include reconciling credit memos applied to invoices, analyzing line, tax, and freight composition of affected schedules, and feeding activity data into custom reports. A representative query returning line-level detail is:
SELECT customer_id, activity_source, activity_number, activity_date, activity_amount, line_amount, tax_amount, freight_amount, charges_amount, total_amount FROM apps.ar_cm_activities_v WHERE customer_id = :p_customer_id ORDER BY activity_date;
To isolate credit memo applications only:
SELECT activity_number, activity_amount, line_amount, remaining_amount FROM apps.ar_cm_activities_v WHERE activity_source = 'CM APPLICATION' AND line_amount > 0;
To compare applied amounts against the original line composition for a transaction, filter on customer_trx_id and aggregate ACTIVITY_AMOUNT against TOTAL_AMOUNT. Because the view is not aggregated, callers should apply their own GROUP BY when summarizing, and should restrict results by CUSTOMER_ID or transaction identifiers to avoid full scans of the underlying synonym tables.
-
View: AR_CM_ACTIVITIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CM_ACTIVITIES_V, object_name:AR_CM_ACTIVITIES_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CM_ACTIVITIES_V ,
-
View: AR_CM_ACTIVITIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CM_ACTIVITIES_V, object_name:AR_CM_ACTIVITIES_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CM_ACTIVITIES_V ,
-
VIEW: APPS.AR_CM_ACTIVITIES_V
12.1.1
-
VIEW: APPS.AR_CM_ACTIVITIES_V
12.2.2
-
VIEW: APPS.AR_CM_ACTIVITIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CM_ACTIVITIES_V, object_name:AR_CM_ACTIVITIES_V, status:VALID,
-
VIEW: APPS.AR_CM_ACTIVITIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CM_ACTIVITIES_V, object_name:AR_CM_ACTIVITIES_V, status:VALID,
-
PACKAGE BODY: APPS.OZF_TP_UTIL_QUERIES
12.1.1
-
PACKAGE BODY: APPS.OZF_TP_UTIL_QUERIES
12.2.2
-
PACKAGE: APPS.OZF_TP_UTIL_QUERIES
12.1.1
-
PACKAGE: APPS.OZF_TP_UTIL_QUERIES
12.2.2
-
APPS.OZF_TP_UTIL_QUERIES dependencies on QP_LIST_HEADERS_TL
12.2.2
-
APPS.OZF_TP_UTIL_QUERIES dependencies on AMS_CAMPAIGNS_ALL_TL
12.1.1
-
APPS.OZF_TP_UTIL_QUERIES dependencies on AMS_CAMPAIGN_SCHEDULES_TL
12.1.1
-
APPS.OZF_TP_UTIL_QUERIES dependencies on QP_LIST_HEADERS_TL
12.1.1
-
APPS.OZF_TP_UTIL_QUERIES dependencies on AMS_CAMPAIGNS_ALL_TL
12.2.2
-
APPS.OZF_TP_UTIL_QUERIES dependencies on AMS_CAMPAIGN_SCHEDULES_TL
12.2.2
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,