228: ,p_argument_value => p_phone_type
229: );
230: --
231: if p_phone_number is null then
232: fnd_message.set_name('PER','PER_449911_MANDATORY_PHN_NUM');
233: fnd_message.raise_error;
234: end if;
235: --
236: -- Only proceed with validation if :
229: );
230: --
231: if p_phone_number is null then
232: fnd_message.set_name('PER','PER_449911_MANDATORY_PHN_NUM');
233: fnd_message.raise_error;
234: end if;
235: --
236: -- Only proceed with validation if :
237: -- a) The current g_old_rec is current and
1177: ,p_lookup_type => 'IRC_CONTACT_TIMES'
1178: ,p_lookup_code => p_validity
1179: )
1180: then
1181: fnd_message.set_name('PER','PER_289551_BAD_PHN_VALIDITY');
1182: fnd_message.raise_error;
1183: end if;
1184: end if;
1185: hr_utility.set_location(' Leaving:'||l_proc, 20);
1178: ,p_lookup_code => p_validity
1179: )
1180: then
1181: fnd_message.set_name('PER','PER_289551_BAD_PHN_VALIDITY');
1182: fnd_message.raise_error;
1183: end if;
1184: end if;
1185: hr_utility.set_location(' Leaving:'||l_proc, 20);
1186: exception