Search Results oke_k_headers_secure_hv
Overview
OKE_K_HEADERS_SECURE_HV is a secured historical contract header extended information view owned by the APPS schema in Oracle E-Business Suite, within the OKE – Project Contracts product family. The name decomposes into three functional signals: "K_HEADERS" identifies the contract header entity, "SECURE" indicates that row-level security predicates are applied, and "HV" denotes a historical version view that exposes multiple major/minor versions of a contract rather than only the current revision. The view therefore delivers a version-aware, security-filtered projection of contract header data for reporting, integration, and inquiry purposes.
Its principal role is to present contract header attributes in a form suitable for external consumption without requiring the caller to replicate OKE's internal security logic. Because the underlying secured package supplies the authorization predicate, downstream reports, extracts, and interfaces automatically inherit the same access restrictions that apply inside the Project Contracts application forms.
Underlying Base Objects
The documented base objects are OKC_K_HEADERS_B (synonym), OKE_K_HEADERS_FULL_HV (view), OKC_K_SECURITY_PKG (package), and OKE_UTILS (package). OKC_K_HEADERS_B is the core contract headers table in the OKC (Contracts Core) schema, holding the primary header records. OKE_K_HEADERS_FULL_HV is the unsecured historical version view that assembles header columns, including the descriptive columns populated only on the current version, into a single wide row. OKE_K_HEADERS_SECURE_HV wraps that view and applies the security predicate obtained from OKC_K_SECURITY_PKG, with supporting logic drawn from OKE_UTILS.
The layering is significant. OKC_K_HEADERS_B stores the transactional data; OKE_K_HEADERS_FULL_HV performs the version join and column expansion; the security package evaluates the caller's access rights against authoring organization, contract ownership, and related security assignments; and OKE_UTILS supplies shared helper functions. The result is a view that is both denormalized for reporting convenience and filtered for authorization compliance.
Key Columns
The view exposes the full column list of OKE_K_HEADERS_FULL_HV. The following groups are most significant:
- Identity and versioning: ROW_ID, K_HEADER_ID, MAJOR_VERSION, MINOR_VERSION, VERSION_DISP, OBJECT_VERSION_NUMBER, and CONTRACT_NUMBER_MODIFIER uniquely identify each contract version and support optimistic locking and version comparison.
- Contract identification: K_NUMBER, K_ALIAS, SCS_CODE, CHR_TYPE, K_TYPE_CODE, K_TYPE, TYPE_CLASS_CODE, K_VALUE, PRODUCT_LINE_CODE, PRODUCT_LINE, PRIORITY_CODE, and PRIORITY_RATING classify and name the contract.
- Organizational context: AUTHORING_ORG_ID and AUTHORING_ORG identify the owning organization and are central to the security predicate.
- Financial and life-cycle dates: START_DATE, END_DATE, AWARD_DATE, AUTHORIZE_DATE, DATE_ISSUED, DATE_SIGN_BY_CUSTOMER, DATE_SIGN_BY_CONTRACTOR, DATE_RECEIVED, DATE_APPROVED, AWARD_CANCEL_DATE, FAA_APPROVE_DATE, FAA_REJECT_DATE, DATE_DEFINITIZED, and DATE_NEGOTIATED.
- Status and classification: STATUS_CODE, STATUS, BUY_OR_SELL, BOOKED_FLAG/BOOKED_YN, OPEN_FLAG/OPEN_YN, EXPORT_FLAG/EXPORT_YN, and CLASSIFIED_FLAG/CLASSIFIED_YN.
- Compliance flags: DCAA_AUDIT_REQ_YN, HUMAN_SUBJECT_YN, PENALTY_CLAUSE_YN, SB_PLAN_REQ_YN, SB_REPORT_YN, CQA_YN, REPORTING_YN, CFE_YN, CAS_YN, COST_SHARE_YN, NTE_WARNING_YN, INTERIM_RPT_REQ_YN, CLIENT_APPROVE_REQ_YN, and BILL_WITHOUT_DEF_FLAG.
- Project linkage: PROJECT_ID, PROJECT_NUMBER, PROJECT_NAME, PROJECT_DESCRIPTION, PROJECT_START_DATE, PROJECT_COMPLETION_DATE, and PROJECT_ORGANIZATION connect the contract to its project context.
- Commercial detail: CURRENCY_CODE, COUNTRY_OF_ORIGIN_CODE, COST_OF_MONEY, COST_OF_MONEY_YN, CUSTOMER_PO_NUMBER, PRIME_K_ALIAS, PRIME_K_NUMBER, BOA_ID, BOA_NUMBER, SIC_CODE, and AUTHORIZING_REASON.
Notably, columns ending in _YN carry the user-facing Yes/No display values, while the corresponding _FLAG columns carry the internal flag. Reporting queries generally use the _YN columns.
Common Use Cases and Queries
The view is typically used for contract register reporting, version history analysis, security-respecting data extracts, and integration feeds. Because it is secured, it is the preferred source when querying on behalf of a specific user rather than a batch integration user.
Listing all versions of a contract:
SELECT k_number, major_version, minor_version, version_disp, status, start_date, end_date
FROM apps.oke_k_headers_secure_hv
WHERE k_number = :contract_number
ORDER BY major_version, minor_version;
Extracting active contract headers with project linkage:
SELECT k_number, k_alias, authoring_org, project_number, project_name,
currency_code, status, booked_yn, start_date, end_date
FROM apps.oke_k_headers_secure_hv
WHERE open_yn = 'Y'
AND end_date >= TRUNC(SYSDATE)
ORDER BY authoring_org, k_number;
Reviewing compliance attributes for audit purposes:
SELECT k_number, dcAA_audit_req_yn, cas_yn, cqa_yn,
human_subject_yn, sb_plan_req_yn
FROM apps.oke_k_headers_secure_hv
WHERE classified_yn = 'Y';
Because security is enforced at runtime, result sets differ by the connecting user's authoring organization access. Integration processes that must see all rows should be executed under a user or responsibility granted unrestricted OKE contract access; otherwise rows are silently suppressed rather than raising an error, which is a common source of variance between report totals and base-table counts.
-
View: OKE_K_HEADERS_SECURE_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_SECURE_HV, object_name:OKE_K_HEADERS_SECURE_HV, status:VALID, product: OKE - Project Contracts , description: Secured historical contract header extended information view , implementation_dba_data: APPS.OKE_K_HEADERS_SECURE_HV ,
-
View: OKE_K_HEADERS_SECURE_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_SECURE_HV, object_name:OKE_K_HEADERS_SECURE_HV, status:VALID, product: OKE - Project Contracts , description: Secured historical contract header extended information view , implementation_dba_data: APPS.OKE_K_HEADERS_SECURE_HV ,
-
PACKAGE: APPS.OKE_K_SECURITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKE_K_SECURITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.OKE_VERSION_COMPARISON_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_VERSION_COMPARISON_PKG, status:VALID,
-
PACKAGE: APPS.OKE_K_SECURITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKE_K_SECURITY_PKG, status:VALID,
-
PACKAGE: APPS.OKE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKE_UTILS, status:VALID,
-
PACKAGE: APPS.OKE_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKE_UTILS, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.OKE_VERSION_COMPARISON_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_VERSION_COMPARISON_PKG, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.OKE_VERSION_COMPARISON_PKG dependencies on OKE_K_HEADERS_SECURE_HV
12.1.1
-
VIEW: APPS.OKE_K_HEADERS_FULL_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_FULL_HV, object_name:OKE_K_HEADERS_FULL_HV, status:VALID,
-
VIEW: APPS.OKE_K_HEADERS_SECURE_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_SECURE_HV, object_name:OKE_K_HEADERS_SECURE_HV, status:VALID,
-
APPS.OKE_VERSION_COMPARISON_PKG dependencies on OKE_K_HEADERS_SECURE_HV
12.2.2
-
VIEW: APPS.OKE_K_HEADERS_SECURE_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_SECURE_HV, object_name:OKE_K_HEADERS_SECURE_HV, status:VALID,
-
VIEW: APPS.OKE_K_HEADERS_FULL_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_FULL_HV, object_name:OKE_K_HEADERS_FULL_HV, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
APPS.OKE_VERSION_COMPARISON_PKG SQL Statements
12.1.1
-
APPS.OKE_VERSION_COMPARISON_PKG SQL Statements
12.2.2
-
eTRM - OKE Tables and Views
12.2.2
description: This table stores the version comparison results. ,
-
eTRM - OKE Tables and Views
12.1.1
description: This table stores the version comparison results. ,
-
PACKAGE BODY: APPS.OKE_VERSION_COMPARISON_PKG
12.2.2
-
PACKAGE BODY: APPS.OKE_VERSION_COMPARISON_PKG
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - OKE Tables and Views
12.1.1
description: This table stores the version comparison results. ,
-
eTRM - OKE Tables and Views
12.2.2
description: This table stores the version comparison results. ,