Search Results oks_pma_v
Overview
OKS_PMA_V is an Oracle E-Business Suite view owned by the APPS schema within the OKS – Service Contracts product family. Its purpose is narrow and well defined: it exposes every activity (rule) that has been selected against a contract, presenting that information in a shape optimized for the Service Contracts Forms user interface. The documented description explicitly states that the view is intended only for Forms UI development, meaning it should not be treated as a general-purpose integration or reporting interface. That constraint matters because the view surfaces several columns drawn directly from generic rule-information flexfields rather than from purpose-built attributes.
The view has no independent storage. It is a pure projection over two base rule-group and rule tables and therefore reflects the live state of contract rule configuration at query time.
Underlying Base Objects
The view is defined over two documented base objects, both referenced through synonyms in the APPS schema:
- OKC_RULE_GROUPS_B – aliased as RGP. Supplies the rule-group container, including CLE_ID and DNZ_CHR_ID.
- OKC_RULES_B – aliased as RUL. Supplies the individual rule rows, their object identifiers, flexfield information, and audit columns.
The join is RUL.RGP_ID = RGP.ID, restricted by three predicates: RGP.RGD_CODE = 'SVC_K', RUL.RULE_INFORMATION_CATEGORY = 'PMA', and the implicit requirement that the rule belongs to a service rule group. Rule identifiers are carried in paired OBJECT1_ID1/OBJECT1_ID2 and OBJECT2_ID1/OBJECT2_ID2 columns, and descriptive flags are read from RULE_INFORMATION1 through RULE_INFORMATION3.
Key Columns
- ROW_ID – the ROWID of the underlying OKC_RULES_B row; useful for Forms row-level operations.
- SELECT_FLAG – from RUL.RULE_INFORMATION1; the flag searched for as "select_flag", indicating whether the activity is selected.
- CONFIRMATION_REQUIRED – from RUL.RULE_INFORMATION2.
- SCHEDULE_EXISTS – from RUL.RULE_INFORMATION3.
- ACTIVITY_ID1 / ACTIVITY_ID2 – from RUL.OBJECT1_ID1 and OBJECT1_ID2; identify the referenced activity.
- PMP_RULE_ID / PMP_RULE_ID2 – from RUL.OBJECT2_ID1 and OBJECT2_ID2; refer to the parent/primary rule.
- PMA_RULE_ID / OBJECT_VERSION_NUMBER – rule surrogate key and optimistic locking version.
- CLE_ID / DNZ_CHR_ID – contract line and contract header identifiers from the rule group.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN – standard audit columns.
Common Use Cases and Queries
Typical usage is to retrieve selected activities for a given contract or contract line, often filtered on SELECT_FLAG.
- List all selected PMA activities for a contract line:
SELECT pma_rule_id, activity_id1, activity_id2, select_flag FROM apps.oks_pma_v WHERE cle_id = :cle_id AND select_flag = 'Y'; - Check confirmation and scheduling attributes for a contract header:
SELECT dnz_chr_id, pma_rule_id, confirmation_required, schedule_exists FROM apps.oks_pma_v WHERE dnz_chr_id = :chr_id; - Join back to contract structures by CLE_ID/DNZ_CHR_ID for reporting on selected service activities.
Because the view is documented for Forms UI use only, direct queries should be limited to diagnostics and support investigations rather than production reporting or integration, as the underlying flexfield-based columns and the 'PMA' category restriction are not part of a published, stable interface contract.
-
View: OKS_PMA_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_PMA_V, object_name:OKS_PMA_V, status:VALID, product: OKS - Service Contracts , description: This view displays all the activities (rules) selected in contracts. This view is only to be used for the forms UI development. , implementation_dba_data: APPS.OKS_PMA_V ,
-
View: OKS_PMA_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_PMA_V, object_name:OKS_PMA_V, status:VALID, product: OKS - Service Contracts , description: This view displays all the activities (rules) selected in contracts. This view is only to be used for the forms UI development. , implementation_dba_data: APPS.OKS_PMA_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.OKS_PMA_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_PMA_V, object_name:OKS_PMA_V, status:VALID,
-
VIEW: APPS.OKS_PMA_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_PMA_V, object_name:OKS_PMA_V, status:VALID,
-
SYNONYM: APPS.OKC_RULE_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_GROUPS_B, status:VALID,
-
SYNONYM: APPS.OKC_RULE_GROUPS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_GROUPS_B, status:VALID,
-
SYNONYM: APPS.OKC_RULES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RULES_B, status:VALID,
-
SYNONYM: APPS.OKC_RULES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RULES_B, status:VALID,
-
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 - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,