Search Results oki_sales_k_headers_v
Overview
OKI_SALES_K_HEADERS_V is a reporting view belonging to the OKI (Contracts Intelligence) product family, a module that Oracle has designated as obsolete in Oracle E-Business Suite 12.1.1 and 12.2.2. The view exposes contract header information specifically filtered to contracts that carry a sell intent, providing a denormalized, query-friendly representation of sales-oriented contract data. Its primary purpose is to support analytical reporting and integration scenarios where sell-side contracts must be summarized by category, status, party, amount, and lifecycle dates without requiring the reporting layer to join the numerous underlying header and lookup tables directly.
The presence of STATUS_TYPE_CODE in the column list is significant, as this identifier is the attribute most frequently used to classify contracts along their lifecycle — for example distinguishing active, terminated, canceled, or expired contracts. Reporting consumers typically reference this column in filters and groupings to segment sales contracts by lifecycle state.
Underlying Base Objects
According to the ETRM metadata, no base objects are formally documented for this view, and the implementation is not present in the reference database. The view text, however, reveals the driving table as an alias SHD, which is the sales contract header table that supplies the majority of columns, including CHR_ID, CONTRACT_NUMBER, AUTHORING_ORG_ID, and all amount and date fields. Three lookup tables are joined to translate coded values into descriptive meanings:
SCS— resolvesSCS_CODEintoCATEGORY_MEANING.STS— resolvesSTS_CODEintoSTATUS_MEANINGand providesSTE_CODE, which is exposed asSTATUS_TYPE_CODE.STE— resolves the status type code intoSTATUS_TYPE_MEANING.TRN— resolvesTRN_CODEintoTERMINATION_MEANING.
The view therefore serves as a single join point that flattens contract header attributes together with their associated lookup descriptions, a common pattern in Contracts Intelligence reporting objects.
Key Columns
The view exposes several logical groupings of columns. Identifying attributes include CONTRACT_ID, CONTRACT_NUMBER, CONTRACT_NUMBER_MODIFIER, and COMPLETE_CONTRACT_NUMBER, along with AUTHORING_ORG_ID and ORGANIZATION_NAME. Classification attributes include CATEGORY_CODE/CATEGORY_MEANING and STATUS_CODE/STATUS_MEANING.
The STATUS_TYPE_CODE and its companion STATUS_TYPE_MEANING are the principal lifecycle descriptors, while TERMINATION_MEANING provides termination context. Party information is supplied through CUSTOMER_PARTY_ID and CUSTOMER_NAME. Financial measures include CONTRACT_AMOUNT, FORECAST_AMOUNT, CONTRACT_AMOUNT_RENEWED, and their set-of-books and base-currency equivalents, each defaulted to zero via NVL. Lifecycle dates include START_DATE, END_DATE, DATE_APPROVED, DATE_SIGNED, DATE_RENEWED, DATE_CANCELED, DATE_TERMINATED, and EXPECTED_CLOSE_DATE. Period, quarter, and year columns support time-based analytics, and the attribute columns provide descriptive flexibility. A documented defect maps ATTRIBUTE2 through ATTRIBUTE7 to the same source as ATTRIBUTE1, which should be accounted for in any query relying on descriptive flexfield attributes.
Common Use Cases and Queries
Typical usage includes sales pipeline reporting, contract lifecycle analysis, and revenue forecasting by organization or customer. A representative query grouping contracts by status type is:
SELECT STATUS_TYPE_CODE, STATUS_TYPE_MEANING, COUNT(*) FROM OKI_SALES_K_HEADERS_V GROUP BY STATUS_TYPE_CODE, STATUS_TYPE_MEANING;SELECT CONTRACT_NUMBER, CUSTOMER_NAME, CONTRACT_AMOUNT FROM OKI_SALES_K_HEADERS_V WHERE STATUS_TYPE_CODE = :p_status_type;SELECT START_YEAR, START_QUARTER, SUM(BASE_CONTRACT_AMOUNT) FROM OKI_SALES_K_HEADERS_V GROUP BY START_YEAR, START_QUARTER;
Because the module is obsolete, consumers should treat the view as read-only, avoid dependencies on the duplicated attribute columns, and validate column behavior against the actual database release prior to production reporting.
-
View: OKI_SALES_K_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_SALES_K_HEADERS_V, object_name:OKI_SALES_K_HEADERS_V, status:VALID, product: OKI - Contracts Intelligence , description: Information about contracts with the sell intent. , implementation_dba_data: APPS.OKI_SALES_K_HEADERS_V ,
-
View: OKI_SALES_K_HEADERS_V
12.2.2
product: OKI - Contracts Intelligence (Obsolete) , description: Information about contracts with the sell intent. , implementation_dba_data: Not implemented in this database ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.OKI_RNW_BY_STS_DTL_V
12.1.1
-
SYNONYM: APPS.OKI_SALES_K_HDRS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_SALES_K_HDRS, status:VALID,
-
View: OKI_RNW_BY_STS_DTL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_RNW_BY_STS_DTL_V, object_name:OKI_RNW_BY_STS_DTL_V, status:VALID, product: OKI - Contracts Intelligence , description: Summarized information about renewal contracts, by status and General Ledger period. , implementation_dba_data: APPS.OKI_RNW_BY_STS_DTL_V ,
-
SYNONYM: APPS.OKC_K_HEADERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_TL, status:VALID,
-
View: OKI_RNW_BY_STS_DTL_V
12.2.2
product: OKI - Contracts Intelligence (Obsolete) , description: Summarized information about renewal contracts, by status and General Ledger period. , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.OKI_RNW_BY_STS_DTL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_RNW_BY_STS_DTL_V, object_name:OKI_RNW_BY_STS_DTL_V, status:VALID,
-
VIEW: APPS.OKC_SUBCLASSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_SUBCLASSES_V, object_name:OKC_SUBCLASSES_V, status:VALID,
-
VIEW: APPS.OKC_STATUSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_STATUSES_V, object_name:OKC_STATUSES_V, status:VALID,
-
eTRM - OKI Tables and Views
12.1.1
description: Holds information about the value of renewed contracts on a historical basis. ,
-
VIEW: APPS.OKI_SALES_K_NEW_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_SALES_K_NEW_V, object_name:OKI_SALES_K_NEW_V, status:VALID,
-
VIEW: APPS.OKI_SALES_K_RENEW_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_SALES_K_RENEW_V, object_name:OKI_SALES_K_RENEW_V, status:VALID,
-
VIEW: APPS.OKI_SALES_K_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKI.OKI_SALES_K_HEADERS_V, object_name:OKI_SALES_K_HEADERS_V, status:VALID,
-
PACKAGE: APPS.OKC_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_UTIL, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS_TL, status:VALID,
-
eTRM - OKI Tables and Views
12.1.1
description: Holds information about the value of renewed contracts on a historical basis. ,
-
VIEW: APPS.FND_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,