DBA Data[Home] [Help]

APPS.AMS_REGISTRANTS_PVT dependencies on AMS_UTILITY_PVT

Line 78: THEN AMS_Utility_PVT.debug_message(p_log_message);

74: l_api_name := p_api_name;
75: l_log_msg := p_log_message;
76:
77: IF (AMS_DEBUG_HIGH_ON)
78: THEN AMS_Utility_PVT.debug_message(p_log_message);
79: END IF;
80:
81: AMS_Utility_PVT.debug_message(
82: p_log_level => g_log_level,

Line 81: AMS_Utility_PVT.debug_message(

77: IF (AMS_DEBUG_HIGH_ON)
78: THEN AMS_Utility_PVT.debug_message(p_log_message);
79: END IF;
80:
81: AMS_Utility_PVT.debug_message(
82: p_log_level => g_log_level,
83: p_module_name => G_FILE_NAME ||'.'||g_pkg_name||'.'||l_api_name||'.',
84: p_text => p_log_message
85: );

Line 238: AMS_Utility_PVT.Debug_Message('Start of Get Party Id');

234:
235: begin
236: /*
237: IF (AMS_DEBUG_HIGH_ON) THEN
238: AMS_Utility_PVT.Debug_Message('Start of Get Party Id');
239: END IF;
240: */
241: Write_log(L_API_NAME, 'Start of Get Party Id');
242:

Line 277: AMS_Utility_PVT.Debug_Message('Email Not Found');

273: fetch email_exists into l_per_party_id;
274: if email_exists%NOTFOUND THEN
275: /*
276: IF (AMS_DEBUG_HIGH_ON) THEN
277: AMS_Utility_PVT.Debug_Message('Email Not Found');
278: END IF;
279: */
280: Write_log(L_API_NAME, 'Email Not Found');
281: l_stat := NO_EMAIL_FOUND;

Line 291: AMS_Utility_PVT.Debug_Message('Relation ship does not exist');

287: fetch PARTY_REL_EXISTS into l_party_id;
288: IF PARTY_REL_EXISTS%NOTFOUND THEN
289: /*
290: IF (AMS_DEBUG_HIGH_ON) THEN
291: AMS_Utility_PVT.Debug_Message('Relation ship does not exist');
292: END IF;
293: */
294: Write_log(L_API_NAME, 'Relation ship does not exist');
295:

Line 307: AMS_Utility_PVT.Debug_Message('Person exist');

303: x_party_id := l_party_id;
304: /*
305: IF (AMS_DEBUG_HIGH_ON) THEN
306:
307: AMS_Utility_PVT.Debug_Message('Person exist');
308: END IF;
309: */
310: Write_log(L_API_NAME, 'Person exist');
311: else

Line 316: AMS_Utility_PVT.Debug_Message('Person does not exist');

312: x_party_id := null;
313: /*
314: IF (AMS_DEBUG_HIGH_ON) THEN
315:
316: AMS_Utility_PVT.Debug_Message('Person does not exist');
317: END IF;
318: */
319: Write_log(L_API_NAME, 'Person does not exist');
320: end if;

Line 490: AMS_Utility_PVT.Debug_Message('Start');

486: begin
487: /*
488: IF (AMS_DEBUG_HIGH_ON) THEN
489:
490: AMS_Utility_PVT.Debug_Message('Start');
491: END IF;
492: */
493: Write_log(L_API_NAME, 'Start');
494:

Line 524: AMS_Utility_PVT.Debug_Message('Party Name: ' || nvl(p_rec.party_name,'Null'));

520: end if;
521: /*
522: IF (AMS_DEBUG_HIGH_ON) THEN
523:
524: AMS_Utility_PVT.Debug_Message('Party Name: ' || nvl(p_rec.party_name,'Null'));
525: END IF;
526: */
527: Write_log(L_API_NAME, 'Party Name: ' || nvl(p_rec.party_name,'Null'));
528:

Line 532: AMS_UTILITY_PVT.debug_message('In B2b');

528:
529: if p_rec.PARTY_NAME is NOT NULL then
530: /*IF (AMS_DEBUG_HIGH_ON) THEN
531:
532: AMS_UTILITY_PVT.debug_message('In B2b');
533: END IF;*/
534: Write_log(L_API_NAME, 'In B2b');
535: --org_rec.party_rec.orig_system_reference,
536: org_rec.organization_name := p_rec.PARTY_NAME;

Line 623: AMS_UTILITY_PVT.debug_message('B2B: After Party_echeck: ' || x_party_name || ', ' || x_org_party_id);

619: );
620: end if;
621: /*IF (AMS_DEBUG_HIGH_ON) THEN
622:
623: AMS_UTILITY_PVT.debug_message('B2B: After Party_echeck: ' || x_party_name || ', ' || x_org_party_id);
624: END IF;*/
625: Write_log(L_API_NAME, 'B2B: After Party_echeck: ' || x_party_name || ', ' || x_org_party_id);
626: if x_org_party_id is NULL then
627: /*IF (AMS_DEBUG_HIGH_ON) THEN

Line 629: AMS_UTILITY_PVT.debug_message('B2B: Organization is NULL');

625: Write_log(L_API_NAME, 'B2B: After Party_echeck: ' || x_party_name || ', ' || x_org_party_id);
626: if x_org_party_id is NULL then
627: /*IF (AMS_DEBUG_HIGH_ON) THEN
628:
629: AMS_UTILITY_PVT.debug_message('B2B: Organization is NULL');
630: END IF;*/
631: Write_log(L_API_NAME, 'B2B: Organization is NULL');
632: x_party_number := null;
633: if x_generate_party_number = 'N' then

Line 684: AMS_UTILITY_PVT.debug_message('B2B: Errpr creating an organization');

680: then
681: --errbuf := 'ORG -'||substr(org_rec.organization_name,1,25)||'- ERROR-'||substr(x_msg_data,1,180);
682: /*IF (AMS_DEBUG_HIGH_ON) THEN
683:
684: AMS_UTILITY_PVT.debug_message('B2B: Errpr creating an organization');
685: END IF;*/
686: Write_log(L_API_NAME, 'B2B: Errpr creating an organization');
687: AMS_UTILITY_PVT.error_message( 'ORGANIZATION_CREATE_FAILURE'
688: , 'ROW'

Line 687: AMS_UTILITY_PVT.error_message( 'ORGANIZATION_CREATE_FAILURE'

683:
684: AMS_UTILITY_PVT.debug_message('B2B: Errpr creating an organization');
685: END IF;*/
686: Write_log(L_API_NAME, 'B2B: Errpr creating an organization');
687: AMS_UTILITY_PVT.error_message( 'ORGANIZATION_CREATE_FAILURE'
688: , 'ROW'
689: , 'ORG - ' || substr(org_rec.organization_name,1,25) || '- ERROR-' || substr(x_msg_data,1,180)
690: );
691: /*

Line 704: AMS_UTILITY_PVT.debug_message('Created party: ' || x_org_party_id);

700: end if;
701: end if;
702: /*IF (AMS_DEBUG_HIGH_ON) THEN
703:
704: AMS_UTILITY_PVT.debug_message('Created party: ' || x_org_party_id);
705: END IF;*/
706: Write_log(L_API_NAME, 'Created party: ' || x_org_party_id);
707: end if; -- x_org_party_id is NULL
708: x_new_org_party_id := x_org_party_id;

Line 728: AMS_UTILITY_PVT.debug_message(' B2B: After Person' || x_per_party_id);

724: p_email_address => x_email_address );
725: end if;
726: /*IF (AMS_DEBUG_HIGH_ON) THEN
727:
728: AMS_UTILITY_PVT.debug_message(' B2B: After Person' || x_per_party_id);
729: END IF;*/
730: Write_log(L_API_NAME, ' B2B: After Person' || x_per_party_id);
731:
732: x_new_party_id := x_per_party_id;

Line 736: AMS_UTILITY_PVT.debug_message('B2B: Creating Person' || person_rec.person_first_name);

732: x_new_party_id := x_per_party_id;
733: if x_per_party_id is null then
734: /*IF (AMS_DEBUG_HIGH_ON) THEN
735:
736: AMS_UTILITY_PVT.debug_message('B2B: Creating Person' || person_rec.person_first_name);
737: END IF;*/
738: Write_log(L_API_NAME, 'B2B: Creating Person' || person_rec.person_first_name);
739: if person_rec.person_first_name is not null then
740: if x_generate_party_number = 'N' then

Line 785: AMS_UTILITY_PVT.debug_message('B2B: Creating Person sucessful' || person_rec.person_first_name);

781: x_new_party_id := x_per_party_id;
782:
783: /*IF (AMS_DEBUG_HIGH_ON) THEN
784:
785: AMS_UTILITY_PVT.debug_message('B2B: Creating Person sucessful' || person_rec.person_first_name);
786: END IF;*/
787: Write_log(L_API_NAME, 'B2B: Creating Person sucessful' || person_rec.person_first_name);
788:
789: end if;

Line 811: AMS_UTILITY_PVT.debug_message('B2B :Creating Org Contact' || p_pr_party_id);

807: end if;
808: if p_pr_party_id is null then
809: /*IF (AMS_DEBUG_HIGH_ON) THEN
810:
811: AMS_UTILITY_PVT.debug_message('B2B :Creating Org Contact' || p_pr_party_id);
812: END IF;*/
813: Write_log(L_API_NAME, 'B2B :Creating Org Contact' || p_pr_party_id);
814:
815: Select hz_org_contacts_s.nextval into x_org_contact_id from dual;

Line 841: AMS_UTILITY_PVT.debug_message('B2B: Creating org contact' || person_rec.person_first_name);

837: -- ocon_rec.status := 'A';
838: ocon_rec.party_rel_rec.status := 'A';
839: /*IF (AMS_DEBUG_HIGH_ON) THEN
840:
841: AMS_UTILITY_PVT.debug_message('B2B: Creating org contact' || person_rec.person_first_name);
842: END IF;*/
843: Write_log(L_API_NAME, 'B2B: Creating org contact' || person_rec.person_first_name);
844:
845:

Line 898: AMS_UTILITY_PVT.debug_message('B2B:Creating Location' || location_rec.address1);

894: if location_rec.address1 is not NULL then
895: -- Create Location
896: /*IF (AMS_DEBUG_HIGH_ON) THEN
897:
898: AMS_UTILITY_PVT.debug_message('B2B:Creating Location' || location_rec.address1);
899: END IF;*/
900: Write_log(L_API_NAME, 'B2B:Creating Location' || location_rec.address1);
901: x_return_status := null;
902: x_msg_count := null;

Line 949: AMS_UTILITY_PVT.debug_message('B2B:Creating Party_site' || l_lp_psite_id);

945: if l_lp_psite_id is null and x_org_party_id is not null and x_location_id is not null then
946: -- Create Party Site
947: /*IF (AMS_DEBUG_HIGH_ON) THEN
948:
949: AMS_UTILITY_PVT.debug_message('B2B:Creating Party_site' || l_lp_psite_id);
950: END IF;*/
951: Write_log(L_API_NAME, 'B2B:Creating Party_site' || l_lp_psite_id);
952: x_return_status := null;
953: x_msg_count := null;

Line 1061: AMS_UTILITY_PVT.debug_message('B2B:Creating Party_site for contact ' || l_lp_psite_id);

1057: -- Create Party Site
1058:
1059: /*IF (AMS_DEBUG_HIGH_ON) THEN
1060:
1061: AMS_UTILITY_PVT.debug_message('B2B:Creating Party_site for contact ' || l_lp_psite_id);
1062: END IF;*/
1063: Write_log(L_API_NAME, 'B2B:Creating Party_site for contact ' || l_lp_psite_id);
1064:
1065: x_return_status := null;

Line 1191: AMS_UTILITY_PVT.debug_message('B2B:Creating PPhone contact ' || x_party_rel_party_id);

1187: close phone_exists;
1188: if l_phone_exists is NULL then
1189: /*IF (AMS_DEBUG_HIGH_ON) THEN
1190:
1191: AMS_UTILITY_PVT.debug_message('B2B:Creating PPhone contact ' || x_party_rel_party_id);
1192: END IF;*/
1193: Write_log(L_API_NAME, 'B2B:Creating PPhone contact ' || x_party_rel_party_id);
1194: hz_contact_point_v2pub.create_contact_point(
1195: 'F',

Line 1255: AMS_UTILITY_PVT.debug_message('B2B:Creating Email contact ' || x_party_rel_party_id);

1251: close email_exists;
1252: if l_email_exists is NULL then
1253: /*IF (AMS_DEBUG_HIGH_ON) THEN
1254:
1255: AMS_UTILITY_PVT.debug_message('B2B:Creating Email contact ' || x_party_rel_party_id);
1256: END IF;*/
1257: Write_log(L_API_NAME, 'B2B:Creating Email contact ' || x_party_rel_party_id);
1258:
1259: hz_contact_point_v2pub.create_contact_point(

Line 1298: AMS_UTILITY_PVT.debug_message('In B2c ');

1294: else
1295:
1296: /*IF (AMS_DEBUG_HIGH_ON) THEN
1297:
1298: AMS_UTILITY_PVT.debug_message('In B2c ');
1299: END IF;*/
1300: Write_log(L_API_NAME, 'In B2c ');
1301:
1302: person_rec.person_first_name := p_rec.first_name;

Line 1393: AMS_UTILITY_PVT.debug_message('B2c:Party_id exists ' || x_per_party_id);

1389: end if;
1390: x_new_party_id := x_per_party_id;
1391: /*IF (AMS_DEBUG_HIGH_ON) THEN
1392:
1393: AMS_UTILITY_PVT.debug_message('B2c:Party_id exists ' || x_per_party_id);
1394: END IF;*/
1395: Write_log(L_API_NAME, 'B2c:Party_id exists ' || x_per_party_id);
1396:
1397: if x_per_party_id is null then

Line 1410: AMS_UTILITY_PVT.debug_message('B2c:creating Person Party_id ' || x_per_party_id);

1406: x_msg_count := 0;
1407: x_msg_data := null;
1408: /*IF (AMS_DEBUG_HIGH_ON) THEN
1409:
1410: AMS_UTILITY_PVT.debug_message('B2c:creating Person Party_id ' || x_per_party_id);
1411: END IF;*/
1412: Write_log(L_API_NAME, 'B2c:creating Person Party_id ' || x_per_party_id);
1413:
1414: hz_party_v2pub.create_person(

Line 1447: AMS_UTILITY_PVT.debug_message('B2B: Creating Person sucessful' || person_rec.person_first_name);

1443: else
1444: x_new_party_id := x_per_party_id;
1445: /*IF (AMS_DEBUG_HIGH_ON) THEN
1446:
1447: AMS_UTILITY_PVT.debug_message('B2B: Creating Person sucessful' || person_rec.person_first_name);
1448: END IF;*/
1449: Write_log(L_API_NAME, 'B2B: Creating Person sucessful' || person_rec.person_first_name);
1450: end if;
1451: end if; -- x_per_party_id is null then

Line 1477: AMS_UTILITY_PVT.debug_message('B2c:crating Location ' || location_rec.address1);

1473: location_rec.location_id := X_location_Id;
1474: location_rec.orig_system_reference := x_location_id ;
1475: /*IF (AMS_DEBUG_HIGH_ON) THEN
1476:
1477: AMS_UTILITY_PVT.debug_message('B2c:crating Location ' || location_rec.address1);
1478: END IF;*/
1479: Write_log(L_API_NAME, 'B2c:crating Location ' || location_rec.address1);
1480:
1481: hz_location_v2pub.create_location(

Line 1524: AMS_UTILITY_PVT.debug_message('B2c:crating party_site ' || l_lp_psite_id);

1520: -- Create Party Site
1521:
1522: /*IF (AMS_DEBUG_HIGH_ON) THEN
1523:
1524: AMS_UTILITY_PVT.debug_message('B2c:crating party_site ' || l_lp_psite_id);
1525: END IF;*/
1526: Write_log(L_API_NAME, 'B2c:crating party_site ' || l_lp_psite_id);
1527:
1528: x_return_status := null;

Line 1554: AMS_Utility_PVT.Debug_Message('Attempting to create a Party Site');

1550: IF (AMS_DEBUG_HIGH_ON) THEN
1551:
1552:
1553:
1554: AMS_Utility_PVT.Debug_Message('Attempting to create a Party Site');
1555:
1556: END IF;
1557: */
1558:

Line 1575: AMS_Utility_PVT.Debug_Message('Party Site return status: ' || x_return_status);

1571:
1572: /*
1573: IF (AMS_DEBUG_HIGH_ON) THEN
1574:
1575: AMS_Utility_PVT.Debug_Message('Party Site return status: ' || x_return_status);
1576: END IF;
1577: */
1578: Write_log(L_API_NAME, 'Party Site return status: ' || x_return_status);
1579:

Line 1591: AMS_Utility_PVT.Debug_Message('Changed Party Site messages');

1587: END IF;
1588:
1589: /* IF (AMS_DEBUG_HIGH_ON) THEN
1590:
1591: AMS_Utility_PVT.Debug_Message('Changed Party Site messages');
1592: END IF;*/
1593:
1594: Write_log(L_API_NAME, 'Changed Party Site messages');
1595:

Line 1600: AMS_Utility_PVT.Debug_Message('Error Creating Site');

1596: if x_return_status <> 'S' then
1597:
1598: /*IF (AMS_DEBUG_HIGH_ON) THEN
1599:
1600: AMS_Utility_PVT.Debug_Message('Error Creating Site');
1601: END IF;*/
1602:
1603: Write_log(L_API_NAME, 'Error Creating Site');
1604:

Line 1686: AMS_UTILITY_PVT.debug_message('B2c:crating contact - Phone ' || x_per_party_id);

1682: close phone_exists;
1683: if l_phone_exists is NULL then
1684: /*IF (AMS_DEBUG_HIGH_ON) THEN
1685:
1686: AMS_UTILITY_PVT.debug_message('B2c:crating contact - Phone ' || x_per_party_id);
1687: END IF;*/
1688: Write_log(L_API_NAME, 'B2c:crating contact - Phone ' || x_per_party_id);
1689:
1690: hz_contact_point_v2pub.create_contact_point(

Line 1753: AMS_UTILITY_PVT.debug_message('B2c:crating contact - Email ' || x_per_party_id);

1749: close email_exists;
1750: if l_email_exists is NULL then
1751: /*IF (AMS_DEBUG_HIGH_ON) THEN
1752:
1753: AMS_UTILITY_PVT.debug_message('B2c:crating contact - Email ' || x_per_party_id);
1754: END IF;*/
1755: Write_log(L_API_NAME,'B2c:crating contact - Email ' || x_per_party_id);
1756: hz_contact_point_v2pub.create_contact_point(
1757: 'F',

Line 1895: AMS_Utility_PVT.debug_message('person_party_echeck - party key: ' || l_party_key);

1891: , p_last_name => p_per_last_name
1892: );
1893: /*IF (AMS_DEBUG_HIGH_ON) THEN
1894:
1895: AMS_Utility_PVT.debug_message('person_party_echeck - party key: ' || l_party_key);
1896: END IF;*/
1897: Write_log('person_party_echeck','person_party_echeck - party key: ' || l_party_key);
1898:
1899: open c_person_exists;

Line 2049: AMS_UTILITY_PVT.Debug_Message('Customer exists - checking address');

2045: --
2046: if l_cust_exists = 'Y' and p_address1 is not null and p_country is not null then
2047: /*IF (AMS_DEBUG_HIGH_ON) THEN
2048:
2049: AMS_UTILITY_PVT.Debug_Message('Customer exists - checking address');
2050: END IF;*/
2051: Write_log(L_API_NAME, 'Customer exists - checking address');
2052: open c_address_country;
2053: fetch c_address_country into l_ps_party_id;

Line 2060: AMS_UTILITY_PVT.Debug_Message('Did not find an address - checking country...');

2056: -- if party site not found for this address and country then serch for only country
2057: if l_ps_party_id is NULL then
2058: /*IF (AMS_DEBUG_HIGH_ON) THEN
2059:
2060: AMS_UTILITY_PVT.Debug_Message('Did not find an address - checking country...');
2061: END IF;*/
2062: Write_log(L_API_NAME, 'Did not find an address - checking country...');
2063: open c_country;
2064: fetch c_country into l_ps_party_id;

Line 2076: AMS_UTILITY_PVT.Debug_Message('Moving on from address check...');

2072: end if;
2073:
2074:
2075: /*IF (AMS_DEBUG_HIGH_ON) THEN
2076: AMS_UTILITY_PVT.Debug_Message('Moving on from address check...');
2077: END IF;*/
2078: Write_log(L_API_NAME, 'Moving on from address check...');
2079:
2080: --

Line 2404: AMS_Utility_PVT.debug_message(l_full_name || ': start');

2400: -- Standard Start of API savepoint
2401: SAVEPOINT Register_get_party_id_PVT;
2402:
2403: /*IF (AMS_DEBUG_HIGH_ON) THEN
2404: AMS_Utility_PVT.debug_message(l_full_name || ': start');
2405: END IF;*/
2406: Write_log(L_API_NAME, l_full_name || ': start');
2407:
2408:

Line 2445: AMS_Utility_PVT.Debug_Message('Create Party');

2441: */
2442:
2443: /*
2444: IF (AMS_DEBUG_HIGH_ON) THEN
2445: AMS_Utility_PVT.Debug_Message('Create Party');
2446: END IF;
2447: */
2448: Write_log(L_API_NAME, 'Create Party');
2449:

Line 2477: AMS_Utility_PVT.Debug_Message('B2B');

2473: -- it is B2B
2474: l_b2b_flag := 'Y';
2475: /*
2476: IF (AMS_DEBUG_HIGH_ON) THEN
2477: AMS_Utility_PVT.Debug_Message('B2B');
2478: END IF;
2479: */
2480: Write_log(L_API_NAME, 'B2B');
2481: org_rec.organization_name := p_rec.party_name;

Line 2537: AMS_Utility_PVT.Debug_Message('B2C');

2533: -- it is B2C
2534: l_b2b_flag := 'N';
2535: /*
2536: IF (AMS_DEBUG_HIGH_ON) THEN
2537: AMS_Utility_PVT.Debug_Message('B2C');
2538: END IF;
2539: */
2540: Write_log(L_API_NAME, 'B2C');
2541:

Line 2586: AMS_Utility_PVT.Debug_Message('Getting email address: '||email_rec.email_address);

2582: email_rec.email_address := p_rec.email_address;
2583:
2584: /*
2585: IF (AMS_DEBUG_HIGH_ON) THEN
2586: AMS_Utility_PVT.Debug_Message('Getting email address: '||email_rec.email_address);
2587: END IF;
2588: */
2589: Write_log(L_API_NAME, 'Getting email address: '||email_rec.email_address);
2590:

Line 2621: AMS_Utility_PVT.Debug_Message('After create_Customer done');

2617: p_component_name => x_component_name); -- component in which error occurred
2618:
2619: /*
2620: IF (AMS_DEBUG_HIGH_ON) THEN
2621: AMS_Utility_PVT.Debug_Message('After create_Customer done');
2622: AMS_Utility_PVT.Debug_Message('Return Status: '||x_return_status);
2623: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_new_party);
2624: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_component_name);
2625: END IF;

Line 2622: AMS_Utility_PVT.Debug_Message('Return Status: '||x_return_status);

2618:
2619: /*
2620: IF (AMS_DEBUG_HIGH_ON) THEN
2621: AMS_Utility_PVT.Debug_Message('After create_Customer done');
2622: AMS_Utility_PVT.Debug_Message('Return Status: '||x_return_status);
2623: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_new_party);
2624: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_component_name);
2625: END IF;
2626: */

Line 2623: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_new_party);

2619: /*
2620: IF (AMS_DEBUG_HIGH_ON) THEN
2621: AMS_Utility_PVT.Debug_Message('After create_Customer done');
2622: AMS_Utility_PVT.Debug_Message('Return Status: '||x_return_status);
2623: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_new_party);
2624: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_component_name);
2625: END IF;
2626: */
2627: Write_log(L_API_NAME, 'After create_Customer done');

Line 2624: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_component_name);

2620: IF (AMS_DEBUG_HIGH_ON) THEN
2621: AMS_Utility_PVT.Debug_Message('After create_Customer done');
2622: AMS_Utility_PVT.Debug_Message('Return Status: '||x_return_status);
2623: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_new_party);
2624: --AMS_Utility_PVT.Debug_Message('Return Status: '||x_component_name);
2625: END IF;
2626: */
2627: Write_log(L_API_NAME, 'After create_Customer done');
2628: Write_log(L_API_NAME, 'Return Status: '||x_return_status);

Line 2633: AMS_Utility_PVT.Debug_Message('Error');

2629:
2630: IF x_return_status = FND_API.g_ret_sts_error THEN
2631:
2632: /*IF (AMS_DEBUG_HIGH_ON) THEN
2633: AMS_Utility_PVT.Debug_Message('Error');
2634: END IF;*/
2635: Write_log(L_API_NAME, 'Error');
2636: /*
2637: FOR i IN 1 .. FND_MSG_PUB.count_msg LOOP

Line 2638: -- AMS_Utility_PVT.Debug_Message(FND_MSG_PUB.get(i, FND_API.g_false));

2634: END IF;*/
2635: Write_log(L_API_NAME, 'Error');
2636: /*
2637: FOR i IN 1 .. FND_MSG_PUB.count_msg LOOP
2638: -- AMS_Utility_PVT.Debug_Message(FND_MSG_PUB.get(i, FND_API.g_false));
2639: END LOOP;
2640: */
2641: RAISE FND_API.g_exc_error;
2642: ELSIF x_return_status = FND_API.g_ret_sts_unexp_error THEN

Line 2645: AMS_Utility_PVT.Debug_Message('Unexp Error');

2641: RAISE FND_API.g_exc_error;
2642: ELSIF x_return_status = FND_API.g_ret_sts_unexp_error THEN
2643: /*
2644: IF (AMS_DEBUG_HIGH_ON) THEN
2645: AMS_Utility_PVT.Debug_Message('Unexp Error');
2646: END IF;
2647: */
2648: Write_log(L_API_NAME, 'Unexp Error');
2649: /*FOR i IN 1 .. FND_MSG_PUB.count_msg LOOP

Line 2650: AMS_Utility_PVT.Debug_Message(FND_MSG_PUB.get(i, FND_API.g_false));

2646: END IF;
2647: */
2648: Write_log(L_API_NAME, 'Unexp Error');
2649: /*FOR i IN 1 .. FND_MSG_PUB.count_msg LOOP
2650: AMS_Utility_PVT.Debug_Message(FND_MSG_PUB.get(i, FND_API.g_false));
2651: END LOOP; */
2652: RAISE FND_API.g_exc_unexpected_error;
2653: end if;
2654: /*

Line 2656: AMS_Utility_PVT.Debug_Message('After create_Customer error handling');

2652: RAISE FND_API.g_exc_unexpected_error;
2653: end if;
2654: /*
2655: IF (AMS_DEBUG_HIGH_ON) THEN
2656: AMS_Utility_PVT.Debug_Message('After create_Customer error handling');
2657: AMS_Utility_PVT.Debug_Message('Return party id: '||l_party_id);
2658: END IF;
2659: */
2660: Write_log(L_API_NAME, 'After create_Customer error handling');

Line 2657: AMS_Utility_PVT.Debug_Message('Return party id: '||l_party_id);

2653: end if;
2654: /*
2655: IF (AMS_DEBUG_HIGH_ON) THEN
2656: AMS_Utility_PVT.Debug_Message('After create_Customer error handling');
2657: AMS_Utility_PVT.Debug_Message('Return party id: '||l_party_id);
2658: END IF;
2659: */
2660: Write_log(L_API_NAME, 'After create_Customer error handling');
2661: Write_log(L_API_NAME, 'Return party id: '||l_party_id);

Line 2684: AMS_Utility_PVT.Debug_Message('Party Exist');

2680: x_new_org_party_id := l_party_id;
2681: END IF;
2682:
2683: /* else
2684: AMS_Utility_PVT.Debug_Message('Party Exist');
2685: end if;
2686: ELSE
2687: Write_log(L_API_NAME, 'Party Exist');
2688: END IF;*/

Line 2752: AMS_Utility_PVT.Debug_Message('Start Get Event Det ');

2748: BEGIN
2749: /*
2750: IF (AMS_DEBUG_HIGH_ON) THEN
2751:
2752: AMS_Utility_PVT.Debug_Message('Start Get Event Det ');
2753: END IF;
2754: */
2755: Write_log('Get_Event_Det', 'Start Get Event Det ');
2756:

Line 2765: AMS_Utility_PVT.Error_Message('AMS_INVALID_EVENT');

2761: -- soagrawa bug# 2779298 31-jan-2003
2762: OPEN c_csch_event_det ;
2763: FETCH c_csch_event_det INTO l_event_id ;
2764: IF c_csch_event_det%NOTFOUND THEN
2765: AMS_Utility_PVT.Error_Message('AMS_INVALID_EVENT');
2766: CLOSE c_csch_event_det ;
2767: CLOSE c_event_det ;
2768: RAISE FND_API.g_exc_error;
2769: END IF ;