Line 23: FND_MESSAGE.SET_NAME('801','PER_7901_SYS_DUPLICATE_RECORDS');
19: begin
20: open img_cur;
21: fetch img_cur into l_exists;
22: if img_cur%FOUND then 23: FND_MESSAGE.SET_NAME('801','PER_7901_SYS_DUPLICATE_RECORDS'); 24: APP_EXCEPTION.RAISE_EXCEPTION;
25: end if;
26: close img_cur;
27: end check_unique;