Results for “csc_cust_plans_audit_v”

26 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The CSC_CUST_PLANS_AUDIT_V view is an APPS-owned database view within the CSC (Customer Care) product module of Oracle E-Business Suite, valid in both 12.1.1 and 12.2.2. It exposes audit information for customer plans maintained by the Customer Care application. The view is defined over the CSC_CUST_PLANS_AUDIT base table and is documented as being used within the lock row event of server-side APIs, meaning it primarily supports programmatic access to plan audit records rather than end-user reporting directly. Its design reinforces the audit trail semantics of the underlying table while enriching the raw audit rows with descriptive attributes drawn from related plan, party, customer account, lookup, and user objects, so that developers and integrators can present audit data in a human-readable and referentially meaningful form.

Underlying Base Objects

The view is constructed by joining the audit table CSC_CUST_PLANS_AUDIT (referenced through a synonym) to several supporting objects. CSC_PLAN_HEADERS_VL supplies the plan name and plan group code, while CSC_LOOKUPS is joined twice to translate the plan group code and plan status code into their descriptive meanings under the lookup types CSC_PLAN_GROUP and CSC_PLAN_STATUS. FND_USER provides the user name for the last updater. HZ_PARTIES and HZ_CUST_ACCOUNTS supply party number, party name, party type, account number, and account name. All base references are documented as synonyms or views in the APPS schema, and the joins form the row-level context for each audit entry. Notably, the joins to CSC_LOOKUPS for the plan group code are outer joins (denoted by the (+) operator), so plans lacking a matching group code are still returned.

Key Columns

Common Use Cases and Queries

Typical usage centres on tracing who changed a customer plan, when, and to what status, while simultaneously surfacing party and account context. Because the view is used in the lock row event of server-side APIs, it may be queried to retrieve the current ROW_ID for concurrency control. A representative query returning recent audit entries for a given plan is:

SELECT plan_id, plan_name, plan_status_meaning, party_name, account_number, user_name, last_update_date FROM csc_cust_plans_audit_v WHERE plan_id = :p_plan_id ORDER BY last_update_date DESC;

Analysts may also filter by status meaning or group name to reconcile plan state transitions, or join the view back to CSC_CUST_PLANS_AUDIT for the full audit history. Integration code commonly selects ROW_ID alongside OBJECT_VERSION_NUMBER before performing an update, ensuring that the locked row has not been modified by another session.