Search Results currency_code_renewed
Overview
APPS.OKC_GOVERNING_CONTRACT_V is a view in the Oracle E-Business Suite Contracts Core (OKC) module that exposes the hierarchy of sales contracts. It is owned by the APPS schema and, in the Oracle EBS 12.1.1 and 12.2.2 releases, is documented with a status of VALID, although the ETRM metadata explicitly states that the view has been obsoleted. This designation means the object remains physically present and queryable in many environments but is no longer the recommended interface for new development; it is retained primarily for backward compatibility with pre-existing customizations, reports, and integrations.
Functionally, the view consolidates header-level contract attributes with translated descriptive text and selected rule-based derivations, most notably the billing customer account. Because it flattens the governing-contract relationship into a single rowset, it is typically used for reporting on which contract governs a given sales agreement, for integration extracts that must carry a stable contract identifier plus descriptive and status context, and for ad hoc analysis of contract lifecycle dates.
Underlying Base Objects
The view is defined over the following documented base objects in the APPS schema:
- OKC_K_HEADERS_B — the main contracts header table (aliased
CHRB), supplying identifiers, status, dates, currency, amounts, and descriptive flexfield (attribute) columns. - OKC_K_HEADERS_TL — the translated header text table (aliased
CHRT), supplyingSHORT_DESCRIPTION,COMMENTS, andDESCRIPTION. - OKC_RULES_B and OKC_RULE_GROUPS_B — used in a correlated subquery against rule group code
'BILLING'and rule information category'CAN'to derive the customer account. - OKC_SUBCLASSES_B — referenced in the view definition for subclass classification.
- OKC_UTIL — the package whose
GET_K_ACCESS_LEVELfunction computes the caller's access level.
The header-centric relationship is explicit: every row is driven by a record in OKC_K_HEADERS_B, with translation, rule, and utility results joined or computed per header. This is consistent with the view's stated purpose of presenting the sales contract hierarchy.
Key Columns
- ID / CHR_ID — the contract header identifier and the primary join key to other OKC tables.
- CONTRACT_NUMBER, CONTRACT_NUMBER_MODIFIER — the human-readable contract number and its modifier.
- STS_CODE, SCS_CODE — status and status-classification codes describing the contract's lifecycle state.
- START_DATE, END_DATE, DATE_APPROVED, DATE_SIGNED, DATE_ISSUED, DATE_TERMINATED, DATE_RENEWED, DATETIME_CANCELLED — the full set of contract lifecycle dates. These are the columns most relevant to date-driven reporting; the view does not expose a dedicated
pricing_datecolumn, so pricing context must be obtained from the pricing or line-level tables rather than from this header view. - GOVERNING_CONTRACT_YN, TEMPLATE_YN, TEMPLATE_USED — flags indicating governing-contract role and template usage.
- CUSTOMER_ACCOUNT_ID — derived via the billing rule-group subquery.
- CURRENCY_CODE, ESTIMATED_AMOUNT — commercial context for the header.
- BUY_OR_SELL, ISSUE_OR_RECEIVE — directional indicators distinguishing sales from procurement contracts and issuing versus receiving parties.
- USER_ACCESS_LEVEL — computed by
OKC_UTIL.GET_K_ACCESS_LEVELto enforce or report access security. - ATTRIBUTE_CATEGORY and ATTRIBUTE1–4 — descriptive flexfield context and segments, frequently used for customer-defined reporting fields.
Common Use Cases and Queries
Typical uses include reporting the active governing contract for a customer, extracting contract metadata for downstream systems, and reconciling contract status against lifecycle dates. A representative query listing governed sales contracts with key dates is:
SELECT CONTRACT_NUMBER,
CONTRACT_NUMBER_MODIFIER,
STS_CODE,
START_DATE,
END_DATE,
DATE_SIGNED,
DATE_APPROVED,
CURRENCY_CODE,
ESTIMATED_AMOUNT,
CUSTOMER_ACCOUNT_ID
FROM APPS.OKC_GOVERNING_CONTRACT_V
WHERE GOVERNING_CONTRACT_YN = 'Y'
AND BUY_OR_SELL = 'S'
AND NVL(DATE_TERMINATED, SYSDATE + 1) > SYSDATE;
Because the view is documented as obsoleted, new development should query the underlying OKC_K_HEADERS_B and OKC_K_HEADERS_TL tables directly, joining the required detail tables to supply any missing attributes such as pricing context. Existing queries against this view should be reviewed during upgrades to 12.2.2 to confirm that no column-level changes affect results, and access to the view should be limited in line with the USER_ACCESS_LEVEL value it computes.
-
View: OKC_GOVERNING_CONTRACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_GOVERNING_CONTRACT_V, object_name:OKC_GOVERNING_CONTRACT_V, status:VALID, product: OKC - Contracts Core , description: This view contains the hierarchy of the sales contracts. This view has been obsoleted , implementation_dba_data: APPS.OKC_GOVERNING_CONTRACT_V ,
-
View: OKC_GOVERNING_CONTRACT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_GOVERNING_CONTRACT_V, object_name:OKC_GOVERNING_CONTRACT_V, status:VALID, product: OKC - Contracts Core , description: This view contains the hierarchy of the sales contracts. This view has been obsoleted , implementation_dba_data: APPS.OKC_GOVERNING_CONTRACT_V ,
-
View: OKC_K_LINES_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_LINES. , implementation_dba_data: APPS.OKC_K_LINES_HV ,
-
View: OKC_K_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_V, object_name:OKC_K_LINES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTRACT_LINES_B , implementation_dba_data: APPS.OKC_K_LINES_V ,
-
View: OKC_K_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_V, object_name:OKC_K_LINES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTRACT_LINES_B , implementation_dba_data: APPS.OKC_K_LINES_V ,
-
View: OKC_K_HEADERS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_V, object_name:OKC_K_HEADERS_ALL_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_V ,
-
View: OKC_K_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_V, object_name:OKC_K_HEADERS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTRACT_HEADERS_B , implementation_dba_data: APPS.OKC_K_HEADERS_V ,
-
View: OKC_K_HEADERS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_V, object_name:OKC_K_HEADERS_ALL_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_V ,
-
View: OKC_K_HEADERS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_HV, object_name:OKC_K_HEADERS_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_HEADERS. , implementation_dba_data: APPS.OKC_K_HEADERS_HV ,
-
View: OKC_K_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_V, object_name:OKC_K_HEADERS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_CONTRACT_HEADERS_B , implementation_dba_data: APPS.OKC_K_HEADERS_V ,
-
View: OKC_K_LINES_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_LINES_HV, object_name:OKC_K_LINES_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_LINES. , implementation_dba_data: APPS.OKC_K_LINES_HV ,
-
View: OKC_K_HEADERS_ALL_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_HV, object_name:OKC_K_HEADERS_ALL_HV, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_HV ,
-
View: OKC_K_HEADERS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_HV, object_name:OKC_K_HEADERS_HV, status:VALID, product: OKC - Contracts Core , description: History view for OKC_K_HEADERS. , implementation_dba_data: APPS.OKC_K_HEADERS_HV ,
-
View: OKC_K_HEADERS_ALL_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_HEADERS_ALL_HV, object_name:OKC_K_HEADERS_ALL_HV, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_K_HEADERS_ALL_HV ,
-
View: OKC_KOL_CREATE_K_HDR_V
12.2.2
product: OKC - Contracts Core , description: View for table OKC_CONTRACT_HEADERS_B , implementation_dba_data: Not implemented in this database ,
-
View: OKC_KOL_CREATE_K_HDR_V
12.1.1
product: OKC - Contracts Core , description: View for table OKC_CONTRACT_HEADERS_B , implementation_dba_data: Not implemented in this database ,