4149: -- The primary key is invalid therefore we must error
4150: --
4151: CLOSE csr_leg_code;
4152: --
4153: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
4154: fnd_message.raise_error;
4155: --
4156: END IF;
4157: --
4150: --
4151: CLOSE csr_leg_code;
4152: --
4153: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
4154: fnd_message.raise_error;
4155: --
4156: END IF;
4157: --
4158: hr_utility.set_location(l_proc,20);