DBA Data[Home] [Help]

APPS.IGS_FI_CREDIT_PVT dependencies on FND_API

Line 163: IF NOT fnd_api.compatible_api_call( p_current_version_number => l_api_version,

159: --Create a savepoint.
160: SAVEPOINT create_credit_pvt;
161:
162: --Check if the user is having a compatible version.
163: IF NOT fnd_api.compatible_api_call( p_current_version_number => l_api_version,
164: p_caller_version_number => p_api_version,
165: p_api_name => l_api_name,
166: p_pkg_name => l_pkg_name) THEN
167: --If not, then raise an error message.

Line 168: RAISE fnd_api.g_exc_unexpected_error;

164: p_caller_version_number => p_api_version,
165: p_api_name => l_api_name,
166: p_pkg_name => l_pkg_name) THEN
167: --If not, then raise an error message.
168: RAISE fnd_api.g_exc_unexpected_error;
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

Line 172: IF fnd_api.to_boolean(p_init_msg_list) THEN

168: RAISE fnd_api.g_exc_unexpected_error;
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:

Line 178: x_return_status := fnd_api.g_ret_sts_success;

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;
179:
180: -- Get the value of "Manage Accounts" System Option value.
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,

Line 188: RAISE fnd_api.g_exc_error;

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:
192: l_v_message_name := NULL;

Line 206: RAISE fnd_api.g_exc_error;

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:
210: IF l_v_message_name IS NOT NULL THEN

Line 214: RAISE fnd_api.g_exc_error;

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:
218: --Get the latest active balance rule for 'HOLDS' balance type.

Line 231: RAISE fnd_api.g_exc_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;
235:

Line 242: IF p_validation_level = fnd_api.g_valid_level_full THEN

238: l_n_amount := igs_fi_gen_gl.get_formatted_amount(p_credit_rec.p_amount);
239: l_v_currency_cd := p_credit_rec.p_currency_cd;
240:
241: --If this procedure is invoked with FULL validation level,
242: IF p_validation_level = fnd_api.g_valid_level_full THEN
243: --then, call the public procedure for all validations to happen.
244: igs_fi_crdapi_util.validate_parameters( p_n_validation_level => fnd_api.g_valid_level_full,
245: p_credit_rec => p_credit_rec,
246: p_attribute_rec => p_attribute_record,

Line 244: igs_fi_crdapi_util.validate_parameters( p_n_validation_level => fnd_api.g_valid_level_full,

240:
241: --If this procedure is invoked with FULL validation level,
242: IF p_validation_level = fnd_api.g_valid_level_full THEN
243: --then, call the public procedure for all validations to happen.
244: igs_fi_crdapi_util.validate_parameters( p_n_validation_level => fnd_api.g_valid_level_full,
245: p_credit_rec => p_credit_rec,
246: p_attribute_rec => p_attribute_record,
247: p_b_return_status => l_b_return_status);
248:

Line 252: RAISE fnd_api.g_exc_error;

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:
256: l_v_message_name := NULL;

Line 270: RAISE fnd_api.g_exc_error;

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;
274:

Line 290: RAISE fnd_api.g_exc_error;

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;
294:

Line 348: RAISE fnd_api.g_exc_error;

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:
352: --If the user has provided a value for p_invoice_id parameter...

Line 378: l_v_cc_number := IBY_CC_SECURITY_PUB.SECURE_CARD_NUMBER(p_commit => FND_API.G_FALSE, p_card_number => p_credit_rec.p_credit_card_number);

374:
375: --Enh 4607540 , Calling iPayment API to get the encrypted value of Credit card number.
376: --This Code logic is commented as the part of the Bug 4660773 Dont remove the commented Code
377: /* IF p_credit_rec.p_credit_card_number IS NOT NULL THEN
378: l_v_cc_number := IBY_CC_SECURITY_PUB.SECURE_CARD_NUMBER(p_commit => FND_API.G_FALSE, p_card_number => p_credit_rec.p_credit_card_number);
379: ELSE
380: l_v_cc_number := p_credit_rec.p_credit_card_number;
381: END IF;
382:

Line 533: RAISE fnd_api.g_exc_error;

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;
535: END IF;
536: END IF;
537: END IF;

Line 562: RAISE fnd_api.g_exc_error;

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;
564: END IF;
565: END IF;
566: END IF;

Line 588: IF (fnd_api.to_boolean(p_commit)) THEN

584: END IF;
585:
586: --If the calling program has passed the parameter for committing the data and there
587: --have been no errors in calling the balances process, then commit the work
588: IF (fnd_api.to_boolean(p_commit)) THEN
589: COMMIT WORK;
590: END IF;
591:
592: --Assign the values to the out parameters

Line 601: WHEN fnd_api.g_exc_error THEN

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
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);

Line 603: x_return_status := fnd_api.g_ret_sts_error;

599:
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

Line 607: WHEN fnd_api.g_exc_unexpected_error THEN

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;
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);

Line 609: x_return_status := fnd_api.g_ret_sts_unexp_error;

605: p_data => x_msg_data);
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

Line 615: x_return_status := fnd_api.g_ret_sts_unexp_error;

611: p_data => x_msg_data);
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;