Search Results oks_serv_custexc_v
Overview
OKS_SERV_CUSTEXC_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the OKS (Service Contracts) product family and is described in the ETRM metadata as the "View for Service Availability Exceptions and Parties." Its purpose is to present service availability exception records alongside the customer or party information associated with each exception, so that downstream reports, concurrent programs, and integration interfaces can retrieve exception details together with the account number, account name, and customer status in a single query.
The view is classified as VALID and is not a table, so no DML is possible against it. It functions as a reporting and integration surface rather than an operational entity. Because the customer attributes are resolved through the party layer, the view is particularly relevant when a user searches for or references the OKX_PARTY entity, since the join predicate explicitly filters on JTOT_OBJECT1_CODE = 'OKX_PARTY'.
Underlying Base Objects
The view is defined over two documented referenced base objects:
- OKS_SERV_AVAIL_EXCEPTS (aliased
EXC), referenced through a synonym. This is the driving table holding the service availability exception rows, including object references, revision ranges, effective dates, and the standard DFF attribute columns plus WHO audit columns. - OKX_PARTIES_V (aliased
PARTY), a view over the party model. This supplies the account number, account name, and customer status.
The two objects are joined on PARTY.ID1 = EXC.OBJECT1_ID1, and the join is constrained by EXC.JTOT_OBJECT1_CODE = 'OKX_PARTY'. This means the view only returns exception rows whose referenced object type is OKX_PARTY, i.e., exceptions tied to a party/account. Rows in OKS_SERV_AVAIL_EXCEPTS pointing at other object types are filtered out. OKX_PARTIES_V itself resolves ID1 to the underlying party identifier, which is why the view is a natural starting point when working with OKX_PARTY references.
Key Columns
The view exposes all exception columns from OKS_SERV_AVAIL_EXCEPTS plus three party-derived columns.
- ID – Primary identifier of the service availability exception row.
- SAV_ID – Identifier of the parent service availability record to which the exception belongs.
- OBJECT1_ID1 / OBJECT1_ID2 – Object reference keys. OBJECT1_ID1 is the value joined to the party view; OBJECT1_ID2 holds the secondary key.
- JTOT_OBJECT1_CODE – Object type discriminator; the view is restricted to the value 'OKX_PARTY'.
- OBJECT_VERSION_NUMBER – Optimistic locking / concurrency control column.
- MANUFACTURING_ORG_ID – Inventory organization context for the exception.
- REVISION_LOW / REVISION_HIGH – Lower and upper revision bounds covered by the exception.
- START_DATE_ACTIVE / END_DATE_ACTIVE – Effective date range of the exception.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 – Descriptive flexfield context and segment values.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN – Standard WHO audit columns.
- ACCOUNT_NUMBER – Party number from OKX_PARTIES_V.PARTY_NUMBER.
- ACCOUNT_NAME – Party name from OKX_PARTIES_V.NAME.
- CUST_STATUS – Party status from OKX_PARTIES_V.STATUS, indicating the customer's current state.
Common Use Cases and Queries
Typical uses include service availability reporting, exception auditing by customer, and integration extracts that must carry the account context. All queries are read-only SELECT statements. A simple customer-facing listing is:
SELECT id, account_number, account_name, cust_status, start_date_active, end_date_active FROM oks_serv_custexc_v;
To inspect exceptions for a specific account and active window:
SELECT c.sav_id, c.id, c.account_name, c.revision_low, c.revision_high FROM oks_serv_custexc_v c WHERE c.account_number = :p_account AND SYSDATE BETWEEN c.start_date_active AND NVL(c.end_date_active, SYSDATE + 1);
Because the underlying join is constrained to the OKX_PARTY object code, joins back to party or service availability entities are straightforward, and no additional object-type filtering is required. Care should be taken that the outer join behaviour of the party view is understood: rows in OKS_SERV_AVAIL_EXCEPTS without a matching party would not be returned by this view, so callers needing all exceptions irrespective of party should query the base table directly.
-
View: OKS_SERV_CUSTEXC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_SERV_CUSTEXC_V, object_name:OKS_SERV_CUSTEXC_V, status:VALID, product: OKS - Service Contracts , description: View for Service Availability Exceptions and Parties , implementation_dba_data: APPS.OKS_SERV_CUSTEXC_V ,
-
View: OKS_SERV_CUSTEXC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_SERV_CUSTEXC_V, object_name:OKS_SERV_CUSTEXC_V, status:VALID, product: OKS - Service Contracts , description: View for Service Availability Exceptions and Parties , implementation_dba_data: APPS.OKS_SERV_CUSTEXC_V ,
-
SYNONYM: APPS.OKS_SERV_AVAIL_EXCEPTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_SERV_AVAIL_EXCEPTS, status:VALID,
-
SYNONYM: APPS.OKS_SERV_AVAIL_EXCEPTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_SERV_AVAIL_EXCEPTS, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.OKS_SERV_CUSTEXC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_SERV_CUSTEXC_V, object_name:OKS_SERV_CUSTEXC_V, status:VALID,
-
VIEW: APPS.OKS_SERV_CUSTEXC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_SERV_CUSTEXC_V, object_name:OKS_SERV_CUSTEXC_V, status:VALID,
-
VIEW: APPS.OKX_PARTIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTIES_V, object_name:OKX_PARTIES_V, status:VALID,
-
VIEW: APPS.OKX_PARTIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTIES_V, object_name:OKX_PARTIES_V, status:VALID,
-
eTRM - OKX Tables and Views
12.1.1
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - OKX Tables and Views
12.1.1
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,