Search Results operation_dept_code
Overview
EAM_DIRECT_ITEMS_V is a read-only dictionary view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the Enterprise Asset Management (EAM) product family and exposes the direct-item detail lines associated with work order cost estimates. As documented in ETRM, the view "shows the details of direct items from cst_eam_wo_estimate_details table." In practical terms, it presents requisitioned and purchase-ordered direct material and service lines captured against a work order estimate, decorated with department, item, and procurement reference information.
The view plays a reporting and integration role rather than a transactional one. Because it flattens EAM estimate detail rows into a denormalized, human-readable form—resolving department code, requisition number, and purchase order number—it is well suited to cost-analysis reports, work order estimate inquiries, and downstream extracts. Status is VALID in the documented environment, confirming the view compiles cleanly against its base objects.
Underlying Base Objects
The view is defined over the following documented base objects, all referenced through APPS synonyms:
- CST_EAM_WO_ESTIMATE_DETAILS — the driving table, holding the direct-item estimate lines per WIP entity, organization, operation sequence, and owning department.
- BOM_DEPARTMENTS — joined on ORGANIZATION_ID and DEPARTMENT_ID = EED.OWNING_DEPT_ID to supply the department code.
- PO_REQUISITION_HEADERS_ALL — correlated subquery supplying the requisition number.
- PO_HEADERS_ALL — correlated subquery supplying the purchase order number.
- MTL_SYSTEM_ITEMS_KFV — listed in the documented metadata as a referenced object for item description resolution.
The join between the estimate details and BOM_DEPARTMENTS is an inner join, so only lines whose owning department resolves within the same organization are returned. The WHERE clause restricts output to lines that are either requisitioned (with an uncancelled or null req line cancel flag) or purchase-ordered (with an uncancelled or null PO line cancel flag), excluding cancelled procurement lines.
Key Columns
- WIP_ENTITY_ID — the work order (WIP entity) the estimate line belongs to.
- ORGANIZATION_ID — the inventory organization context.
- OPERATIONS_DEPT_ID — internal identifier of the operation's department.
- OPERATIONS_SEQ_NUM — operation sequence number within the work order routing.
- OPERATION_DEPT_CODE — the department code exposed by the view; this is the column users commonly search for as "operation_dept_code". It derives from BD.DEPARTMENT_CODE.
- ITEM_DESCRIPTION — description of the direct item on the estimate line.
- ITEM_COST — unit cost of the direct item.
- REQUIRED_QUANTITY — quantity required for the line.
- REQUISITION_NUMBER — SEGMENT1 of the linked requisition, if any.
- PO_NUMBER — SEGMENT1 of the linked purchase order, if any.
- TOTAL_DIRECT_COST — ESTIMATED_COST from the estimate detail, representing the total direct cost for the line.
Common Use Cases and Queries
Typical scenarios include reconciling direct material cost against a work order estimate, listing requisitioned or ordered items by operation department, and feeding cost data into custom reports or extracts.
To retrieve all direct items for a specific work order:
SELECT wip_entity_id, organization_id, operation_dept_code, operations_seq_num, item_description, item_cost, required_quantity, requisition_number, po_number, total_direct_cost FROM apps.eam_direct_items_v WHERE wip_entity_id = :wip_entity_id ORDER BY operations_seq_num;
To summarize total direct cost by department code for an organization:
SELECT operation_dept_code, SUM(total_direct_cost) total_cost FROM apps.eam_direct_items_v WHERE organization_id = :org_id GROUP BY operation_dept_code;
To list only purchased (non-requisition) items:
SELECT wip_entity_id, po_number, item_description, required_quantity FROM apps.eam_direct_items_v WHERE po_number IS NOT NULL;
Because the view performs correlated subqueries per row, queries against large work order populations can be expensive; filtering by WIP_ENTITY_ID or ORGANIZATION_ID is recommended. Note that the view exposes only non-cancelled procurement lines and inner-joins to BOM_DEPARTMENTS, so lines with unresolved departments are excluded.
-
View: EAM_DIRECT_ITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_DIRECT_ITEMS_V, object_name:EAM_DIRECT_ITEMS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows the details of direct items from cst_eam_wo_estimate_details table. , implementation_dba_data: APPS.EAM_DIRECT_ITEMS_V ,
-
View: EAM_MATERIALS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_MATERIALS_V, object_name:EAM_MATERIALS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows the details of materials for a work order , implementation_dba_data: APPS.EAM_MATERIALS_V ,
-
View: EAM_MATERIALS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_MATERIALS_V, object_name:EAM_MATERIALS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows the details of materials for a work order , implementation_dba_data: APPS.EAM_MATERIALS_V ,
-
View: EAM_RESOURCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RESOURCES_V, object_name:EAM_RESOURCES_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows all the resources for a work order based on table cst_eam_wo_estimate_details , implementation_dba_data: APPS.EAM_RESOURCES_V ,
-
View: EAM_DIRECT_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_DIRECT_ITEMS_V, object_name:EAM_DIRECT_ITEMS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows the details of direct items from cst_eam_wo_estimate_details table. , implementation_dba_data: APPS.EAM_DIRECT_ITEMS_V ,
-
View: EAM_RESOURCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RESOURCES_V, object_name:EAM_RESOURCES_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows all the resources for a work order based on table cst_eam_wo_estimate_details , implementation_dba_data: APPS.EAM_RESOURCES_V ,