DBA Data[Home] [Help]

APPS.HZ_CUST_ACCOUNT_ROLE_V2PUB dependencies on HZ_UTILITY_V2PUB

Line 56: * HZ_UTILITY_V2PUB.enable_debug

52: * DESCRIPTION
53: * Turn on debug mode.
54: *
55: * EXTERNAL PROCEDURES/FUNCTIONS ACCESSED
56: * HZ_UTILITY_V2PUB.enable_debug
57: *
58: * MODIFICATION HISTORY
59: *
60: * 07-23-2001 Jianying Huang o Created.

Line 74: HZ_UTILITY_V2PUB.enable_debug;

70: IF G_DEBUG_COUNT = 1 THEN
71: IF FND_PROFILE.value( 'HZ_API_FILE_DEBUG_ON' ) = 'Y' OR
72: FND_PROFILE.value( 'HZ_API_DBMS_DEBUG_ON' ) = 'Y'
73: THEN
74: HZ_UTILITY_V2PUB.enable_debug;
75: G_DEBUG := TRUE;
76: END IF;
77: END IF;
78:

Line 90: * HZ_UTILITY_V2PUB.disable_debug

86: * DESCRIPTION
87: * Turn off debug mode.
88: *
89: * EXTERNAL PROCEDURES/FUNCTIONS ACCESSED
90: * HZ_UTILITY_V2PUB.disable_debug
91: *
92: * MODIFICATION HISTORY
93: *
94: * 07-23-2001 Jianying Huang o Created.

Line 106: HZ_UTILITY_V2PUB.disable_debug;

102: IF G_DEBUG THEN
103: G_DEBUG_COUNT := G_DEBUG_COUNT - 1;
104:
105: IF G_DEBUG_COUNT = 0 THEN
106: HZ_UTILITY_V2PUB.disable_debug;
107: G_DEBUG := FALSE;
108: END IF;
109: END IF;
110:

Line 169: hz_utility_v2pub.debug(p_message=>'do_create_cust_account_role (+)',

165: BEGIN
166:
167: -- Debug info.
168: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
169: hz_utility_v2pub.debug(p_message=>'do_create_cust_account_role (+)',
170: p_prefix=>l_debug_prefix,
171: p_msg_level=>fnd_log.level_procedure);
172: END IF;
173:

Line 216: hz_utility_v2pub.debug(p_message=>'Need to create party site for account role party id ',

212: -- as customer account address.
213:
214: -- Debug info.
215: IF fnd_log.level_statement>=fnd_log.g_current_runtime_level THEN
216: hz_utility_v2pub.debug(p_message=>'Need to create party site for account role party id ',
217: p_prefix =>l_debug_prefix,
218: p_msg_level=>fnd_log.level_statement);
219: END IF;
220:

Line 259: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Insert_Row (+)',

255: END IF;
256: */
257: -- Debug info.
258: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
259: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Insert_Row (+)',
260: p_prefix=>l_debug_prefix,
261: p_msg_level=>fnd_log.level_procedure);
262: END IF;
263:

Line 309: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Insert_Row (-) ' ||

305:
306:
307: -- Debug info.
308: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
309: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Insert_Row (-) ' ||
310: 'x_cust_account_role_id = ' || p_cust_account_role_rec.cust_account_role_id,
311: p_prefix=>l_debug_prefix,
312: p_msg_level=>fnd_log.level_procedure);
313: END IF;

Line 343: hz_utility_v2pub.debug(p_message=>'do_create_cust_account_role (-)',

339: x_cust_account_role_id := p_cust_account_role_rec.cust_account_role_id;
340: -- Debug info.
341:
342: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
343: hz_utility_v2pub.debug(p_message=>'do_create_cust_account_role (-)',
344: p_prefix=>l_debug_prefix,
345: p_msg_level=>fnd_log.level_procedure);
346: END IF;
347:

Line 394: hz_utility_v2pub.debug(p_message=>'do_update_cust_account_role (+)',

390: BEGIN
391:
392: -- Debug info.
393: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
394: hz_utility_v2pub.debug(p_message=>'do_update_cust_account_role (+)',
395: p_prefix=>l_debug_prefix,
396: p_msg_level=>fnd_log.level_procedure);
397: END IF;
398:

Line 454: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Update_Row (+)',

450: end if;
451:
452: -- Debug info.
453: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
454: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Update_Row (+)',
455: p_prefix=>l_debug_prefix,
456: p_msg_level=>fnd_log.level_procedure);
457: END IF;
458:

Line 504: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Update_Row (-)',

500: );
501:
502: -- Debug info.
503: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
504: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Update_Row (-)',
505: p_prefix=>l_debug_prefix,
506: p_msg_level=>fnd_log.level_procedure);
507: END IF;
508:

