Search Results okc_rep_imp_contracts_t_pk1




Overview

OKC_REP_IMP_CONTRACTS_T is a temporary (staging) table owned by the OKC schema within the Contracts Core module of Oracle E-Business Suite, and is documented as VALID in both release 12.1.1 and 12.2.2. It stores inbound contract header attributes during import operations performed through the Contracts Repository import process. The table functions as an intermediate landing area: rows are populated from a source file or feeder system, validated against contract rules, transformed into a structure suitable for insertion into the Contracts Repository schema, and finally used to drive error output files for invalid or rejected records.

The table is physically wide, containing 64 documented columns, which reflects that it mirrors the majority of contract header attributes needed to create a contract record. From a Data Vault modeling perspective, the mined metadata suggests a standalone classification, since the primary key is a single surrogate identifier (IMP_CONTRACT_ID) and the entity is not decomposed into hub, link, or satellite structures in the delivered ETRM data model. It is best treated as a transient staging entity rather than a persistent dimensional or historical store.

Key Information Stored

The table is keyed by a surrogate primary key, IMP_CONTRACT_ID, defined by constraint OKC_REP_IMP_CONTRACTS_T_PK1. A unique index, OKC_REP_IMP_CONTRACTS_T_U1, is also defined on the same column, making IMP_CONTRACT_ID the single documented business-key candidate for this staging table. The most significant columns fall into several groups:

Termination/expiration metadata (TERMINATION_DATE, TERMINATION_COMMENTS, CANCELLATION_DATE, CANCELLATION_COMMENTS, EXPIRE_NTF_FLAG, EXPIRE_NTF_PERIOD) and risk indicators (OVERALL_RISK_CODE, OVERALL_RISK_TXT) are also present, along with NOTIFY_CONTACT_ROLE_ID and NOTIFY_CONTACT_ROLE_TXT for notification routing.

Common Use Cases and Queries

The primary use case is troubleshooting import runs. Because errors are written to a companion table, the typical diagnostic pattern joins the header staging rows to the error rows to isolate rejected contracts:

  • Validate an import run: SELECT IMP_CONTRACT_ID, CONTRACT_NUMBER, CONTRACT_NAME, VALID_FLAG FROM OKC.OKC_REP_IMP_CONTRACTS_T WHERE RUN_ID = :run_id — this lists all staged headers for a given execution.
  • Find rejected contracts: join OKC_REP_IMP_CONTRACTS_T to OKC_REP_IMP_ERRORS_T on IMP_CONTRACT_ID where VALID_FLAG = 'N'.
  • Reconcile to the repository: compare staged rows against OKC_K_HEADERS_B (via CONTRACT_ID or CONTRACT_NUMBER) to confirm which headers were successfully created.
  • Reporting on import volume: aggregate by RUN_ID, CREATION_DATE, or ORIG_SYSTEM_REFERENCE_CODE to trend successful versus failed imports.

Because this is a temporary staging table, queries should generally be scoped by RUN_ID to a specific import batch, and rows may be purged or reused by subsequent runs. Reports relying on this table should therefore avoid treating it as a historical archive.

Related Objects

The table is the parent of several child staging tables, all joined on IMP_CONTRACT_ID, forming a self-contained import staging schema:

Downstream, the import process writes validated rows into the Contracts Repository schema, principally OKC_K_HEADERS_B and its associated version and party tables. The concurrent program that manages this staging cycle is the Contracts Repository import program, driven by the REQUEST_ID and PROGRAM_ID columns recorded on each staged row.

  • Table: OKC_REP_IMP_CONTRACTS_T 12.2.2

    owner:OKC,  object_type:TABLE,  fnd_design_data:OKC.OKC_REP_IMP_CONTRACTS_T,  object_name:OKC_REP_IMP_CONTRACTS_T,  status:VALID,  product: OKC - Contracts Coredescription: This is a temporary table for storing imported contract header attributes. It is used for validating contract attributes, preparing contract header data for importing into Contracts Repository schema and generating error output file for inv ,  implementation_dba_data: OKC.OKC_REP_IMP_CONTRACTS_T

  • eTRM - OKC Tables and Views 12.2.2

    description: Intersection entity between rules and templates , 

  • eTRM - OKC Tables and Views 12.2.2

    description: Intersection entity between rules and templates ,