2394: --
2395: -- The primary key is invalid therefore we must error
2396: --
2397: close csr_leg_code;
2398: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
2399: fnd_message.raise_error;
2400: end if;
2401: --
2402: hr_utility.set_location(' Leaving:'|| l_proc, 30);
2395: -- The primary key is invalid therefore we must error
2396: --
2397: close csr_leg_code;
2398: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
2399: fnd_message.raise_error;
2400: end if;
2401: --
2402: hr_utility.set_location(' Leaving:'|| l_proc, 30);
2403: --