Line 551: hz_utility_v2pub.debug(p_message=>'do_create_role_responsibility (+)',

547: BEGIN
548:
549: -- Debug info.
550: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
551: hz_utility_v2pub.debug(p_message=>'do_create_role_responsibility (+)',
552: p_prefix=>l_debug_prefix,
553: p_msg_level=>fnd_log.level_procedure);
554: END IF;
555:

Line 569: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Insert_Row (+)',

565: END IF;
566:
567: -- Debug info.
568: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
569: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Insert_Row (+)',
570: p_prefix=>l_debug_prefix,
571: p_msg_level=>fnd_log.level_procedure);
572: END IF;
573:

Line 606: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Insert_Row (-) ' ||

602: x_responsibility_id := p_role_responsibility_rec.responsibility_id;
603:
604: -- Debug info.
605: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
606: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Insert_Row (-) ' ||
607: 'x_responsibility_id = ' || x_responsibility_id,
608: p_prefix=>l_debug_prefix,
609: p_msg_level=>fnd_log.level_procedure);
610: END IF;

Line 614: hz_utility_v2pub.debug(p_message=>'do_create_role_responsibility (-)',

610: END IF;
611:
612: -- Debug info.
613: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
614: hz_utility_v2pub.debug(p_message=>'do_create_role_responsibility (-)',
615: p_prefix=>l_debug_prefix,
616: p_msg_level=>fnd_log.level_procedure);
617: END IF;
618:

Line 663: hz_utility_v2pub.debug(p_message=>'do_update_role_responsibility (+)',

659: BEGIN
660:
661: -- Debug info.
662: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
663: hz_utility_v2pub.debug(p_message=>'do_update_role_responsibility (+)',
664: p_prefix=>l_debug_prefix,
665: p_msg_level=>fnd_log.level_procedure);
666: END IF;
667:

Line 713: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Update_Row (+)',

709: END IF;
710:
711: -- Debug info.
712: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
713: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Update_Row (+)',
714: p_prefix=>l_debug_prefix,
715: p_msg_level=>fnd_log.level_procedure);
716: END IF;
717:

Line 749: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Update_Row (-)',

745: );
746:
747: -- Debug info.
748: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
749: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Update_Row (-)',
750: p_prefix=>l_debug_prefix,
751: p_msg_level=>fnd_log.level_procedure);
752: END IF;
753:

Line 756: hz_utility_v2pub.debug(p_message=>'do_update_role_responsibility (-)',

752: END IF;
753:
754: -- Debug info.
755: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
756: hz_utility_v2pub.debug(p_message=>'do_update_role_responsibility (-)',
757: p_prefix=>l_debug_prefix,
758: p_msg_level=>fnd_log.level_procedure);
759: END IF;
760:

Line 822: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (+)',

818: --enable_debug;
819:
820: -- Debug info.
821: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
822: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (+)',
823: p_prefix=>l_debug_prefix,
824: p_msg_level=>fnd_log.level_procedure);
825: END IF;
826:

Line 843: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN

839: x_return_status );
840:
841:
842: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
843: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN
844: -- Invoke business event system.
845: HZ_BUSINESS_EVENT_V2PVT.create_cust_account_role_event (
846: l_cust_account_role_rec );
847: END IF;

Line 849: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN

845: HZ_BUSINESS_EVENT_V2PVT.create_cust_account_role_event (
846: l_cust_account_role_rec );
847: END IF;
848:
849: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN
850: HZ_POPULATE_BOT_PKG.pop_hz_cust_account_roles(
851: p_operation => 'I',
852: p_cust_account_role_id => x_cust_account_role_id);
853: END IF;

