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
1183: ,p_lookup_type => 'IRC_CONTACT_TIMES'
1184: ,p_lookup_code => p_validity
1185: )
1186: then
1187: fnd_message.set_name('PER','PER_289551_BAD_PHN_VALIDITY');
1188: fnd_message.raise_error;
1189: end if;
1190: end if;
1191: hr_utility.set_location(' Leaving:'||l_proc, 20);
1184: ,p_lookup_code => p_validity
1185: )
1186: then
1187: fnd_message.set_name('PER','PER_289551_BAD_PHN_VALIDITY');
1188: fnd_message.raise_error;
1189: end if;
1190: end if;
1191: hr_utility.set_location(' Leaving:'||l_proc, 20);
1192: exception