76: --
77: -- The primary key is invalid therefore we must error
78: --
79: CLOSE csr_bus_grp_id;
80: fnd_message.set_name('PER', 'HR_7220_INVALID_PRIMARY_KEY');
81: fnd_message.raise_error;
82: END IF;
83: --
84: IF l_business_group_id IS NULL THEN
77: -- The primary key is invalid therefore we must error
78: --
79: CLOSE csr_bus_grp_id;
80: fnd_message.set_name('PER', 'HR_7220_INVALID_PRIMARY_KEY');
81: fnd_message.raise_error;
82: END IF;
83: --
84: IF l_business_group_id IS NULL THEN
85: --
97: --
98: -- The business_group_id is invalid therefore we must error
99: --
100: CLOSE csr_leg_code;
101: fnd_message.set_name('PER', 'HR_51395_WEB_BUS_GRP_NOT_FND');
102: fnd_message.raise_error;
103: ELSE
104: CLOSE csr_leg_code;
105: END IF;
98: -- The business_group_id is invalid therefore we must error
99: --
100: CLOSE csr_leg_code;
101: fnd_message.set_name('PER', 'HR_51395_WEB_BUS_GRP_NOT_FND');
102: fnd_message.raise_error;
103: ELSE
104: CLOSE csr_leg_code;
105: END IF;
106: hr_utility.set_location(l_proc, 30);