Line 864: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

860: p_data => x_msg_data );
861:
862: -- Debug info.
863: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
864: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
865: p_msg_data=>x_msg_data,
866: p_msg_type=>'WARNING',
867: p_msg_level=>fnd_log.level_exception);
868: END IF;

Line 870: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',

866: p_msg_type=>'WARNING',
867: p_msg_level=>fnd_log.level_exception);
868: END IF;
869: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
870: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',
871: p_prefix=>l_debug_prefix,
872: p_msg_level=>fnd_log.level_procedure);
873: END IF;
874:

Line 888: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

884: p_encoded => FND_API.G_FALSE,
885: p_count => x_msg_count,
886: p_data => x_msg_data );
887: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
888: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
889: p_msg_data=>x_msg_data,
890: p_msg_type=>'ERROR',
891: p_msg_level=>fnd_log.level_error);
892: END IF;

Line 894: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',

890: p_msg_type=>'ERROR',
891: p_msg_level=>fnd_log.level_error);
892: END IF;
893: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
894: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',
895: p_prefix=>l_debug_prefix,
896: p_msg_level=>fnd_log.level_procedure);
897: END IF;
898:

Line 912: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

908: p_count => x_msg_count,
909: p_data => x_msg_data );
910:
911: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
912: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
913: p_msg_data=>x_msg_data,
914: p_msg_type=>'UNEXPECTED ERROR',
915: p_msg_level=>fnd_log.level_error);
916: END IF;

Line 918: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',

914: p_msg_type=>'UNEXPECTED ERROR',
915: p_msg_level=>fnd_log.level_error);
916: END IF;
917: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
918: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',
919: p_prefix=>l_debug_prefix,
920: p_msg_level=>fnd_log.level_procedure);
921: END IF;
922:

Line 940: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

936: p_encoded => FND_API.G_FALSE,
937: p_count => x_msg_count,
938: p_data => x_msg_data );
939: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
940: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
941: p_msg_data=>x_msg_data,
942: p_msg_type=>'SQL ERROR',
943: p_msg_level=>fnd_log.level_error);
944: END IF;

Line 946: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',

942: p_msg_type=>'SQL ERROR',
943: p_msg_level=>fnd_log.level_error);
944: END IF;
945: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
946: hz_utility_v2pub.debug(p_message=>'create_cust_account_role (-)',
947: p_prefix=>l_debug_prefix,
948: p_msg_level=>fnd_log.level_procedure);
949: END IF;
950:

Line 1011: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (+)',

1007: --enable_debug;
1008:
1009: -- Debug info.
1010: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1011: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (+)',
1012: p_prefix=>l_debug_prefix,
1013: p_msg_level=>fnd_log.level_procedure);
1014: END IF;
1015:

Line 1062: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN

1058:
1059: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1060: -- Invoke business event system.
1061: l_old_cust_account_role_rec.orig_system := l_cust_account_role_rec.orig_system;
1062: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN
1063: HZ_BUSINESS_EVENT_V2PVT.update_cust_account_role_event (
1064: l_cust_account_role_rec , l_old_cust_account_role_rec );
1065: END IF;
1066:

Line 1067: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN

1063: HZ_BUSINESS_EVENT_V2PVT.update_cust_account_role_event (
1064: l_cust_account_role_rec , l_old_cust_account_role_rec );
1065: END IF;
1066:
1067: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN
1068: HZ_POPULATE_BOT_PKG.pop_hz_cust_account_roles(
1069: p_operation => 'U',
1070: p_cust_account_role_id => l_cust_account_role_rec.cust_account_role_id);
1071: END IF;

Line 1080: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1076: p_encoded => FND_API.G_FALSE,
1077: p_count => x_msg_count,
1078: p_data => x_msg_data );
1079: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
1080: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1081: p_msg_data=>x_msg_data,
1082: p_msg_type=>'WARNING',
1083: p_msg_level=>fnd_log.level_exception);
1084: END IF;

Line 1086: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',

1082: p_msg_type=>'WARNING',
1083: p_msg_level=>fnd_log.level_exception);
1084: END IF;
1085: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1086: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',
1087: p_prefix=>l_debug_prefix,
1088: p_msg_level=>fnd_log.level_procedure);
1089: END IF;
1090:

