DBA Data[Home] [Help]

VIEW: APPS.EAM_MATERIALS_V

Source

View Text - Preformatted

SELECT eed.wip_entity_id, eed.organization_id, eed.operations_dept_id, eed.operations_seq_num, bd.department_code, msik.concatenated_segments, eed.required_quantity, eed.item_cost, nvl(eed.item_cost,0)*nvl(eed.required_quantity,0) from cst_eam_wo_estimate_details eed, mtl_system_items_kfv msik, bom_departments bd WHERE eed.inventory_item_id=msik.inventory_item_id and eed.organization_id=msik.organization_id and eed.organization_id=bd.organization_id and bd.department_id=eed.owning_dept_id and nvl(eed.direct_item,'N') <> 'Y' and msik.stock_enabled_flag='Y'
View Text - HTML Formatted

SELECT EED.WIP_ENTITY_ID
, EED.ORGANIZATION_ID
, EED.OPERATIONS_DEPT_ID
, EED.OPERATIONS_SEQ_NUM
, BD.DEPARTMENT_CODE
, MSIK.CONCATENATED_SEGMENTS
, EED.REQUIRED_QUANTITY
, EED.ITEM_COST
, NVL(EED.ITEM_COST
, 0)*NVL(EED.REQUIRED_QUANTITY
, 0)
FROM CST_EAM_WO_ESTIMATE_DETAILS EED
, MTL_SYSTEM_ITEMS_KFV MSIK
, BOM_DEPARTMENTS BD
WHERE EED.INVENTORY_ITEM_ID=MSIK.INVENTORY_ITEM_ID
AND EED.ORGANIZATION_ID=MSIK.ORGANIZATION_ID
AND EED.ORGANIZATION_ID=BD.ORGANIZATION_ID
AND BD.DEPARTMENT_ID=EED.OWNING_DEPT_ID
AND NVL(EED.DIRECT_ITEM
, 'N') <> 'Y'
AND MSIK.STOCK_ENABLED_FLAG='Y'