Search Results material_shortage_disp
Overview
EAM_WORK_ORDER_DETAILS_V is a reporting and integration view owned by the APPS schema in Oracle E-Business Suite, delivered with the Enterprise Asset Management (EAM) product. It is defined over the EAM_WORK_ORDER_DETAILS table and enriches that base data with user-defined work order status descriptions, human-readable material shortage descriptions, and construction estimate references. The view exists because the underlying work order detail record stores only coded identifiers; the view resolves those codes into operational meaning for display in forms, reports, and downstream integrations.
Two derived behaviors distinguish the view. First, it derives a user-defined work order status through the EAM_WO_STATUSES_V view, and where the PENDING_FLAG is set to "Y" it appends the localized pending suffix obtained from FND_MESSAGE.GET_STRING for the EAM/EAM_PENDING_TEXT message. Second, it translates the MATERIAL_SHORTAGE_FLAG into a display value via the EAM_MATERIAL_SHORTAGE lookup, producing the MATERIAL_SHORTAGE_DISP column. The view is therefore the standard access point for any process that requires work order status and material shortage information in a presentation-ready form.
Underlying Base Objects
The view is constructed from four referenced objects joined in a single SELECT. The driving object is EAM_WORK_ORDER_DETAILS (aliased EWOD), a synonym resolving to the work order details table in the APPS schema. Status resolution is performed against EAM_WO_STATUSES_V (EWSV), a synonym for the EAM work order statuses view, joined on EWSV.STATUS_ID = EWOD.USER_DEFINED_STATUS_ID. Material shortage descriptions are resolved through MFG_LOOKUPS (ML), an Oracle Manufacturing lookups view, using an outer join on LOOKUP_TYPE = 'EAM_MATERIAL_SHORTAGE' where the lookup code equals the material shortage flag and ENABLED_FLAG is "Y". Construction estimate data is supplied by an outer join to EAM_CONSTRUCTION_ESTIMATES (ECE) on ECE.ESTIMATE_ID = EWOD.ESTIMATE_ID. The view text also invokes the FND_MESSAGE package function GET_STRING to retrieve the pending status literal at query time.
Key Columns
- WIP_ENTITY_ID – Primary work order identifier linking the detail record to the WIP entity.
- ORGANIZATION_ID – Inventory organization that owns the work order.
- USER_DEFINED_STATUS_ID – Foreign key to the user-defined status; resolved by the view into WORK_ORDER_STATUS.
- WORK_ORDER_STATUS – Meaning of the user-defined status returned from EAM_WO_STATUSES_V.
- WORK_ORDER_STATUS_PENDING – Derived column that appends the EAM_PENDING_TEXT message to WORK_ORDER_STATUS when PENDING_FLAG is "Y".
- PENDING_FLAG – Indicates whether the work order is in a pending state; drives the derived status column.
- MATERIAL_SHORTAGE_FLAG – Coded flag indicating a material shortage condition.
- MATERIAL_SHORTAGE_DISP – Lookup meaning for the shortage flag, sourced from MFG_LOOKUPS.
- MATERIAL_SHORTAGE_CHECK_DATE – Date on which the material shortage check was last performed.
- WORKFLOW_TYPE – Identifies the workflow category associated with the work order detail record.
- WARRANTY_CLAIM_STATUS, WARRANTY_ACTIVE – Warranty claim and warranty activity indicators.
- CYCLE_ID, SEQ_ID – Preventive maintenance cycle and sequence identifiers.
- DS_SCHEDULED_FLAG – Indicates whether the record is scheduled through the data source scheduler.
- PM_SUGGESTED_START_DATE, PM_SUGGESTED_END_DATE – Suggested preventive maintenance window.
- FAILURE_CODE_REQUIRED – Indicates whether a failure code must be recorded.
- ESTIMATE_ID, ESTIMATE_NUMBER – Construction estimate reference and number from EAM_CONSTRUCTION_ESTIMATES.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID – Concurrent request audit columns.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN – Standard who-column audit trail.
Common Use Cases and Queries
Typical usage includes work order status dashboards, material shortage exception reports, maintenance scheduling extracts, and integrations that must present statuses and shortage descriptions as text rather than codes. Because the view already performs status, lookup, and estimate resolution, queries against it require no additional joins to lookups.
Retrieve active status and shortage information for a work order:
SELECT wip_entity_id, organization_id, work_order_status_pending, material_shortage_disp, material_shortage_check_date FROM eam_work_order_details_v WHERE wip_entity_id = :wip_entity_id;
Identify work orders with material shortages:
SELECT wip_entity_id, organization_id, work_order_status, material_shortage_disp FROM eam_work_order_details_v WHERE material_shortage_flag = 'Y' ORDER BY organization_id, wip_entity_id;
Report pending work orders by status:
SELECT work_order_status, COUNT(*) FROM eam_work_order_details_v WHERE pending_flag = 'Y' GROUP BY work_order_status;
Join to construction estimates for planning extracts:
SELECT wip_entity_id, estimate_number, pm_suggested_start_date, pm_suggested_end_date FROM eam_work_order_details_v WHERE estimate_id IS NOT NULL;
Because several joins in the view are outer joins, records are returned even when material shortage lookup values or construction estimates are absent, which suits exception reporting. The dependency on EAM_WO_STATUSES_V and FND_MESSAGE.GET_STRING means the returned status text reflects the currently defined statuses and the installed language at execution time.
-
View: EAM_WORK_ORDER_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_WORK_ORDER_DETAILS_V, object_name:EAM_WORK_ORDER_DETAILS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View based on the table eam_work_order_details to display user defined statuses based on pending flag and also displays material shortage description , implementation_dba_data: APPS.EAM_WORK_ORDER_DETAILS_V ,
-
VIEW: APPS.EAM_WORK_ORDER_DETAILS_V
12.1.1
-
VIEW: APPS.EAM_WORK_ORDER_DETAILS_V
12.2.2
-
VIEW: APPS.EAM_WORK_ORDER_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_WORK_ORDER_DETAILS_V, object_name:EAM_WORK_ORDER_DETAILS_V, status:VALID,
-
VIEW: APPS.EAM_WORK_ORDER_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:EAM_WORK_ORDER_DETAILS_V, status:VALID,
-
View: EAM_CFR_WORK_ORDER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_CFR_WORK_ORDER_V, object_name:EAM_CFR_WORK_ORDER_V, status:VALID, product: EAM - Enterprise Asset Management , description: This view displays details of all maintenance work orders.This view is used for ERES at the time of work order completion in the XGM. , implementation_dba_data: APPS.EAM_CFR_WORK_ORDER_V ,
-
VIEW: APPS.EAM_WORK_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_WORK_ORDERS_V, object_name:EAM_WORK_ORDERS_V, status:VALID,
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_CFR_WORK_ORDER_V, object_name:EAM_CFR_WORK_ORDER_V, status:VALID,
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.1.1
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.1.1
owner:APPS, object_type:VIEW, object_name:EAM_CFR_WORK_ORDER_V, status:VALID,
-
VIEW: APPS.EAM_CFR_WORK_ORDER_V
12.2.2
-
VIEW: APPS.EAM_WORK_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_WORK_ORDERS_V, object_name:EAM_WORK_ORDERS_V, status:VALID,
-
VIEW: APPS.WIP_EAM_WORK_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_WORK_ORDERS_V, object_name:WIP_EAM_WORK_ORDERS_V, status:VALID,
-
VIEW: APPS.WIP_EAM_WORK_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_WORK_ORDERS_V, object_name:WIP_EAM_WORK_ORDERS_V, status:VALID,
-
View: EAM_WORK_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_WORK_ORDERS_V, object_name:EAM_WORK_ORDERS_V, status:VALID, product: EAM - Enterprise Asset Management , description: View shows all maintenance work orders along with the work requests/service requests associated to them. , implementation_dba_data: APPS.EAM_WORK_ORDERS_V ,
-
View: WIP_EAM_WORK_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_WORK_ORDERS_V, object_name:WIP_EAM_WORK_ORDERS_V, status:VALID, product: WIP - Work in Process , description: Maintenance Work Orders , implementation_dba_data: APPS.WIP_EAM_WORK_ORDERS_V ,
-
View: WIP_EAM_WORK_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_EAM_WORK_ORDERS_V, object_name:WIP_EAM_WORK_ORDERS_V, status:VALID, product: WIP - Work in Process , description: Maintenance Work Orders , implementation_dba_data: APPS.WIP_EAM_WORK_ORDERS_V ,
-
eTRM - EAM Tables and Views
12.2.2
description: Table for storing workflow item type and keys corresponding to a work order ,
-
eTRM - EAM Tables and Views
12.1.1
description: Table for storing workflow item type and keys corresponding to a work order ,
-
eTRM - WIP Tables and Views
12.1.1
-
eTRM - WIP Tables and Views
12.2.2