The following lines contain the word 'select', 'insert', 'update' or 'delete':
select department_id into x_eam_mat_req_rec.department_id
from wip_operations
where wip_entity_id = p_eam_mat_req_rec.wip_entity_id
and organization_id = p_eam_mat_req_rec.organization_id
and operation_seq_num = p_eam_mat_req_rec.operation_seq_num;
IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing null columns prior update'); END IF;
IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Done processing null columns prior update'); END IF;
SELECT
WIP_ENTITY_ID WIP_ENTITY_ID
, ORGANIZATION_ID ORGANIZATION_ID
, OPERATION_SEQ_NUM OPERATION_SEQ_NUM
, INVENTORY_ITEM_ID INVENTORY_ITEM_ID
, 2 TRANSACTION_TYPE
FROM wip_requirement_operations
WHERE organization_id = p_organization_id
and wip_entity_id = p_wip_entity_id
and operation_seq_num = 1;