DBA Data[Home] [Help]

APPS.ARH_PHON_PKG dependencies on APP_EXCEPTION

Line 230: app_exception.raise_exception;

226: or cont_point.contact_point_id <> p_phone_id );
227: --
228: if ( primary_count >= 1 ) then
229: fnd_message.set_name('AR','AR_CUST_ONE_PRIMARY_PHONE');
230: app_exception.raise_exception;
231: end if;
232: --
233: elsif (p_type = 'ADDR' ) then
234: --

Line 251: app_exception.raise_exception;

247: or cont_point.contact_point_id <> p_phone_id );
248: --
249: if ( primary_count >= 1 ) then
250: fnd_message.set_name('AR','AR_CUST_ADDR_ONE_PRIMARY_PHONE');
251: app_exception.raise_exception;
252: end if;
253: elsif (p_type = 'CONT' ) then
254: --
255: select count(1)

Line 270: app_exception.raise_exception;

266: or cont_point.contact_point_id <> p_phone_id );
267: --
268: if ( primary_count >= 1 ) then
269: fnd_message.set_name('AR','AR_CUST_CONT_ONE_PRIMARY_PHONE');
270: app_exception.raise_exception;
271: end if;
272: else
273: app_exception.invalid_argument('arp_phones_pkg.check_primary','p_type',p_type);
274:

Line 273: app_exception.invalid_argument('arp_phones_pkg.check_primary','p_type',p_type);

269: fnd_message.set_name('AR','AR_CUST_CONT_ONE_PRIMARY_PHONE');
270: app_exception.raise_exception;
271: end if;
272: else
273: app_exception.invalid_argument('arp_phones_pkg.check_primary','p_type',p_type);
274:
275: end if;
276: --
277: END check_primary;