Line 1105: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1101: p_count => x_msg_count,
1102: p_data => x_msg_data );
1103:
1104: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1105: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1106: p_msg_data=>x_msg_data,
1107: p_msg_type=>'ERROR',
1108: p_msg_level=>fnd_log.level_error);
1109: END IF;

Line 1111: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',

1107: p_msg_type=>'ERROR',
1108: p_msg_level=>fnd_log.level_error);
1109: END IF;
1110: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1111: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',
1112: p_prefix=>l_debug_prefix,
1113: p_msg_level=>fnd_log.level_procedure);
1114: END IF;
1115:

Line 1128: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1124: p_encoded => FND_API.G_FALSE,
1125: p_count => x_msg_count,
1126: p_data => x_msg_data );
1127: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1128: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1129: p_msg_data=>x_msg_data,
1130: p_msg_type=>'UNEXPECTED ERROR',
1131: p_msg_level=>fnd_log.level_error);
1132: END IF;

Line 1134: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',

1130: p_msg_type=>'UNEXPECTED ERROR',
1131: p_msg_level=>fnd_log.level_error);
1132: END IF;
1133: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1134: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',
1135: p_prefix=>l_debug_prefix,
1136: p_msg_level=>fnd_log.level_procedure);
1137: END IF;
1138:

Line 1156: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1152: p_count => x_msg_count,
1153: p_data => x_msg_data );
1154:
1155: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1156: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1157: p_msg_data=>x_msg_data,
1158: p_msg_type=>'SQL ERROR',
1159: p_msg_level=>fnd_log.level_error);
1160: END IF;

Line 1162: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',

1158: p_msg_type=>'SQL ERROR',
1159: p_msg_level=>fnd_log.level_error);
1160: END IF;
1161: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1162: hz_utility_v2pub.debug(p_message=>'update_cust_account_role (-)',
1163: p_prefix=>l_debug_prefix,
1164: p_msg_level=>fnd_log.level_procedure);
1165: END IF;
1166:

Line 1220: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (+)',

1216: --enable_debug;
1217:
1218: -- Debug info.
1219: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1220: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (+)',
1221: p_prefix=>l_debug_prefix,
1222: p_msg_level=>fnd_log.level_procedure);
1223: END IF;
1224:

Line 1247: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Select_Row (+)',

1243: x_cust_account_role_rec.cust_account_role_id := p_cust_account_role_id;
1244:
1245: -- Debug info.
1246: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1247: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Select_Row (+)',
1248: p_prefix=>l_debug_prefix,
1249: p_msg_level=>fnd_log.level_procedure);
1250: END IF;
1251:

Line 1296: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Select_Row (-)',

1292: );
1293:
1294: -- Debug info.
1295: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1296: hz_utility_v2pub.debug(p_message=>'HZ_CUST_ACCOUNT_ROLES_PKG.Select_Row (-)',
1297: p_prefix=>l_debug_prefix,
1298: p_msg_level=>fnd_log.level_procedure);
1299: END IF;
1300:

Line 1310: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1306: p_data => x_msg_data );
1307:
1308: -- Debug info.
1309: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
1310: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1311: p_msg_data=>x_msg_data,
1312: p_msg_type=>'WARNING',
1313: p_msg_level=>fnd_log.level_exception);
1314: END IF;

Line 1316: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',

1312: p_msg_type=>'WARNING',
1313: p_msg_level=>fnd_log.level_exception);
1314: END IF;
1315: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1316: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',
1317: p_prefix=>l_debug_prefix,
1318: p_msg_level=>fnd_log.level_procedure);
1319: END IF;
1320:

Line 1335: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1331: p_data => x_msg_data );
1332:
1333: -- Debug info.
1334: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1335: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1336: p_msg_data=>x_msg_data,
1337: p_msg_type=>'ERROR',
1338: p_msg_level=>fnd_log.level_error);
1339: END IF;

Line 1341: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',

1337: p_msg_type=>'ERROR',
1338: p_msg_level=>fnd_log.level_error);
1339: END IF;
1340: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1341: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',
1342: p_prefix=>l_debug_prefix,
1343: p_msg_level=>fnd_log.level_procedure);
1344: END IF;
1345:

