253: -- Found one unlocked record. So set the flag and exit from the loop
254: l_found :='F'; -- Found
255: exit;
256: exception 257: when hr_api.object_locked then 258: -- The present record is locked. So try for another
259: fetch csr_summary_id into l_summary_id;
260: if (csr_summary_id%notfound) then
261: -- All records are locked. So set the flag to Locked