76: --
77: -- The primary key is invalid therefore we must error
78: --
79: close csr_leg_code;
80: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
81: fnd_message.raise_error;
82: end if;
83: hr_utility.set_location(l_proc,30);
84: --
77: -- The primary key is invalid therefore we must error
78: --
79: close csr_leg_code;
80: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
81: fnd_message.raise_error;
82: end if;
83: hr_utility.set_location(l_proc,30);
84: --
85: --