DBA Data[Home] [Help]

APPS.IGS_FI_CREDIT_PVT dependencies on FND_MSG_PUB

Line 173: --then call the Initialize program of the fnd_msg_pub package to initialize the message list.

169: END IF;
170:
171: --If the calling program has passed the parameter for initializing the message list
172: IF fnd_api.to_boolean(p_init_msg_list) THEN
173: --then call the Initialize program of the fnd_msg_pub package to initialize the message list.
174: fnd_msg_pub.initialize;
175: END IF;
176:
177: --Set the return status to success

Line 174: fnd_msg_pub.initialize;

170:
171: --If the calling program has passed the parameter for initializing the message list
172: IF fnd_api.to_boolean(p_init_msg_list) THEN
173: --then call the Initialize program of the fnd_msg_pub package to initialize the message list.
174: fnd_msg_pub.initialize;
175: END IF;
176:
177: --Set the return status to success
178: x_return_status := fnd_api.g_ret_sts_success;

Line 185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

181: -- If this value is NULL then this process should error out.
182: igs_fi_com_rec_interface.chk_manage_account ( p_v_manage_acc => l_v_manage_accounts,
183: p_v_message_name => l_v_message_name );
184: IF l_v_manage_accounts IS NULL THEN
185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
186: fnd_message.set_name ( 'IGS', l_v_message_name );
187: fnd_msg_pub.add;
188: RAISE fnd_api.g_exc_error;
189: END IF;

Line 187: fnd_msg_pub.add;

183: p_v_message_name => l_v_message_name );
184: IF l_v_manage_accounts IS NULL THEN
185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
186: fnd_message.set_name ( 'IGS', l_v_message_name );
187: fnd_msg_pub.add;
188: RAISE fnd_api.g_exc_error;
189: END IF;
190: END IF;
191:

Line 203: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

199: );
200:
201: --If holds conversion process is running..error out of Private Credits API.
202: IF l_n_cnv_prc = 1 AND l_v_message_name IS NULL THEN
203: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
204: fnd_message.set_name('IGS','IGS_FI_REASS_BAL_PRC_RUN');
205: fnd_msg_pub.add;
206: RAISE fnd_api.g_exc_error;
207: END IF;

Line 205: fnd_msg_pub.add;

201: --If holds conversion process is running..error out of Private Credits API.
202: IF l_n_cnv_prc = 1 AND l_v_message_name IS NULL THEN
203: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
204: fnd_message.set_name('IGS','IGS_FI_REASS_BAL_PRC_RUN');
205: fnd_msg_pub.add;
206: RAISE fnd_api.g_exc_error;
207: END IF;
208: END IF;
209:

Line 211: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

207: END IF;
208: END IF;
209:
210: IF l_v_message_name IS NOT NULL THEN
211: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
212: fnd_message.set_name('IGS',l_v_message_name);
213: fnd_msg_pub.add;
214: RAISE fnd_api.g_exc_error;
215: END IF;

Line 213: fnd_msg_pub.add;

209:
210: IF l_v_message_name IS NOT NULL THEN
211: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
212: fnd_message.set_name('IGS',l_v_message_name);
213: fnd_msg_pub.add;
214: RAISE fnd_api.g_exc_error;
215: END IF;
216: END IF;
217:

Line 228: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

224: );
225:
226: --If no active balance rule exists for 'HOLDS', raise error.
227: IF l_n_version_number = 0 THEN
228: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
229: fnd_message.set_name('IGS','IGS_FI_CANNOT_CRT_TXN');
230: fnd_msg_pub.add;
231: RAISE fnd_api.g_exc_error;
232: END IF;

Line 230: fnd_msg_pub.add;

226: --If no active balance rule exists for 'HOLDS', raise error.
227: IF l_n_version_number = 0 THEN
228: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
229: fnd_message.set_name('IGS','IGS_FI_CANNOT_CRT_TXN');
230: fnd_msg_pub.add;
231: RAISE fnd_api.g_exc_error;
232: END IF;
233: END IF;
234: END IF;

Line 251: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

247: p_b_return_status => l_b_return_status);
248:
249: --if any error occurred during above validation, raise error.
250: IF l_b_return_status = FALSE THEN
251: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
252: RAISE fnd_api.g_exc_error;
253: END IF;
254: END IF;
255:

Line 267: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

263: p_v_message_name => l_v_message_name);
264: --if any error occurred during above validation...
265: IF l_b_return_status = FALSE THEN
266: --raise the error and abort further processing.
267: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
268: fnd_message.set_name('IGS',l_v_message_name);
269: fnd_msg_pub.add;
270: RAISE fnd_api.g_exc_error;
271: END IF;

Line 269: fnd_msg_pub.add;

265: IF l_b_return_status = FALSE THEN
266: --raise the error and abort further processing.
267: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
268: fnd_message.set_name('IGS',l_v_message_name);
269: fnd_msg_pub.add;
270: RAISE fnd_api.g_exc_error;
271: END IF;
272: END IF;
273: END IF;

Line 289: fnd_msg_pub.add;

285: FETCH cur_waiver_pgms INTO l_waiver_pgms;
286: IF cur_waiver_pgms%NOTFOUND THEN
287: CLOSE cur_waiver_pgms;
288: fnd_message.set_name('IGS', 'IGS_FI_WAV_PGM_NO_REC_FOUND');
289: fnd_msg_pub.add;
290: RAISE fnd_api.g_exc_error;
291: END IF;
292: CLOSE cur_waiver_pgms;
293: END IF;

Line 344: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

