Search Results chr_type
Overview
APPS.OKX_CONTRACTS_V is a reporting and integration view in Oracle E-Business Suite that exposes a consolidated, denormalized representation of contract headers. It is owned by the APPS schema and is defined over the core Oracle Contracts (OKC) header tables. The view is intended to present contract master data — contract identifiers, names, descriptions, validity dates, status, financial and organizational attributes, and the contract type flag (CHR_TYPE) — in a single flat structure suitable for concurrent program output, Oracle Discoverer/BI Publisher reports, interface staging, and external integrations.
The user search term "chr_type" maps directly to a column exposed by this view. CHR_TYPE is sourced from the OKC_K_HEADERS_B base table and carries the classification of the contract record (for example, distinguishing contract categories as maintained by the Contracts core). Because it is surfaced unchanged from the base table, it retains the same domain and semantics as the underlying OKC column.
Underlying Base Objects
Per the documented view text, OKX_CONTRACTS_V is defined over two synonym-referenced base objects:
- OKC_K_HEADERS_B — the base (non-translated) contract header table, aliased CHR. Supplies the majority of columns, including CHR_TYPE.
- OKC_K_HEADERS_TL — the translated (language) contract header table, aliased TL. Supplies language-dependent descriptive text.
The two tables are joined on CHR.ID = TL.ID, further restricted by TL.LANGUAGE = USERENV('LANG'), so that the view returns exactly one row per contract header in the session's current language. This join pattern is characteristic of Oracle's _B/_TL table pairs, where the _B table holds language-independent data and the _TL table holds translatable attributes.
Key Columns
- ID1 — the contract header primary key (CHR.ID). The literal ID2 value of '#' is a placeholder for interface mapping.
- NAME — concatenation of CONTRACT_NUMBER and CONTRACT_NUMBER_MODIFIER, with the modifier appended after a period when present.
- DESCRIPTION — TL.SHORT_DESCRIPTION, the language-specific short description of the contract.
- START_DATE_ACTIVE / END_DATE_ACTIVE — the contract's start and end dates from the base header record.
- STATUS — derived at runtime from the start and end dates: 'I' (inactive) if the current date precedes the start date or exceeds the end date, otherwise 'A' (active).
- CHR_TYPE — the contract type/classification flag carried from OKC_K_HEADERS_B.
- SCS_CODE, STS_CODE — contract status codes (system/status code columns) exposed for status reporting.
- ORG_ID / INV_ORG_ID — the authoring organization and inventory organization identifiers.
- BUY_OR_SELL — indicates whether the contract is a purchasing or sales contract.
- CURRENCY_CODE — the contract currency.
- PRIMARY_UOM_CODE — always NULL in this definition; retained for interface/column-shape compatibility.
Common Use Cases and Queries
The view is commonly used to list active contracts, filter by contract type, or drive downstream interfaces that expect a flat header extract. Because STATUS and NAME are computed, consumers should be aware that results are session-language dependent and date driven.
Listing active contracts of a given type:
SELECT id1, name, description, chr_type, currency_code, buy_or_sell
FROM apps.okx_contracts_v
WHERE status = 'A' AND chr_type = :p_chr_type;
Joining the view to contract lines for reporting detail:
SELECT v.name, v.chr_type, v.start_date_active, v.end_date_active
FROM apps.okx_contracts_v v
WHERE v.org_id = :p_org_id
ORDER BY v.name;
Because the view performs no aggregation and joins only the header and translated-header tables, it is inexpensive and safe for high-volume reporting. Filters on ID1, CHR_TYPE, ORG_ID, and STATUS are the most effective predicates, since CHR_TYPE and the identifier columns pass directly to the base table.
-
VIEW: APPS.OKX_CONTRACTS_V
12.1.1
-
VIEW: APPS.OKX_CONTRACTS_V
12.2.2
-
View: OKX_CONTRACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CONTRACTS_V, object_name:OKX_CONTRACTS_V, status:VALID, product: OKX - Contracts Integration , description: Thi view stores contract header information. , implementation_dba_data: APPS.OKX_CONTRACTS_V ,
-
View: OKX_CONTRACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CONTRACTS_V, object_name:OKX_CONTRACTS_V, status:VALID, product: OKX - Contracts Integration , description: Thi view stores contract header information. , implementation_dba_data: APPS.OKX_CONTRACTS_V ,
-
VIEW: OKC.OKC_K_HEADERS_ALL_B#
12.2.2
-
VIEW: OKC.OKC_K_HEADERS_ALL_BH#
12.2.2
-
VIEW: APPS.OKX_CONTRACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CONTRACTS_V, object_name:OKX_CONTRACTS_V, status:VALID,
-
VIEW: APPS.OKX_CONTRACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CONTRACTS_V, object_name:OKX_CONTRACTS_V, status:VALID,
-
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: OKL_VP_AGREEMENT_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_VP_AGREEMENT_UV, object_name:OKL_VP_AGREEMENT_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_VP_AGREEMENT_UV ,
-
View: OKE_K_HEADERS_FWDN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_FWDN_V, object_name:OKE_K_HEADERS_FWDN_V, status:VALID, product: OKE - Project Contracts , description: Contract header view for flowdown , implementation_dba_data: APPS.OKE_K_HEADERS_FWDN_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: OKE_K_HEADERS_FWDN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKE.OKE_K_HEADERS_FWDN_V, object_name:OKE_K_HEADERS_FWDN_V, status:VALID, product: OKE - Project Contracts , description: Contract header view for flowdown , implementation_dba_data: APPS.OKE_K_HEADERS_FWDN_V ,
-
View: OKL_VP_AGREEMENT_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_VP_AGREEMENT_UV, object_name:OKL_VP_AGREEMENT_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_VP_AGREEMENT_UV ,
-
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_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: APPS.OKC_GOVERNING_CONTRACT_V
12.1.1
-
VIEW: APPS.OKE_K_HEADERS_FWDN_V
12.2.2
-
VIEW: APPS.OKE_K_HEADERS_FWDN_V
12.1.1
-
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.OKC_K_HEADERS_ALL_BH#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_K_HEADERS_ALL_BH#, status:VALID,
-
VIEW: OKC.OKC_K_HEADERS_ALL_B#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_K_HEADERS_ALL_B#, status:VALID,
-
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: APPS.OKC_GOVERNING_CONTRACT_V
12.2.2
-
VIEW: APPS.OKC_K_HEADERS_HV
12.1.1
-
VIEW: APPS.OKC_K_HEADERS_HV
12.2.2
-
VIEW: APPS.OKC_K_HEADERS_V
12.1.1
-
APPS.OKC_TEST SQL Statements
12.1.1
-
View: OKL_K_HEADERS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_HEADERS_UV, object_name:OKL_K_HEADERS_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_K_HEADERS_UV ,
-
VIEW: APPS.OKC_K_HEADERS_ALL_HV
12.2.2
-
TABLE: OKC.OKC_K_HEADERS_ALL_BH
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_HEADERS_ALL_BH, object_name:OKC_K_HEADERS_ALL_BH, status:VALID,
-
VIEW: APPS.OKC_K_HEADERS_V
12.2.2
-
TABLE: OKC.OKC_K_HEADERS_ALL_BH
12.1.1
owner:OKC, object_type:TABLE, object_name:OKC_K_HEADERS_ALL_BH, status:VALID,
-
View: OKL_K_HEADERS_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_HEADERS_UV, object_name:OKL_K_HEADERS_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_K_HEADERS_UV ,
-
View: OKS_AUTH_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_V, object_name:OKS_AUTH_HEADERS_V, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_V ,
-
APPS.OKC_TEST SQL Statements
12.2.2
-
View: OKS_AUTH_HEADERS_HV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_HV, object_name:OKS_AUTH_HEADERS_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_HV ,
-
VIEW: APPS.OKC_K_HEADERS_ALL_V
12.1.1
-
VIEW: APPS.OKC_K_HEADERS_ALL_HV
12.1.1
-
VIEW: APPS.OKC_K_HEADERS_ALL_V
12.2.2
-
VIEW: APPS.OKL_VP_AGREEMENT_UV
12.1.1
-
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: APPS.OKL_VP_AGREEMENT_UV
12.2.2
-
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 ,
-
View: OKS_AUTH_HEADERS_HV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_AUTH_HEADERS_HV, object_name:OKS_AUTH_HEADERS_HV, status:VALID, product: OKS - Service Contracts , implementation_dba_data: APPS.OKS_AUTH_HEADERS_HV ,
-
View: OKL_K_HEADERS_FULL_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_K_HEADERS_FULL_ALL_V, object_name:OKL_K_HEADERS_FULL_ALL_V, status:VALID, product: OKL - Leasing and Finance Management , description: OKL_K_HEADERS_FULL_V is fulll View on tables OKC_K_HEADERS_B OKL_K_HEADERS. This combines the contracts core and lease managment header attributes into one view. , implementation_dba_data: APPS.OKL_K_HEADERS_FULL_ALL_V ,