Results for “csm_party_event_pkg”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.CSM_PARTY_EVENT_PKG is a server-side PL/SQL package in Oracle E-Business Suite that supports the Oracle Customer Data Management (CDM) / Customer Relationship Management (CRM) "parties" architecture. Its role is to maintain the relationship between HZ_PARTIES and HZ_PARTY_SITES records and the user-specific "accessed" tracking tables used by the CRM application, and to drive workflow events, purge processing, and incident-related access records through the CSM access (CSM_*_ACC) tables. The package body defines constants that map source tables (HZ_PARTIES, HZ_PARTY_SITES) to their corresponding access tables (CSM_PARTIES_ACC, CSM_PARTY_SITES_ACC), their sequences (CSM_PARTIES_ACC_S, CSM_PARTY_SITES_ACC_S), and their publication items (CSF_M_PARTIES, CSF_M_PARTY_SITES). These constants show that the package is part of the mechanism that replicates party data into secured, user-scoped access records for CRM synchronization and visibility control. In Oracle EBS 12.1.1 and 12.2.2 the package is part of the APPS schema and is classified generically as "OTHER" in the ETRM repository, indicating it is a supporting utility rather than a public customer-facing API.
Key Procedures and Functions
The documented package exposes four procedures and functions:
- PARTY_ACC_I — creates (inserts) the access record associated with a party or party site, invoked when a party needs to be registered against a user's accessible data set. The excerpt shows it validates the return status using FND_API.G_RET_STS_SUCCESS, following the standard EBS API error-handling convention.
- PARTY_ACC_D — the counterpart deletion routine, removing access records when party access is revoked or when the parent party is deleted.
- PARTY_ORG_UPD_WF_EVENT_SUB — a workflow event subscription handler invoked by the Workflow engine when a party/organization update event is raised. It allows the package to react to party modification events by synchronizing access data.
- PURGE_PARTY_CONC — a concurrent-program entry point used to purge obsolete party access records, typically scheduled as a housekeeping job.
The private helper INSERT_PARTIES_ACC in the body demonstrates the insertion pattern, populating CSM_PARTIES_ACC with the party ID, user ID, audit columns from FND_GLOBAL, an access_id from CSM_PARTIES_ACC_S, and a counter value.
Tables Accessed
The package references a range of APPS-synonym tables. Party and party-site source data is read from HZ_PARTIES and HZ_PARTY_SITES. Access-tracking and security data is written to or read from CSM_PARTIES_ACC, CSM_PARTIES_ACC_S (sequence), CSM_PARTY_SITES_ACC, CSM_INCIDENTS_ALL_ACC, and CSM_SR_CONTACTS_ACC. Incident-related records are handled via CS_INCIDENTS_ALL_B, CS_HZ_SR_CONTACT_POINTS, and CSM_INCIDENTS_ALL_ACC, which together provide the link between service requests, contacts, and party access. Workflow event integration uses WF_EVENT_T, and JTM_CON_REQUEST_DATA and PLITBLM support the concurrent/request context and bulk processing. User identity is resolved through FND_USER. Collectively these tables indicate the package bridges Customer Data Management party data, CRM incident/SR data, and workflow-driven event synchronization.
Usage Notes
CSM_PARTY_EVENT_PKG is generally not invoked directly by end users. It is called from the CRM/CDM application logic, from Workflow subscriptions (via PARTY_ORG_UPD_WF_EVENT_SUB), and from concurrent programs (via PURGE_PARTY_CONC). Because it is referenced by three other packages and manipulates the access tables that enforce row-level security for CRM users, changes to this package can affect CRM data visibility, incident contact resolution, and the CSF_M_PARTIES/CSF_M_PARTY_SITES publication items. Customizations should treat it as an internal supporting package and avoid direct dependency; extensions should instead use documented HZ_PARTIES and CS incident APIs. The user search term "cs_incidents_u1" likely relates to an index on the CS_INCIDENTS_ALL table referenced through CS_INCIDENTS_ALL_B and CSM_INCIDENTS_ALL_ACC in this package's access-tracking logic.
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: APPS.WF_EVENT_T 12.2.2
-
TYPE: APPS.WF_EVENT_T 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.2.2