Search Results okc_statuses_v
Overview
OKC_STATUSES_V is a seeded, VALID database view owned by the APPS schema within the Oracle E-Business Suite Contracts Core (OKC) module. It serves as the translation and user-facing layer for contract status definitions, presenting the denormalized, language-resolved status information that drives contract lifecycle processing in both EBS 12.1.1 and 12.2.2. Because OKC_STATUSES_B stores language-independent status attributes and OKC_STATUSES_TL stores the translatable text, the view reconciles these two structures into a single consumable recordset. As a result, OKC_STATUSES_V is the object most commonly referenced by Oracle Contracts forms, lookup validation logic, seeded reports, and custom integrations that need to enumerate or resolve contract statuses without handling the underlying translated table joins manually.
Underlying Base Objects
Per the documented view text, OKC_STATUSES_V is defined over two base objects: OKC_STATUSES_B (exposed as a SYNONYM) and OKC_STATUSES_TL (also exposed as a SYNONYM). The join condition is STSB.CODE = STST.CODE, restricted by STST.LANGUAGE = USERENV('LANG'). This pattern is the standard Oracle EBS _B/_TL translation model: the _B table holds non-translatable columns such as the status code, object version number, default flag, and audit columns, while the _TL table holds the SFWT flag, STE code, meaning, and description content that vary by installed language. The language predicate ensures that users see status text in their session language, falling back to the base language where translations are not maintained.
Key Columns
- ROW_ID — the ROWID of the OKC_STATUSES_B row, used for optimistic locking and row-level addressing.
- CODE — the unique contract status code; primary identifier joining the _B and _TL tables.
- OBJECT_VERSION_NUMBER — the OVN used by the framework for change detection and concurrency control.
- SFWT_FLAG — the "seed flag within territory" indicator carried from the _TL table, controlling seeded behavior.
- STE_CODE — the associated status transition/entity code used by the status engine.
- MEANING — the translated, user-visible status name.
- DESCRIPTION — the translated descriptive text for the status.
- DEFAULT_YN — flag indicating whether the status is the default for new records.
- START_DATE / END_DATE — effective dating that controls when a status is active.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS audit columns.
Common Use Cases and Queries
The view is most often queried to enumerate active statuses for lookup lists, to resolve a code into its display meaning, or to validate that a submitted status is permitted. A typical enumeration query is:
SELECT code, meaning, default_yn FROM okc_statuses_v WHERE NVL(end_date, SYSDATE + 1) >= SYSDATE ORDER BY meaning;
To resolve a specific status for display in a report or interface:
SELECT code, meaning, description FROM okc_statuses_v WHERE code = :p_status_code;
Because the view already applies USERENV('LANG'), applications should query it directly rather than joining OKC_STATUSES_B and OKC_STATUSES_TL themselves; this guarantees consistent language resolution across all consumers and avoids duplicate text rows. Custom dashboards and integrations commonly join OKC_STATUSES_V to OKC_K_HEADERS or contract line tables to present human-readable status context, while workflow and form validation logic reference it to confirm DEFAULT_YN and effective dates before committing a status change.
-
View: OKC_STATUSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_STATUSES_V, object_name:OKC_STATUSES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_STATUSES_B , implementation_dba_data: APPS.OKC_STATUSES_V ,
-
View: OKC_STATUSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_STATUSES_V, object_name:OKC_STATUSES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_STATUSES_B , implementation_dba_data: APPS.OKC_STATUSES_V ,
-
VIEW: APPS.OKI_CANCEL_STATUSES_V
12.1.1
-
VIEW: APPS.OKE_TERMINATE_LINES_V
12.1.1
-
VIEW: APPS.OKL_BOOK_CONT_STAGE_UV
12.2.2
-
VIEW: APPS.OKL_BOOK_CONT_STAGE_UV
12.1.1
-
VIEW: APPS.OKL_CRD_FUND_CHKLST_TPL_HDR_UV
12.2.2
-
VIEW: APPS.OKE_TERMINATE_LINES_V
12.2.2
-
APPS.OKC_STATUS_CHANGE_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKE_DTS_SUBCONTRACTS_V
12.2.2
-
VIEW: APPS.OKL_CRD_FUND_CHKLST_TPL_HDR_UV
12.1.1
-
VIEW: APPS.OKE_DTS_SUBCONTRACTS_V
12.1.1
-
VIEW: APPS.OKL_AM_ASSET_LOV_UV
12.1.1
-
VIEW: APPS.OKL_AM_ASSET_LOV_UV
12.2.2
-
APPS.OKL_LOAN_BAL_UPDATE_PVT SQL Statements
12.2.2
-
APPS.OKC_STATUS_CHANGE_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_CS_CUST_INS_POLICY_UV
12.1.1
-
VIEW: APPS.OKL_CS_CONT_SRCH_RESULTS_UV
12.1.1
-
VIEW: APPS.OKL_AM_REPURCHASE_ASSET_HDR_UV
12.2.2
-
APPS.OKL_LOAN_BAL_UPDATE_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_AM_ASSET_RETURNS_UV
12.1.1
-
VIEW: APPS.OKL_AM_ASSET_RETURNS_UV
12.2.2
-
VIEW: APPS.OKL_CS_LINE_VERSION_UV
12.1.1
-
VIEW: APPS.OKL_CS_CUST_INS_POLICY_UV
12.2.2
-
VIEW: APPS.OKL_AM_REPURCHASE_ASSET_HDR_UV
12.1.1
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.1.1
-
VIEW: APPS.OKS_HEADER_DETAILS_V
12.2.2
-
VIEW: APPS.OKC_SALES_TEMPLATES_V
12.2.2
-
VIEW: APPS.OKL_CS_LINE_VERSION_UV
12.2.2
-
VIEW: APPS.OKL_CS_CONT_SRCH_RESULTS_UV
12.2.2
-
VIEW: APPS.OKC_SALES_TEMPLATES_V
12.1.1
-
VIEW: APPS.OKL_AM_ASSET_TRACK_UV
12.2.2
-
VIEW: APPS.OKS_REPNAME_V
12.2.2
-
VIEW: APPS.OKL_AM_ASSET_TRACK_UV
12.1.1
-
VIEW: APPS.OKI_STATUS_CHANGE_V
12.1.1
-
VIEW: APPS.OKI_EXPIRED_LINES_V
12.1.1
-
VIEW: APPS.OKL_CS_CONT_PARTY_UV
12.2.2
-
VIEW: APPS.OKS_REPNAME_V
12.1.1
-
VIEW: APPS.OKL_CS_CONT_PARTY_UV
12.1.1
-
VIEW: APPS.OKI_SOLD_ITEM_LINES_V
12.1.1
-
VIEW: APPS.OKL_AM_TRMNT_TRANSACTIONS_UV
12.1.1
-
APPS.OKL_VP_STS_PVT SQL Statements
12.1.1
-
APPS.OKL_VP_STS_PVT SQL Statements
12.2.2
-
View: OKL_CS_LINE_VERSION_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CS_LINE_VERSION_UV, object_name:OKL_CS_LINE_VERSION_UV, status:VALID, product: OKL - Leasing and Finance Management , description: List of Line Versions , implementation_dba_data: APPS.OKL_CS_LINE_VERSION_UV ,
-
VIEW: APPS.OKL_CRD_FUND_CHECKLISTS_TPL_UV
12.1.1
-
APPS.OKL_PAYMENT_SPLIT_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKL_CRD_FUND_CHECKLISTS_TPL_UV
12.2.2
-
View: OKL_CS_LINE_VERSION_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CS_LINE_VERSION_UV, object_name:OKL_CS_LINE_VERSION_UV, status:VALID, product: OKL - Lease and Finance Management , description: List of Line Versions , implementation_dba_data: APPS.OKL_CS_LINE_VERSION_UV ,
-
VIEW: APPS.OKL_NEW_ASSETS_UV
12.1.1
-
View: OKL_AM_ASSET_RETURNS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AM_ASSET_RETURNS_UV, object_name:OKL_AM_ASSET_RETURNS_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_AM_ASSET_RETURNS_UV ,