340: );
341:
342: --If any error occurred, raise the error.
343: IF l_b_return_status = FALSE THEN
344: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
345: --Bug 3627209, Added message on to the stack before adding it on to the fnd_message_pub
346: fnd_message.set_name('IGS',l_v_err_string);
347: fnd_msg_pub.add;
348: RAISE fnd_api.g_exc_error;

Line 347: fnd_msg_pub.add;

343: IF l_b_return_status = FALSE THEN
344: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
345: --Bug 3627209, Added message on to the stack before adding it on to the fnd_message_pub
346: fnd_message.set_name('IGS',l_v_err_string);
347: fnd_msg_pub.add;
348: RAISE fnd_api.g_exc_error;
349: END IF;
350: END IF;
351:

Line 528: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

524: p_message_name => l_v_message_name
525: );
526:
527: IF l_v_message_name IS NOT NULL THEN
528: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
529: fnd_message.set_name('IGS', l_v_message_name);
530: fnd_msg_pub.add;
531: -- Do not raise error for information messages regd credit type or fee type being excluded.
532: IF l_v_message_name NOT IN ('IGS_FI_CTYP_EXCLDED','IGS_FI_FTYP_EXCLDED') THEN

Line 530: fnd_msg_pub.add;

526:
527: IF l_v_message_name IS NOT NULL THEN
528: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
529: fnd_message.set_name('IGS', l_v_message_name);
530: fnd_msg_pub.add;
531: -- Do not raise error for information messages regd credit type or fee type being excluded.
532: IF l_v_message_name NOT IN ('IGS_FI_CTYP_EXCLDED','IGS_FI_FTYP_EXCLDED') THEN
533: RAISE fnd_api.g_exc_error;
534: END IF;

Line 557: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN

553: p_message_name => l_v_message_name
554: );
555:
556: IF l_v_message_name IS NOT NULL THEN
557: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
558: fnd_message.set_name('IGS', l_v_message_name);
559: fnd_msg_pub.add;
560: -- Do not raise error for information messages regd credit type or fee type being excluded.
561: IF l_v_message_name NOT IN ('IGS_FI_CTYP_EXCLDED','IGS_FI_FTYP_EXCLDED') THEN

Line 559: fnd_msg_pub.add;

555:
556: IF l_v_message_name IS NOT NULL THEN
557: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
558: fnd_message.set_name('IGS', l_v_message_name);
559: fnd_msg_pub.add;
560: -- Do not raise error for information messages regd credit type or fee type being excluded.
561: IF l_v_message_name NOT IN ('IGS_FI_CTYP_EXCLDED','IGS_FI_FTYP_EXCLDED') THEN
562: RAISE fnd_api.g_exc_error;
563: END IF;

Line 582: fnd_msg_pub.add;

578: );
579: -- If p_message_name has been returned with a value, add message to stack
580: IF l_v_message_name IS NOT NULL THEN
581: fnd_message.set_name('IGS',l_v_message_name);
582: fnd_msg_pub.add;
583: END IF;
584: END IF;
585:
586: --If the calling program has passed the parameter for committing the data and there

Line 597: fnd_msg_pub.count_and_get( p_count => x_msg_count,

593: x_credit_id := l_n_credit_id;
594: x_credit_activity_id := l_n_credit_activity_id;
595: x_credit_number := l_v_credit_number;
596:
597: fnd_msg_pub.count_and_get( p_count => x_msg_count,
598: p_data => x_msg_data);
599:
600: EXCEPTION
601: WHEN fnd_api.g_exc_error THEN

Line 604: fnd_msg_pub.count_and_get( p_count => x_msg_count,

600: EXCEPTION
601: WHEN fnd_api.g_exc_error THEN
602: ROLLBACK TO create_credit_pvt;
603: x_return_status := fnd_api.g_ret_sts_error;
604: fnd_msg_pub.count_and_get( p_count => x_msg_count,
605: p_data => x_msg_data);
606:
607: WHEN fnd_api.g_exc_unexpected_error THEN
608: ROLLBACK TO create_credit_pvt;

Line 610: fnd_msg_pub.count_and_get( p_count => x_msg_count,

606:
607: WHEN fnd_api.g_exc_unexpected_error THEN
608: ROLLBACK TO create_credit_pvt;
609: x_return_status := fnd_api.g_ret_sts_unexp_error;
610: fnd_msg_pub.count_and_get( p_count => x_msg_count,
611: p_data => x_msg_data);
612:
613: WHEN OTHERS THEN
614: ROLLBACK TO create_credit_pvt;

Line 616: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

612:
613: WHEN OTHERS THEN
614: ROLLBACK TO create_credit_pvt;
615: x_return_status := fnd_api.g_ret_sts_unexp_error;
616: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
617: fnd_msg_pub.add_exc_msg(l_pkg_name,
618: l_api_name);
619: END IF;
620: fnd_msg_pub.count_and_get( p_count => x_msg_count,

Line 617: fnd_msg_pub.add_exc_msg(l_pkg_name,

613: WHEN OTHERS THEN
614: ROLLBACK TO create_credit_pvt;
615: x_return_status := fnd_api.g_ret_sts_unexp_error;
616: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
617: fnd_msg_pub.add_exc_msg(l_pkg_name,
618: l_api_name);
619: END IF;
620: fnd_msg_pub.count_and_get( p_count => x_msg_count,
621: p_data => x_msg_data);

Line 620: fnd_msg_pub.count_and_get( p_count => x_msg_count,

616: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
617: fnd_msg_pub.add_exc_msg(l_pkg_name,
618: l_api_name);
619: END IF;
620: fnd_msg_pub.count_and_get( p_count => x_msg_count,
621: p_data => x_msg_data);
622:
623: END create_credit;
624: END igs_fi_credit_pvt;