Line 1530: eam_pm_utils.update_pm_when_uncomplete(i_org_id, x_wip_entity_id);
1526: /*
1527: Last service info needs to be uncompleted for both the work orders.
1528: */
1529: if(i_maintenance_source_id = 1) then -- added to check whether work order is of 'EAM' or 'CRMO'.'EAM=1' 1530: eam_pm_utils.update_pm_when_uncomplete(i_org_id, x_wip_entity_id); 1531: end if; -- end of source entity check
1532:
1533: -- initial the rest important variable
1534: i_status_type := WIP_CONSTANTS.RELEASED;