Search Results contract_status_code
Overview
OKS_ENT_HDR_SUMMARY_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, defined within the OKS (Service Contracts) product family. As documented in ETRM for releases 12.1.1 and 12.2.2, the view "holds all the service contracts summary and party information," presenting a denormalized, flattened projection of service contract headers joined to their associated party roles. Its purpose is to simplify access to contract-level attributes — including the contract number, amount, currency, status, effective dates, and customer party identifier — without requiring report authors or integration developers to navigate the multi-table structure of the underlying OKC (Contracts Core) schema.
The view is particularly relevant to users searching on "contract_amount," because it exposes the estimated amount stored on the contract header under the alias CONTRACT_AMOUNT. It effectively serves as a lightweight, read-only interface for service contract summary reporting, dashboards, and external integrations that need contract header data combined with customer identification in a single query.
Underlying Base Objects
The view is defined over three documented base objects (referenced via APPS synonyms): OKC_K_HEADERS_ALL_B, OKC_K_PARTY_ROLES_B, and OKC_SUBCLASSES_B. The ETRM view text confirms the join structure using OKC_K_HEADERS_V (HDR), OKC_K_PARTY_ROLES_B (PTY), and OKC_SUBCLASSES_V (CLS). Header records are linked to party roles on HDR.ID = PTY.CHR_ID, and the subclass is matched on HDR.SCS_CODE = CLS.CODE. Two important filters restrict the result set: only non-template contracts are returned (HDR.TEMPLATE_YN = 'N'), and only rows belonging to the SERVICE subclass are included (CLS.CLS_CODE = 'SERVICE'). Additionally, only party roles of type CUSTOMER or SUBSCRIBER are considered, ensuring that each returned contract row carries the relevant external party. Because the view joins a header to party roles, a contract with multiple qualifying roles may appear more than once.
Key Columns
- CONTRACT_ID — Surrogate identifier of the contract header (HDR.ID).
- CONTRACT_NUMBER / CONTRACT_NUMBER_MODIFIER — The user-visible contract number and its version or modifier suffix.
- CONTRACT_AMOUNT — The estimated contract amount (HDR.ESTIMATED_AMOUNT); the column most commonly used in amount-based reporting.
- CURRENCY_CODE — Currency in which the contract amount is expressed.
- CONTRACT_STATUS_CODE — The contract status (HDR.STS_CODE), such as active, expired, or entered.
- START_DATE_ACTIVE / END_DATE_ACTIVE — Contract effective start and end dates.
- PARTY_ID — Identifier of the associated customer or subscriber party (PTY.OBJECT1_ID1).
Common Use Cases and Queries
Typical use cases include contract value summaries, customer-to-contract listings, currency exposure analysis, and status/date-driven reporting on active service agreements. The view is well suited to concurrent programs, BIPublisher data models, and outbound interfaces.
The following query lists active service contracts with their amount and party:
- SELECT contract_number, contract_amount, currency_code, start_date_active, end_date_active FROM oks_ent_hdr_summary_v WHERE contract_status_code = 'ACTIVE' ORDER BY contract_amount DESC;
- SELECT party_id, SUM(contract_amount) total_value FROM oks_ent_hdr_summary_v GROUP BY party_id;
- SELECT contract_number, contract_amount FROM oks_ent_hdr_summary_v WHERE currency_code = 'USD' AND start_date_active >= SYSDATE;
Because the view is read-only and filtered to non-template SERVICE contracts, it should not be used for data manipulation or for retrieving non-service agreements.
-
View: OKS_ENT_HDR_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HDR_SUMMARY_V, object_name:OKS_ENT_HDR_SUMMARY_V, status:VALID, product: OKS - Service Contracts , description: This holds all the service contracts summary and party information. , implementation_dba_data: APPS.OKS_ENT_HDR_SUMMARY_V ,
-
View: OKS_ENT_K_STATUS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_K_STATUS_V, object_name:OKS_ENT_K_STATUS_V, status:VALID, product: OKS - Service Contracts , description: Lists all Statuses of the Contract , implementation_dba_data: APPS.OKS_ENT_K_STATUS_V ,
-
View: OKS_ENT_K_STATUS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_K_STATUS_V, object_name:OKS_ENT_K_STATUS_V, status:VALID, product: OKS - Service Contracts , description: Lists all Statuses of the Contract , implementation_dba_data: APPS.OKS_ENT_K_STATUS_V ,
-
View: OKS_ENT_HDR_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HDR_SUMMARY_V, object_name:OKS_ENT_HDR_SUMMARY_V, status:VALID, product: OKS - Service Contracts , description: This holds all the service contracts summary and party information. , implementation_dba_data: APPS.OKS_ENT_HDR_SUMMARY_V ,
-
View: OKS_EXPIRED_CONTRACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_EXPIRED_CONTRACTS_V, object_name:OKS_EXPIRED_CONTRACTS_V, status:VALID, product: OKS - Service Contracts , description: View for Expired COntracts , implementation_dba_data: APPS.OKS_EXPIRED_CONTRACTS_V ,
-
View: OKS_ENT_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HEADERS_V, object_name:OKS_ENT_HEADERS_V, status:VALID, product: OKS - Service Contracts , description: View of all contracts , implementation_dba_data: APPS.OKS_ENT_HEADERS_V ,
-
View: OKS_EXPIRED_CONTRACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_EXPIRED_CONTRACTS_V, object_name:OKS_EXPIRED_CONTRACTS_V, status:VALID, product: OKS - Service Contracts , description: View for Expired COntracts , implementation_dba_data: APPS.OKS_EXPIRED_CONTRACTS_V ,
-
View: OKS_ENT_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HEADERS_V, object_name:OKS_ENT_HEADERS_V, status:VALID, product: OKS - Service Contracts , description: View of all contracts , implementation_dba_data: APPS.OKS_ENT_HEADERS_V ,