Line 1359: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1355: p_data => x_msg_data );
1356:
1357: -- Debug info.
1358: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1359: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1360: p_msg_data=>x_msg_data,
1361: p_msg_type=>'UNEXPECTED ERROR',
1362: p_msg_level=>fnd_log.level_error);
1363: END IF;

Line 1365: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',

1361: p_msg_type=>'UNEXPECTED ERROR',
1362: p_msg_level=>fnd_log.level_error);
1363: END IF;
1364: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1365: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',
1366: p_prefix=>l_debug_prefix,
1367: p_msg_level=>fnd_log.level_procedure);
1368: END IF;
1369:

Line 1387: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1383: p_data => x_msg_data );
1384:
1385: -- Debug info.
1386: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1387: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1388: p_msg_data=>x_msg_data,
1389: p_msg_type=>'SQL ERROR',
1390: p_msg_level=>fnd_log.level_error);
1391: END IF;

Line 1393: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',

1389: p_msg_type=>'SQL ERROR',
1390: p_msg_level=>fnd_log.level_error);
1391: END IF;
1392: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1393: hz_utility_v2pub.debug(p_message=>'get_cust_account_role_rec (-)',
1394: p_prefix=>l_debug_prefix,
1395: p_msg_level=>fnd_log.level_procedure);
1396: END IF;
1397:

Line 1456: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (+)',

1452: --enable_debug;
1453:
1454: -- Debug info.
1455: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1456: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (+)',
1457: p_prefix=>l_debug_prefix,
1458: p_msg_level=>fnd_log.level_procedure);
1459: END IF;
1460:

Line 1476: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN

1472: x_responsibility_id,
1473: x_return_status );
1474:
1475: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1476: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN
1477: -- Invoke business event system.
1478: HZ_BUSINESS_EVENT_V2PVT.create_role_resp_event (
1479: l_role_responsibility_rec );
1480: END IF;

Line 1482: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN

1478: HZ_BUSINESS_EVENT_V2PVT.create_role_resp_event (
1479: l_role_responsibility_rec );
1480: END IF;
1481:
1482: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN
1483: HZ_POPULATE_BOT_PKG.pop_hz_role_responsibility(
1484: p_operation => 'I',
1485: p_responsibility_id => x_responsibility_id);
1486: END IF;

Line 1497: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1493: p_data => x_msg_data );
1494:
1495: -- Debug info.
1496: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
1497: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1498: p_msg_data=>x_msg_data,
1499: p_msg_type=>'WARNING',
1500: p_msg_level=>fnd_log.level_exception);
1501: END IF;

Line 1503: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',

1499: p_msg_type=>'WARNING',
1500: p_msg_level=>fnd_log.level_exception);
1501: END IF;
1502: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1503: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',
1504: p_prefix=>l_debug_prefix,
1505: p_msg_level=>fnd_log.level_procedure);
1506: END IF;
1507:

Line 1523: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1519: p_data => x_msg_data );
1520:
1521: -- Debug info.
1522: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1523: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1524: p_msg_data=>x_msg_data,
1525: p_msg_type=>'ERROR',
1526: p_msg_level=>fnd_log.level_error);
1527: END IF;

Line 1529: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',

1525: p_msg_type=>'ERROR',
1526: p_msg_level=>fnd_log.level_error);
1527: END IF;
1528: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1529: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',
1530: p_prefix=>l_debug_prefix,
1531: p_msg_level=>fnd_log.level_procedure);
1532: END IF;
1533:

Line 1548: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1544: p_data => x_msg_data );
1545:
1546: -- Debug info.
1547: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1548: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1549: p_msg_data=>x_msg_data,
1550: p_msg_type=>'UNEXPECTED ERROR',
1551: p_msg_level=>fnd_log.level_error);
1552: END IF;

Line 1554: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',

1550: p_msg_type=>'UNEXPECTED ERROR',
1551: p_msg_level=>fnd_log.level_error);
1552: END IF;
1553: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1554: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',
1555: p_prefix=>l_debug_prefix,
1556: p_msg_level=>fnd_log.level_procedure);
1557: END IF;
1558:

