129: --
130: -- The primary key is invalid therefore we must error
131: --
132: close csr_leg_code;
133: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
134: fnd_message.raise_error;
135: end if;
136: hr_utility.set_location(l_proc,30);
137: --
130: -- The primary key is invalid therefore we must error
131: --
132: close csr_leg_code;
133: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
134: fnd_message.raise_error;
135: end if;
136: hr_utility.set_location(l_proc,30);
137: --
138: -- Set the global variables so the values are