Search Results okc_contacts_v
Overview
OKC_CONTACTS_V is a concurrent-safe, dictionary-managed view owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the OKC (Contracts Core) product family and exists to present the rows of the base table OKC_CONTACTS with one important enrichment: the coded contact role is translated into a user-facing meaning through a lookup join. The view is documented in ETRM with a status of VALID, which indicates the definition is parsed and usable by the database. Reporting layers, contract authoring pages, and integration interfaces that need to render or extract contract contact data without carrying the raw lookup code typically query this view instead of the underlying table.
The view's defining query joins OKC_CONTACTS to FND_LOOKUPS on the condition that the lookup type equals 'OKC_CONTACT_ROLE' and the stored CRO_CODE equals the lookup code. As a result, each returned row contains all contact attributes plus a derived ROLE column holding the lookup MEANING rather than the internal code. This pattern is standard throughout EBS: coded values are exposed alongside their descriptions for display and reporting convenience.
Underlying Base Objects
The documented referenced objects for OKC_CONTACTS_V are OKC_CONTACTS (accessed through a synonym), FND_LOOKUPS (a view over the application lookup tables), and the FND_GLOBAL package. OKC_CONTACTS stores the contract contact assignment records, including the role code, the owning contract identifier, ordering sequence, effective dates, primary indicator, resource classification, and the standard EBS who-columns plus fifteen descriptive attributes.
The relationship to FND_LOOKUPS is expressed as an inner join in the view text, which means a contact row is only returned when a matching OKC_CONTACT_ROLE lookup code exists. FND_GLOBAL is referenced by EBS views of this generation to resolve session context, such as the current user and responsibility, in support of multi-org and auditing behavior. The view does not contain a WHERE clause restricting by DNZ_CHR_ID or date range, so filtering remains the responsibility of the calling query.
Key Columns
- ROW_ID — the base table ROWID, used for direct row addressing in DML-through-view scenarios.
- ID — primary identifier of the contact record within OKC_CONTACTS.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the OA Framework to detect concurrent updates.
- CPL_ID — the party or contact point identifier linking to the contact directory entry.
- CRO_CODE — the raw contract role code stored in the base table.
- ROLE — the lookup MEANING resolved from FND_LOOKUPS for lookup type OKC_CONTACT_ROLE.
- DNZ_CHR_ID — the contract header identifier to which the contact is attached.
- CONTACT_SEQUENCE — the display or processing order of the contact within the contract.
- OBJECT1_ID1, OBJECT1_ID2, JTOT_OBJECT1_CODE — the generic party relationship and object-type reference used by the JTOT party model.
- START_DATE, END_DATE — the effective dating window for the assignment.
- PRIMARY_YN — flag identifying the primary contact for the contract.
- RESOURCE_CLASS, SALES_GROUP_ID — resource and sales group classification attributes.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–ATTRIBUTE15 — the standard DFF (descriptive flexfield) columns.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard EBS audit who-columns.
Common Use Cases and Queries
Typical usage includes contract contact listings for a given contract, extraction of primary contact details for notifications, and integration feeds that require the human-readable role description. The following query returns all contacts for a contract along with the resolved role:
SELECT c.id, c.dnz_chr_id, c.cpl_id, c.role, c.primary_yn, c.start_date, c.end_date FROM apps.okc_contacts_v c WHERE c.dnz_chr_id = :p_contract_id ORDER BY c.primary_yn DESC, c.contact_sequence;SELECT c.role, COUNT(*) FROM apps.okc_contacts_v c WHERE c.dnz_chr_id = :p_contract_id GROUP BY c.role;SELECT c.id, c.cpl_id, c.role FROM apps.okc_contacts_v c WHERE c.primary_yn = 'Y' AND TRUNC(SYSDATE) BETWEEN c.start_date AND NVL(c.end_date, SYSDATE);
Because the role join is an inner join against FND_LOOKUPS, contacts whose CRO_CODE has no active OKC_CONTACT_ROLE lookup entry are excluded from the view; queries requiring every base-table row should select from OKC_CONTACTS directly. The view is read-oriented in practice, and applications perform contact maintenance against the base table.
-
View: OKC_CONTACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_V, object_name:OKC_CONTACTS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTACTS , implementation_dba_data: APPS.OKC_CONTACTS_V ,
-
View: OKC_CONTACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONTACTS_V, object_name:OKC_CONTACTS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTACTS , implementation_dba_data: APPS.OKC_CONTACTS_V ,
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.1.1
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.2.2
-
View: OKC_K_SALES_AGRMNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
View: OKC_K_SALES_AGRMNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
APPS.OKC_CONTRACT_PARTY_PVT SQL Statements
12.1.1
-
APPS.OKC_CONTRACT_PARTY_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKS_REPNAME_V
12.2.2
-
VIEW: APPS.OKS_RESOURCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_V, object_name:OKS_RESOURCES_V, status:VALID,
-
VIEW: APPS.OKS_RESOURCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RESOURCES_V, object_name:OKS_RESOURCES_V, status:VALID,
-
VIEW: APPS.OKS_REPNAME_V
12.1.1
-
VIEW: APPS.OKS_VRM_HEADERS_V
12.2.2
-
PACKAGE: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE: APPS.OKL_VP_JTF_PARTY_NAME_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_VP_JTF_PARTY_NAME_PVT, status:VALID,
-
PACKAGE: APPS.OKL_JTOT_CONTACT_EXTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_JTOT_CONTACT_EXTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREAT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_PARTY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE: APPS.OKL_VP_JTF_PARTY_NAME_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_VP_JTF_PARTY_NAME_PVT, status:VALID,
-
PACKAGE: APPS.OKL_JTOT_CONTACT_EXTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_JTOT_CONTACT_EXTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_JTOT_CONTACT_EXTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_JTOT_CONTACT_EXTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_VP_JTF_PARTY_NAME_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_JTF_PARTY_NAME_PVT, status:VALID,
-
PACKAGE: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_JTOT_CONTACT_EXTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_JTOT_CONTACT_EXTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_VP_JTF_PARTY_NAME_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_JTF_PARTY_NAME_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_PARTY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_VENDOR_AGREEMENT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_VENDOR_AGREEMENT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
View: OKS_REPNAME_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPNAME_V, object_name:OKS_REPNAME_V, status:VALID, product: OKS - Service Contracts , description: This View is Used for Service Contracts Summary Report , implementation_dba_data: APPS.OKS_REPNAME_V ,
-
PACKAGE BODY: APPS.OKL_BPD_ADVANCED_BILLING_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_BPD_ADVANCED_BILLING_PVT, status:VALID,
-
View: OKS_REPNAME_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPNAME_V, object_name:OKS_REPNAME_V, status:VALID, product: OKS - Service Contracts , description: This View is Used for Service Contracts Summary Report , implementation_dba_data: APPS.OKS_REPNAME_V ,
-
PACKAGE BODY: APPS.OKL_BPD_ADVANCED_BILLING_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_BPD_ADVANCED_BILLING_PVT, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_WEB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_WEB, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_ARINTF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_ARINTF_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_WEB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_WEB, status:VALID,
-
PACKAGE BODY: APPS.OKL_LOSS_PROV_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_LOSS_PROV_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_LOSS_PROV_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_LOSS_PROV_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CTC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CTC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CTC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CTC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_WF, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_WF, status:VALID,