Line 1577: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1573: p_data => x_msg_data );
1574:
1575: -- Debug info.
1576: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1577: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1578: p_msg_data=>x_msg_data,
1579: p_msg_type=>'SQL ERROR',
1580: p_msg_level=>fnd_log.level_error);
1581: END IF;

Line 1583: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',

1579: p_msg_type=>'SQL ERROR',
1580: p_msg_level=>fnd_log.level_error);
1581: END IF;
1582: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1583: hz_utility_v2pub.debug(p_message=>'create_role_responsibility (-)',
1584: p_prefix=>l_debug_prefix,
1585: p_msg_level=>fnd_log.level_procedure);
1586: END IF;
1587:

Line 1648: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (+)',

1644: --enable_debug;
1645:
1646: -- Debug info.
1647: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1648: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (+)',
1649: p_prefix=>l_debug_prefix,
1650: p_msg_level=>fnd_log.level_procedure);
1651: END IF;
1652:

Line 1682: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN

1678: p_object_version_number,
1679: x_return_status );
1680:
1681: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
1682: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('Y', 'EVENTS_ENABLED')) THEN
1683: -- Invoke business event system.
1684: HZ_BUSINESS_EVENT_V2PVT.update_role_resp_event (
1685: l_role_responsibility_rec , l_old_role_responsibility_rec);
1686: END IF;

Line 1688: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN

1684: HZ_BUSINESS_EVENT_V2PVT.update_role_resp_event (
1685: l_role_responsibility_rec , l_old_role_responsibility_rec);
1686: END IF;
1687:
1688: IF(HZ_UTILITY_V2PUB.G_EXECUTE_API_CALLOUTS in ('EVENTS_ENABLED', 'BO_EVENTS_ENABLED')) THEN
1689: HZ_POPULATE_BOT_PKG.pop_hz_role_responsibility(
1690: p_operation => 'U',
1691: p_responsibility_id => l_role_responsibility_rec.responsibility_id);
1692: END IF;

Line 1703: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1699: p_data => x_msg_data );
1700:
1701: -- Debug info.
1702: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
1703: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1704: p_msg_data=>x_msg_data,
1705: p_msg_type=>'WARNING',
1706: p_msg_level=>fnd_log.level_exception);
1707: END IF;

Line 1709: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',

1705: p_msg_type=>'WARNING',
1706: p_msg_level=>fnd_log.level_exception);
1707: END IF;
1708: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1709: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',
1710: p_prefix=>l_debug_prefix,
1711: p_msg_level=>fnd_log.level_procedure);
1712: END IF;
1713:

Line 1729: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1725: p_data => x_msg_data );
1726:
1727: -- Debug info.
1728: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1729: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1730: p_msg_data=>x_msg_data,
1731: p_msg_type=>'ERROR',
1732: p_msg_level=>fnd_log.level_error);
1733: END IF;

Line 1735: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',

1731: p_msg_type=>'ERROR',
1732: p_msg_level=>fnd_log.level_error);
1733: END IF;
1734: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1735: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',
1736: p_prefix=>l_debug_prefix,
1737: p_msg_level=>fnd_log.level_procedure);
1738: END IF;
1739:

Line 1754: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1750: p_data => x_msg_data );
1751:
1752: -- Debug info.
1753: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1754: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1755: p_msg_data=>x_msg_data,
1756: p_msg_type=>'UNEXPECTED ERROR',
1757: p_msg_level=>fnd_log.level_error);
1758: END IF;

Line 1760: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',

1756: p_msg_type=>'UNEXPECTED ERROR',
1757: p_msg_level=>fnd_log.level_error);
1758: END IF;
1759: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1760: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',
1761: p_prefix=>l_debug_prefix,
1762: p_msg_level=>fnd_log.level_procedure);
1763: END IF;
1764:

Line 1783: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1779: p_data => x_msg_data );
1780:
1781: -- Debug info.
1782: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1783: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1784: p_msg_data=>x_msg_data,
1785: p_msg_type=>'SQL ERROR',
1786: p_msg_level=>fnd_log.level_error);
1787: END IF;

Line 1789: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',

