128: ;
129: --
130: cursor c1 is
131: select null
132: from hr_all_organization_units a
133: where a.organization_id = p_organization_id;
134: --
135: --
136: Begin
155: if c1%notfound then
156: --
157: close c1;
158: --
159: -- raise error as FK does not relate to PK in hr_all_organization_units
160: -- table.
161: --
162: ben_eln_shd.constraint_error('BEN_ELIG_LGL_PRTE_FK1');
163: --