57: END IF;
58:
59: -- Initialize message list if p_init_msg_list is set to TRUE.
60: IF FND_API.to_Boolean(p_init_msg_list) THEN
61: FND_MSG_PUB.initialize();
62: END IF;
63:
64: -- get auction_header_id
65: pon_conterms_utl_pvt.get_auction_header_id(p_doctype_id,
184: l_progress := 50;
185:
186: -- Initialize message list if p_init_msg_list is set to TRUE.
187: IF FND_API.to_Boolean(p_init_msg_list) THEN
188: FND_MSG_PUB.initialize();
189: END IF;
190:
191: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
192: fnd_log.string(fnd_log.level_statement,
775: l_api_name,
776: 'unknown exception for ' || p_doc_id || ' - progress=' || l_progress);
777: end if;
778:
779: FND_MSG_PUB.add_exc_msg(
780: p_pkg_name => g_package_name,
781: p_procedure_name => l_api_name || '.' || l_progress
782: );
783: FND_MSG_PUB.count_and_get(
779: FND_MSG_PUB.add_exc_msg(
780: p_pkg_name => g_package_name,
781: p_procedure_name => l_api_name || '.' || l_progress
782: );
783: FND_MSG_PUB.count_and_get(
784: p_encoded => 'F',
785: p_count => x_msg_count,
786: p_data => x_msg_data
787: );
857: l_progress := 50;
858:
859: -- Initialize message list if p_init_msg_list is set to TRUE.
860: IF FND_API.to_Boolean(p_init_msg_list) THEN
861: FND_MSG_PUB.initialize();
862: END IF;
863:
864: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
865: fnd_log.string(fnd_log.level_statement,
1159: l_api_name,
1160: 'unknown exception for ' || p_doc_id || ' - progress=' || l_progress);
1161: end if;
1162:
1163: FND_MSG_PUB.add_exc_msg(
1164: p_pkg_name => g_package_name,
1165: p_procedure_name => l_api_name || '.' || l_progress
1166: );
1167: FND_MSG_PUB.count_and_get(
1163: FND_MSG_PUB.add_exc_msg(
1164: p_pkg_name => g_package_name,
1165: p_procedure_name => l_api_name || '.' || l_progress
1166: );
1167: FND_MSG_PUB.count_and_get(
1168: p_encoded => 'F',
1169: p_count => x_msg_count,
1170: p_data => x_msg_data
1171: );
1206: END IF;
1207:
1208: -- Initialize message list if p_init_msg_list is set to TRUE.
1209: IF FND_API.to_Boolean(p_init_msg_list) THEN
1210: FND_MSG_PUB.initialize();
1211: END IF;
1212:
1213: -- get auction_header_id
1214: pon_conterms_utl_pvt.get_auction_header_id(p_doctype_id,