425: close csr_leg_code;
426: --
427: -- The primary key is invalid therefore we must error
428: --
429: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
430: fnd_message.raise_error;
431: --
432: end if;
433: --
426: --
427: -- The primary key is invalid therefore we must error
428: --
429: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
430: fnd_message.raise_error;
431: --
432: end if;
433: --
434: close csr_leg_code;