1785: p_msg_type=>'SQL ERROR',
1786: p_msg_level=>fnd_log.level_error);
1787: END IF;
1788: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1789: hz_utility_v2pub.debug(p_message=>'update_role_responsibility (-)',
1790: p_prefix=>l_debug_prefix,
1791: p_msg_level=>fnd_log.level_procedure);
1792: END IF;
1793:

Line 1847: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (+)',

1843: --enable_debug;
1844:
1845: -- Debug info.
1846: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1847: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (+)',
1848: p_prefix=>l_debug_prefix,
1849: p_msg_level=>fnd_log.level_procedure);
1850: END IF;
1851:

Line 1873: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Select_Row (+)',

1869: x_role_responsibility_rec.responsibility_id := p_responsibility_id;
1870:
1871: -- Debug info.
1872: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1873: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Select_Row (+)',
1874: p_prefix=>l_debug_prefix,
1875: p_msg_level=>fnd_log.level_procedure);
1876: END IF;
1877:

Line 1907: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Select_Row (-)',

1903: );
1904:
1905: -- Debug info.
1906: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1907: hz_utility_v2pub.debug(p_message=>'HZ_ROLE_RESPONSIBILITY_PKG.Select_Row (-)',
1908: p_prefix=>l_debug_prefix,
1909: p_msg_level=>fnd_log.level_procedure);
1910: END IF;
1911:

Line 1920: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1916: p_data => x_msg_data );
1917:
1918: -- Debug info.
1919: IF fnd_log.level_exception>=fnd_log.g_current_runtime_level THEN
1920: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1921: p_msg_data=>x_msg_data,
1922: p_msg_type=>'WARNING',
1923: p_msg_level=>fnd_log.level_exception);
1924: END IF;

Line 1926: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',

1922: p_msg_type=>'WARNING',
1923: p_msg_level=>fnd_log.level_exception);
1924: END IF;
1925: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1926: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',
1927: p_prefix=>l_debug_prefix,
1928: p_msg_level=>fnd_log.level_procedure);
1929: END IF;
1930:

Line 1945: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1941: p_data => x_msg_data );
1942:
1943: -- Debug info.
1944: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1945: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1946: p_msg_data=>x_msg_data,
1947: p_msg_type=>'ERROR',
1948: p_msg_level=>fnd_log.level_error);
1949: END IF;

Line 1951: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',

1947: p_msg_type=>'ERROR',
1948: p_msg_level=>fnd_log.level_error);
1949: END IF;
1950: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1951: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',
1952: p_prefix=>l_debug_prefix,
1953: p_msg_level=>fnd_log.level_procedure);
1954: END IF;
1955:

Line 1969: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1965: p_data => x_msg_data );
1966:
1967: -- Debug info.
1968: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1969: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1970: p_msg_data=>x_msg_data,
1971: p_msg_type=>'UNEXPECTED ERROR',
1972: p_msg_level=>fnd_log.level_error);
1973: END IF;

Line 1975: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',

1971: p_msg_type=>'UNEXPECTED ERROR',
1972: p_msg_level=>fnd_log.level_error);
1973: END IF;
1974: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
1975: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',
1976: p_prefix=>l_debug_prefix,
1977: p_msg_level=>fnd_log.level_procedure);
1978: END IF;
1979:

Line 1997: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,

1993: p_data => x_msg_data );
1994:
1995: -- Debug info.
1996: IF fnd_log.level_error>=fnd_log.g_current_runtime_level THEN
1997: hz_utility_v2pub.debug_return_messages(p_msg_count=>x_msg_count,
1998: p_msg_data=>x_msg_data,
1999: p_msg_type=>'SQL ERROR',
2000: p_msg_level=>fnd_log.level_error);
2001: END IF;

Line 2003: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',

1999: p_msg_type=>'SQL ERROR',
2000: p_msg_level=>fnd_log.level_error);
2001: END IF;
2002: IF fnd_log.level_procedure>=fnd_log.g_current_runtime_level THEN
2003: hz_utility_v2pub.debug(p_message=>'get_role_responsibility_rec (-)',
2004: p_prefix=>l_debug_prefix,
2005: p_msg_level=>fnd_log.level_procedure);
2006: END IF;
2007: