Search Results oke_contract_line_id
Overview
APPS.PO_SGD_MOD_DISTRIBUTIONS_V is a reporting view in Oracle E-Business Suite that exposes purchase order distribution data in a normalized, attribute-per-row format. Rather than returning one row per distribution with many columns, the view pivots each distribution into multiple rows, where each row carries a column name (COL_NAME) and its corresponding value (COL_VALUE), along with an optional human-readable description (COL_DESC). This "name-value pair" design is characteristic of Oracle's Self-Service Procurement and sourcing/negotiation modules, where distribution attributes can vary by document configuration and are stored generically.
The view is defined over PO_DISTRIBUTIONS_DRAFT_ALL, reflecting draft (in-progress) distribution records rather than finalized distributions. It carries a composite key consisting of PO_HEADER_ID, DRAFT_ID, PO_LINE_ID, LINE_LOCATION_ID, and PO_DISTRIBUTION_ID, allowing consumers to reconstruct the full document hierarchy. Its primary role is to support reporting, integration, and UI display where a flattened, decoded representation of distribution attributes is required.
Underlying Base Objects
The view selects from PO_DISTRIBUTIONS_DRAFT_ALL as its driving table, referencing the PO_GEN_DIFF_PKG package for supporting logic. For decode/description purposes it joins to several dimension objects:
- FND_LOOKUP_VALUES — resolves lookup codes such as CLM_DEFENCE_FUNDING (lookup type PO_FUND_INDICATOR) and DESTINATION_TYPE_CODE (lookup type DESTINATION TYPE) into their meanings.
- HR_LOCATIONS_ALL — resolves DELIVER_TO_LOCATION_ID into a location code.
- PER_ALL_PEOPLE_F — resolves DELIVER_TO_PERSON_ID into a full name, using the effective-dated person record.
- GL_CODE_COMBINATIONS_KFV — resolves code combination IDs (CODE_COMBINATION_ID, ACCRUAL_ACCOUNT_ID, VARIANCE_ACCOUNT_ID) into concatenated segment strings.
- PA_PROJECTS_ALL and PA_TASKS — resolve PROJECT_ID and TASK_ID into project name and task name.
- HR_ALL_ORGANIZATION_UNITS — resolves EXPENDITURE_ORGANIZATION_ID into an organization name.
- OKC_K_LINES_B — resolves OKE_CONTRACT_LINE_ID into a contract line number.
Because these objects are referenced as synonyms or views, the view presents a denormalized, decoded projection suitable for read-only consumption.
Key Columns
- PK1_VALUE..PK5_VALUE — the composite identifier capturing PO_HEADER_ID, DRAFT_ID, PO_LINE_ID, LINE_LOCATION_ID, and PO_DISTRIBUTION_ID.
- COL_NAME — the distribution attribute name, e.g. DISTRIBUTION_NUM, QUANTITY_ORDERED, QUANTITY_DELIVERED, QUANTITY_BILLED, QUANTITY_CANCELLED, QUANTITY_FINANCED, QUANTITY_RECOUPED, plus decoded attributes such as CLM_DEFENCE_FUNDING, DESTINATION_TYPE_CODE, DELIVER_TO_LOCATION_ID, DELIVER_TO_PERSON_ID, CODE_COMBINATION_ID, ACCRUAL_ACCOUNT_ID, VARIANCE_ACCOUNT_ID, PROJECT_ID, TASK_ID, EXPENDITURE_ORGANIZATION_ID, and OKE_CONTRACT_LINE_ID.
- COL_VALUE — the raw or coded value for the attribute in that row.
- COL_DESC — a decoded, display-friendly description derived via the DECODE logic (e.g., lookup meaning, person full name, contract line number, project name).
The OKE_CONTRACT_LINE_ID attribute is of particular interest: the view resolves it to a contract line number via OKC_K_LINES_B, linking the distribution to its associated service contract line.
Common Use Cases and Queries
Typical scenarios include reconstructing draft distribution details for integration, displaying decoded attributes in custom OAF or Forms pages, and tracing contract references from a distribution. A basic query filtering on the contract line attribute:
SELECT * FROM APPS.PO_SGD_MOD_DISTRIBUTIONS_V WHERE col_name = 'OKE_CONTRACT_LINE_ID';SELECT pk1_value, pk5_value, col_name, col_value, col_desc FROM APPS.PO_SGD_MOD_DISTRIBUTIONS_V WHERE pk5_value = :distribution_id;
Because the view returns name-value pairs, consumers frequently pivot on COL_NAME to produce a conventional wide row. It should be treated as a read-only reporting view and not used for DML.
-
VIEW: APPS.PO_SGD_MOD_DISTRIBUTIONS_V
12.2.2
-
VIEW: PO.PO_REQ_DISTRIBUTIONS_ALL#
12.2.2
-
VIEW: PO.PO_REQ_DIST_INTERFACE_ALL#
12.2.2
-
View: PO_REQ_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQ_DISTRIBUTIONS_V, object_name:PO_REQ_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY - Retrofitted , implementation_dba_data: APPS.PO_REQ_DISTRIBUTIONS_V ,
-
VIEW: APPS.PO_SGD_DISTRIBUTIONS_V
12.2.2
-
VIEW: APPS.PO_REQ_DISTRIBUTIONS_V
12.1.1
-
View: PO_REQ_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQ_DISTRIBUTIONS_V, object_name:PO_REQ_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY - Retrofitted , implementation_dba_data: APPS.PO_REQ_DISTRIBUTIONS_V ,
-
VIEW: APPS.PO_REQ_DISTRIBUTIONS_V
12.2.2
-
VIEW: PO.PO_DISTRIBUTIONS_DRAFT_ALL#
12.2.2
-
View: PO_SGD_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SGD_DISTRIBUTIONS_V, object_name:PO_SGD_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_SGD_DISTRIBUTIONS_V ,
-
View: PO_SGD_MOD_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SGD_MOD_DISTRIBUTIONS_V, object_name:PO_SGD_MOD_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_SGD_MOD_DISTRIBUTIONS_V ,
-
VIEW: APPS.PO_DISTRIBUTION_CHANGES_V
12.2.2
-
VIEW: PO.PO_DISTRIBUTIONS_ARCHIVE_ALL#
12.2.2
-
VIEW: PO.PO_DISTRIBUTIONS_ALL#
12.2.2
-
View: PO_DISTRIBUTIONS_ALL_MRC_V
12.1.1
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
VIEW: PO.PO_DISTRIBUTIONS_INTERFACE#
12.2.2
-
View: PO_DISTRIBUTIONS_MRC_V
12.2.2
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: PO_DISTRIBUTIONS_MRC_V
12.1.1
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: PO_DISTRIBUTIONS_ALL_MRC_V
12.2.2
product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.POBV_REQUISITION_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_DISTRIBUTIONS, object_name:POBV_REQUISITION_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_REQUISITION_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_DISTRIBUTIONS, object_name:POBV_REQUISITION_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.PO_DISTRIBUTIONS_DIFF_V
12.2.2
-
VIEW: APPS.PO_DISTRIBUTIONS_DRAFT_DIFF_V
12.2.2
-
VIEW: APPS.POBV_PLAN_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PLAN_PO_DISTRIBUTIONS, object_name:POBV_PLAN_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: PO.PO_REQ_DISTRIBUTIONS_ALL#
12.2.2
owner:PO, object_type:VIEW, object_name:PO_REQ_DISTRIBUTIONS_ALL#, status:VALID,
-
View: PO_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_DISTRIBUTIONS_V, object_name:PO_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY , implementation_dba_data: APPS.PO_DISTRIBUTIONS_V ,
-
VIEW: APPS.POBV_SCHEDULED_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_SCHEDULED_DISTRIBUTIONS, object_name:POBV_SCHEDULED_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POFV_REQUISITION_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_REQUISITION_DISTRIBUTIONS, object_name:POFV_REQUISITION_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_PLAN_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PLAN_PO_DISTRIBUTIONS, object_name:POBV_PLAN_PO_DISTRIBUTIONS, status:VALID,
-
View: PO_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_DISTRIBUTIONS_V, object_name:PO_DISTRIBUTIONS_V, status:VALID, product: PO - Purchasing , description: 10SC ONLY , implementation_dba_data: APPS.PO_DISTRIBUTIONS_V ,
-
TABLE: PO.PO_REQ_DISTRIBUTIONS_GT
12.2.2
owner:PO, object_type:TABLE, object_name:PO_REQ_DISTRIBUTIONS_GT, status:VALID,
-
TABLE: PO.PO_REQ_DISTRIBUTIONS_GT
12.1.1
owner:PO, object_type:TABLE, object_name:PO_REQ_DISTRIBUTIONS_GT, status:VALID,
-
VIEW: APPS.POBV_SCHEDULED_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_SCHEDULED_DISTRIBUTIONS, object_name:POBV_SCHEDULED_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POFV_REQUISITION_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_REQUISITION_DISTRIBUTIONS, object_name:POFV_REQUISITION_DISTRIBUTIONS, status:VALID,
-
VIEW: PO.PO_REQ_DIST_INTERFACE_ALL#
12.2.2
owner:PO, object_type:VIEW, object_name:PO_REQ_DIST_INTERFACE_ALL#, status:VALID,
-
VIEW: APPS.POBV_STD_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_STD_PO_DISTRIBUTIONS, object_name:POBV_STD_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_BKT_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_BKT_PO_DISTRIBUTIONS, object_name:POBV_BKT_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_BKT_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_BKT_PO_DISTRIBUTIONS, object_name:POBV_BKT_PO_DISTRIBUTIONS, status:VALID,
-
View: POBV_REQUISITION_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_DISTRIBUTIONS, object_name:POBV_REQUISITION_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_REQUISITION_DISTRIBUTIONS ,
-
TYPE: APPS.PO_DIST_MOD_P_LOCK_ATTRS
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_DIST_MOD_P_LOCK_ATTRS, status:VALID,
-
VIEW: APPS.POBV_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PO_DISTRIBUTIONS, object_name:POBV_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_STD_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_STD_PO_DISTRIBUTIONS, object_name:POBV_STD_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POBV_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_PO_DISTRIBUTIONS, object_name:POBV_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: PO.PO_REQUISITIONS_INTERFACE_ALL#
12.2.2
-
View: POBV_REQUISITION_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_REQUISITION_DISTRIBUTIONS, object_name:POBV_REQUISITION_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_REQUISITION_DISTRIBUTIONS ,
-
VIEW: APPS.POFV_PLAN_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_DISTRIBUTIONS, object_name:POFV_PLAN_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POFV_BKT_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_DISTRIBUTIONS, object_name:POFV_BKT_PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.POFV_SCHEDULED_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_SCHEDULED_DISTRIBUTIONS, object_name:POFV_SCHEDULED_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.PO_DISTRIBUTIONS_V
12.2.2
-
View: POBV_BKT_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POBV_BKT_PO_DISTRIBUTIONS, object_name:POBV_BKT_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POBV_BKT_PO_DISTRIBUTIONS ,