Search Results oke_k_form_headers




Overview

The OKE_K_FORM_HEADERS table is a core data object within the Oracle E-Business Suite (EBS) Project Contracts (OKE) module. It serves as the primary repository for header-level information related to printed forms or documents associated with project contracts. This table is integral to the document generation and management processes, acting as a central reference point that links specific contract deliverables or lines to their corresponding print forms. Its existence underscores the module's capability to produce formal, structured contractual documentation directly from the transactional data, ensuring consistency and auditability.

Key Information Stored

The table stores metadata that defines and identifies a specific instance of a printed form. Its primary key is FORM_HEADER_ID, a unique system-generated identifier. A unique key constraint also exists on the combination of K_HEADER_ID and PRINT_FORM_CODE, enforcing that a given contract header can only have one form instance per form type code. Critical foreign key columns establish the table's relationships: K_HEADER_ID links to the main contract header (OKE_K_HEADERS), K_LINE_ID optionally links to a specific contract line (OKE_K_LINES), and DELIVERABLE_ID optionally links to a contract deliverable (OKE_K_DELIVERABLES_B). The PRINT_FORM_CODE identifies the template or form type used, and FORM_HEADER_NUMBER likely stores a user-facing or system-generated document number for the printed output.

Common Use Cases and Queries

This table is primarily accessed for reporting on generated contract documents, auditing form history, and supporting data retrieval for re-printing. A common reporting query would join to contract headers to list all forms generated for a specific contract or project. For technical support, one might query for forms related to a specific deliverable to troubleshoot printing issues. Sample SQL to retrieve form information for a contract would be:

  • SELECT fh.FORM_HEADER_NUMBER, fh.PRINT_FORM_CODE, kh.CONTRACT_NUMBER FROM OKE.OKE_K_FORM_HEADERS fh, OKE.OKE_K_HEADERS kh WHERE fh.K_HEADER_ID = kh.K_HEADER_ID AND kh.CONTRACT_NUMBER = '<CONTRACT_NUM>';

Another critical use case is during the form generation process itself, where the system inserts a record into this table to log the creation of a new document instance.

Related Objects

The OKE_K_FORM_HEADERS table sits at the center of a relational structure within the Project Contracts schema. Its documented foreign key relationships are as follows:

  • OKE_K_PRINT_FORMS: Linked via the composite foreign key (K_HEADER_ID, K_LINE_ID, PRINT_FORM_CODE). This relationship validates the print form code used.
  • OKE_K_LINES: Linked via K_LINE_ID. This optional relationship ties the form header to a specific contract line item.
  • OKE_K_DELIVERABLES_B: Linked via DELIVERABLE_ID. This optional relationship ties the form header to a specific contract deliverable.
  • OKE_K_FORM_LINES: This table has a foreign key (FORM_HEADER_ID) referencing OKE_K_FORM_HEADERS. This is a parent-child relationship where the header record is the parent to detailed line information stored in OKE_K_FORM_LINES for the printed form.

While not explicitly listed in the provided metadata, the table also has an implicit relationship to OKE_K_HEADERS via the K_HEADER_ID column, which is its most fundamental link to the core contract.