Search Results okc_k_rel_objs
Overview
OKC_K_REL_OBJS is a Contracts Core (OKC) intersection table that links a contract header or contract line to other objects elsewhere in the E-Business Suite schema in a predefined manner. It is the physical realization of the contracts "related objects" model, allowing a single contract to be associated with external entities such as orders, projects, customers, or other contracts, and allowing those associations to be typed by a relationship code so that the semantics of each link are explicit rather than inferred.
Because each row carries both an owning contract reference (through CHR_ID or CLE_ID) and a pointer to an external object (through OBJECT1_ID1, OBJECT1_ID2, and JTOT_OBJECT1_CODE), the table functions as a junction between the contracts domain and the rest of the application schema. The documented primary key, OKC_K_REL_OBJS_PK, is defined on the ID column, and an additional unique index, OKC_CONTRACT_REL_OBJS_U1, is also defined on ID. Under the heuristic Data Vault classification mined from the foreign-key structure, this object is best modeled as a link: it records relationships between hubs (contracts and their related objects) rather than descriptive attributes of a single business entity.
Key Information Stored
The table is documented with 30 columns. The most significant are:
- ID — surrogate primary key, enforced by OKC_K_REL_OBJS_PK and by the unique index OKC_CONTRACT_REL_OBJS_U1. This is the technical identifier of the relationship row itself.
- CHR_ID — foreign key to OKC_K_HEADERS_B, identifying the contract header that owns the relationship.
- CLE_ID — foreign key to OKC_K_LINES_B, identifying the contract line that owns the relationship.
- RTY_CODE — the relationship type code, which defines the predefined manner in which the linked object is associated with the contract.
- JTOT_OBJECT1_CODE — the object type code describing the class of the referenced external object.
- OBJECT1_ID1 and OBJECT1_ID2 — the composite identifier values that locate the referenced object within its own domain.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the Oracle Applications framework during concurrent updates.
- SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, supporting multi-organization and security-group access control.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard WHO columns tracking row creation and change auditing.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — the DFF (descriptive flexfield) columns reserved for customer-specific extension of relationship data.
Note that neither CHR_ID, CLE_ID, nor SECURITY_GROUP_ID is documented as a uniqueness constraint; the only business-key candidate listed is the ID column itself. Therefore the business uniqueness of a contract-to-object association is governed by the relationship type (RTY_CODE) and the object reference columns, not by a single database constraint.
Common Use Cases and Queries
Typical reporting needs centre on enumerating everything related to a given contract, or conversely finding all contracts tied to a specific external object. A header-level query joins OKC_K_HEADERS_B to this table on CHR_ID; a line-level variant joins OKC_K_LINES_B on CLE_ID. Because both keys are nullable by usage pattern, most queries filter explicitly on the level required.
SELECT r.ID, r.RTY_CODE, r.JTOT_OBJECT1_CODE,
r.OBJECT1_ID1, r.OBJECT1_ID2
FROM OKC.OKC_K_REL_OBJS r
WHERE r.CHR_ID = :contract_header_id;
A second pattern locates the owning contracts for a known external object, driving from JTOT_OBJECT1_CODE plus OBJECT1_ID1/ID2 and joining back to the header or line. A third pattern lists all relationships of a single type for a contract portfolio, using RTY_CODE as the discriminator. Security-conscious queries should also restrict on SECURITY_GROUP_ID, and DFF reporting can pivot on ATTRIBUTE_CATEGORY with the ATTRIBUTE1–15 columns.
Related Objects
The documented foreign keys and ownership relationships identify the following significant objects:
- OKC_K_HEADERS_B — the contract header table; joined via OKC_K_REL_OBJS.CHR_ID.
- OKC_K_LINES_B — the contract line table; joined via OKC_K_REL_OBJS.CLE_ID.
- FND_SECURITY_GROUPS — the security group table; joined via OKC_K_REL_OBJS.SECURITY_GROUP_ID.
- OKC_K_HEADERS_B / OKC_K_LINES_B via the OKC Contracts APIs (OKC_CONTRACT_PUB and related PL/SQL packages) — the supported programmatic path for creating and maintaining relationship rows rather than direct DML.
Because OBJECT1_ID1 and OBJECT1_ID2 are generic reference columns rather than enforced foreign keys, the set of downstream objects varies by RTY_CODE and JTOT_OBJECT1_CODE and must be resolved against the object type definition rather than assumed from the schema.
-
Table: OKC_K_REL_OBJS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_REL_OBJS, object_name:OKC_K_REL_OBJS, status:VALID, product: OKC - Contracts Core , description: An intersection entity which links a contract header or line to other objects in the schema in a predefined manner. , implementation_dba_data: OKC.OKC_K_REL_OBJS ,
-
Table: OKC_K_REL_OBJS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_REL_OBJS, object_name:OKC_K_REL_OBJS, status:VALID, product: OKC - Contracts Core , description: An intersection entity which links a contract header or line to other objects in the schema in a predefined manner. , implementation_dba_data: OKC.OKC_K_REL_OBJS ,
-
APPS.OKC_CRJ_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKC_REL_OBJ_OPP_HEADERS_V
12.1.1
-
VIEW: APPS.OKC_REL_OBJ_OPP_HEADERS_V
12.2.2
-
VIEW: APPS.OKC_REL_OBJ_QUOTE_HEADERS_V
12.1.1
-
VIEW: OKC.OKC_K_REL_OBJS#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_K_REL_OBJS#, status:VALID,
-
APPS.OKC_CRJ_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKC_REL_OBJ_QUOTE_HEADERS_V
12.2.2
-
VIEW: APPS.OKC_REL_OBJ_ORDER_HEADERS_V
12.1.1
-
VIEW: APPS.OKL_LA_SERV_INTGR_UV
12.1.1
-
View: OKC_K_REL_OBJS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_REL_OBJS_V, object_name:OKC_K_REL_OBJS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_K_REL_OBJS , implementation_dba_data: APPS.OKC_K_REL_OBJS_V ,
-
VIEW: APPS.OKL_LA_SERV_INTGR_UV
12.2.2
-
View: OKC_K_REL_OBJS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_REL_OBJS_V, object_name:OKC_K_REL_OBJS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_K_REL_OBJS , implementation_dba_data: APPS.OKC_K_REL_OBJS_V ,
-
VIEW: APPS.OKC_REL_OBJ_ORDER_HEADERS_V
12.2.2
-
VIEW: APPS.OKS_BILLING_HISTORY_V
12.2.2
-
VIEW: APPS.OKC_K_REL_OBJS_V
12.2.2
-
VIEW: OKC.OKC_K_REL_OBJS#
12.2.2
-
VIEW: APPS.OKL_PYMTS_SERVICE_INSTS_UV
12.1.1
-
VIEW: APPS.OKC_K_REL_OBJS_V
12.1.1
-
VIEW: APPS.OKL_PYMTS_SERVICE_INSTS_UV
12.2.2
-
APPS.OKC_OPPORTUNITY_PVT SQL Statements
12.1.1
-
APPS.OKC_OPPORTUNITY_PVT SQL Statements
12.2.2
-
APPS.OKS_MISC_UTIL_WEB SQL Statements
12.2.2
-
APPS.OKS_MISC_UTIL_WEB SQL Statements
12.1.1
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
View: OKL_LA_SERV_INTGR_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_LA_SERV_INTGR_UV, object_name:OKL_LA_SERV_INTGR_UV, status:VALID, product: OKL - Lease and Finance Management , description: OKL Service Integration Page View , implementation_dba_data: APPS.OKL_LA_SERV_INTGR_UV ,
-
VIEW: APPS.OKS_BILLING_HISTORY_V
12.1.1
-
VIEW: APPS.OKL_LA_COV_ASSET_UV
12.1.1
-
VIEW: APPS.OKL_LA_COV_ASSET_UV
12.2.2
-
View: OKL_LA_SERV_INTGR_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_LA_SERV_INTGR_UV, object_name:OKL_LA_SERV_INTGR_UV, status:VALID, product: OKL - Leasing and Finance Management , description: OKL Service Integration Page View , implementation_dba_data: APPS.OKL_LA_SERV_INTGR_UV ,
-
PACKAGE: APPS.OKC_WF_K_APPROVE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_WF_K_APPROVE, status:VALID,
-
PACKAGE: APPS.OKC_WF_K_APPROVE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_WF_K_APPROVE, status:VALID,
-
APPS.OKC_CREATE_PO_FROM_K_PVT SQL Statements
12.1.1
-
APPS.OKC_CREATE_PO_FROM_K_PVT SQL Statements
12.2.2
-
View: OKC_REL_OBJ_OPP_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REL_OBJ_OPP_HEADERS_V, object_name:OKC_REL_OBJ_OPP_HEADERS_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_REL_OBJ_OPP_HEADERS_V ,
-
VIEW: APPS.OKL_FEE_SERVICE_STRMS_UV
12.1.1
-
VIEW: APPS.OKL_FEE_SERVICE_STRMS_UV
12.2.2
-
PACKAGE: APPS.OKS_WF_K_APPROVE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_WF_K_APPROVE, status:VALID,
-
PACKAGE: APPS.OKS_WF_K_APPROVE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_WF_K_APPROVE, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_KTQ_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTQ_PVT, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_KTQ_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTQ_PVT, status:VALID,
-
View: OKC_REL_OBJ_QUOTE_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REL_OBJ_QUOTE_HEADERS_V, object_name:OKC_REL_OBJ_QUOTE_HEADERS_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_REL_OBJ_QUOTE_HEADERS_V ,
-
View: OKC_REL_OBJ_QUOTE_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REL_OBJ_QUOTE_HEADERS_V, object_name:OKC_REL_OBJ_QUOTE_HEADERS_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_REL_OBJ_QUOTE_HEADERS_V ,
-
View: OKC_REL_OBJ_OPP_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_REL_OBJ_OPP_HEADERS_V, object_name:OKC_REL_OBJ_OPP_HEADERS_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_REL_OBJ_OPP_HEADERS_V ,
-
APPS.OKS_BILL_MIGRATION SQL Statements
12.2.2
-
APPS.OKS_BILLING_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.OKC_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_KTO_PVT, status:VALID,