DBA Data[Home] [Help]

APPS.CN_PROC_BATCHES_PKG dependencies on FND_API

Line 615: , p_init_msg_list => fnd_api.g_true

611: l_srp_rec.start_date := p_start_date;
612: l_srp_rec.end_date := p_end_date;
613: cn_rollup_pvt.get_descendant_salesrep(
614: p_api_version => 1.0
615: , p_init_msg_list => fnd_api.g_true
616: , p_commit => fnd_api.g_false
617: , x_return_status => l_return_status
618: , x_msg_count => l_msg_count
619: , x_msg_data => l_msg_data

Line 616: , p_commit => fnd_api.g_false

612: l_srp_rec.end_date := p_end_date;
613: cn_rollup_pvt.get_descendant_salesrep(
614: p_api_version => 1.0
615: , p_init_msg_list => fnd_api.g_true
616: , p_commit => fnd_api.g_false
617: , x_return_status => l_return_status
618: , x_msg_count => l_msg_count
619: , x_msg_data => l_msg_data
620: , p_srp => l_srp_rec

Line 625: IF l_return_status <> fnd_api.g_ret_sts_success THEN

621: , x_srp => l_descendant_tbl
622: , p_org_id => g_org_id
623: );
624:
625: IF l_return_status <> fnd_api.g_ret_sts_success THEN
626: cn_message_pkg.DEBUG('Exception occurs in getting the descendants:');
627:
628: FOR l_counter IN 1 .. l_msg_count LOOP
629: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter

Line 630: , p_encoded => fnd_api.g_false));

626: cn_message_pkg.DEBUG('Exception occurs in getting the descendants:');
627:
628: FOR l_counter IN 1 .. l_msg_count LOOP
629: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter
630: , p_encoded => fnd_api.g_false));
631: END LOOP;
632:
633: RAISE api_call_failed;
634: END IF;

Line 775: , fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false));

771: WHEN api_call_failed THEN
772: IF (l_msg_count > 0) THEN
773: FOR l_counter IN 1 .. l_msg_count LOOP
774: fnd_file.put_line(fnd_file.LOG
775: , fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false));
776: END LOOP;
777: END IF;
778:
779: cn_message_pkg.FLUSH;

Line 3120: , p_init_msg_list => fnd_api.g_true

3116:
3117: COMMIT;
3118: cn_calc_submission_pvt.calculate(
3119: p_api_version => 1.0
3120: , p_init_msg_list => fnd_api.g_true
3121: , p_validation_level => fnd_api.g_valid_level_full
3122: , x_return_status => l_return_status
3123: , x_msg_count => l_msg_count
3124: , x_msg_data => l_msg_data

Line 3121: , p_validation_level => fnd_api.g_valid_level_full

3117: COMMIT;
3118: cn_calc_submission_pvt.calculate(
3119: p_api_version => 1.0
3120: , p_init_msg_list => fnd_api.g_true
3121: , p_validation_level => fnd_api.g_valid_level_full
3122: , x_return_status => l_return_status
3123: , x_msg_count => l_msg_count
3124: , x_msg_data => l_msg_data
3125: , p_calc_sub_batch_id => p_calc_sub_batch_id

Line 3128: IF l_return_status <> fnd_api.g_ret_sts_success THEN

3124: , x_msg_data => l_msg_data
3125: , p_calc_sub_batch_id => p_calc_sub_batch_id
3126: );
3127:
3128: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3129: FOR l_counter IN 1 .. l_msg_count LOOP
3130: l_msg_data := fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false);
3131: fnd_file.put_line(fnd_file.LOG, l_msg_data);
3132: cn_message_pkg.DEBUG(l_msg_data);

Line 3130: l_msg_data := fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false);

3126: );
3127:
3128: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3129: FOR l_counter IN 1 .. l_msg_count LOOP
3130: l_msg_data := fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false);
3131: fnd_file.put_line(fnd_file.LOG, l_msg_data);
3132: cn_message_pkg.DEBUG(l_msg_data);
3133: END LOOP;
3134:

Line 3555: , p_init_msg_list => fnd_api.g_true

3551: cn_formula_common_pkg.revert_batch(p_physical_batch_id);
3552: ELSIF p_physical_process = g_classification THEN
3553: cn_calc_classify_pvt.classify_batch(
3554: p_api_version => 1.0
3555: , p_init_msg_list => fnd_api.g_true
3556: , p_commit => fnd_api.g_true
3557: , x_return_status => l_return_status
3558: , x_msg_count => l_msg_count
3559: , x_msg_data => l_msg_data

Line 3556: , p_commit => fnd_api.g_true

3552: ELSIF p_physical_process = g_classification THEN
3553: cn_calc_classify_pvt.classify_batch(
3554: p_api_version => 1.0
3555: , p_init_msg_list => fnd_api.g_true
3556: , p_commit => fnd_api.g_true
3557: , x_return_status => l_return_status
3558: , x_msg_count => l_msg_count
3559: , x_msg_data => l_msg_data
3560: , p_physical_batch_id => p_physical_batch_id

Line 3563: IF l_return_status <> fnd_api.g_ret_sts_success THEN

3559: , x_msg_data => l_msg_data
3560: , p_physical_batch_id => p_physical_batch_id
3561: );
3562:
3563: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3564: cn_message_pkg.DEBUG('Exception occurs in classification process:');
3565:
3566: FOR l_counter IN 1 .. l_msg_count LOOP
3567: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter

Line 3568: , p_encoded => fnd_api.g_false));

3564: cn_message_pkg.DEBUG('Exception occurs in classification process:');
3565:
3566: FOR l_counter IN 1 .. l_msg_count LOOP
3567: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter
3568: , p_encoded => fnd_api.g_false));
3569: END LOOP;
3570:
3571: RAISE api_call_failed;
3572: END IF;

Line 3576: , p_init_msg_list => fnd_api.g_true

3572: END IF;
3573: ELSIF p_physical_process = g_rollup THEN
3574: cn_calc_rollup_pvt.rollup_batch(
3575: p_api_version => 1.0
3576: , p_init_msg_list => fnd_api.g_true
3577: , p_commit => fnd_api.g_true
3578: , x_return_status => l_return_status
3579: , x_msg_count => l_msg_count
3580: , x_msg_data => l_msg_data

Line 3577: , p_commit => fnd_api.g_true

3573: ELSIF p_physical_process = g_rollup THEN
3574: cn_calc_rollup_pvt.rollup_batch(
3575: p_api_version => 1.0
3576: , p_init_msg_list => fnd_api.g_true
3577: , p_commit => fnd_api.g_true
3578: , x_return_status => l_return_status
3579: , x_msg_count => l_msg_count
3580: , x_msg_data => l_msg_data
3581: , p_physical_batch_id => p_physical_batch_id

Line 3584: IF l_return_status <> fnd_api.g_ret_sts_success THEN

3580: , x_msg_data => l_msg_data
3581: , p_physical_batch_id => p_physical_batch_id
3582: );
3583:
3584: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3585: cn_message_pkg.DEBUG('Exception occurs in rollup phase:');
3586:
3587: FOR l_counter IN 1 .. l_msg_count LOOP
3588: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter

Line 3589: , p_encoded => fnd_api.g_false));

3585: cn_message_pkg.DEBUG('Exception occurs in rollup phase:');
3586:
3587: FOR l_counter IN 1 .. l_msg_count LOOP
3588: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter
3589: , p_encoded => fnd_api.g_false));
3590: END LOOP;
3591:
3592: RAISE api_call_failed;
3593: END IF;

Line 3597: , p_init_msg_list => fnd_api.g_true

3593: END IF;
3594: ELSIF p_physical_process = g_population THEN
3595: cn_calc_populate_pvt.populate_batch(
3596: p_api_version => 1.0
3597: , p_init_msg_list => fnd_api.g_true
3598: , p_commit => fnd_api.g_true
3599: , x_return_status => l_return_status
3600: , x_msg_count => l_msg_count
3601: , x_msg_data => l_msg_data

Line 3598: , p_commit => fnd_api.g_true

3594: ELSIF p_physical_process = g_population THEN
3595: cn_calc_populate_pvt.populate_batch(
3596: p_api_version => 1.0
3597: , p_init_msg_list => fnd_api.g_true
3598: , p_commit => fnd_api.g_true
3599: , x_return_status => l_return_status
3600: , x_msg_count => l_msg_count
3601: , x_msg_data => l_msg_data
3602: , p_physical_batch_id => p_physical_batch_id

Line 3605: IF l_return_status <> fnd_api.g_ret_sts_success THEN

3601: , x_msg_data => l_msg_data
3602: , p_physical_batch_id => p_physical_batch_id
3603: );
3604:
3605: IF l_return_status <> fnd_api.g_ret_sts_success THEN
3606: cn_message_pkg.DEBUG('Exception occurs in population phase:');
3607:
3608: FOR l_counter IN 1 .. l_msg_count LOOP
3609: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter

Line 3610: , p_encoded => fnd_api.g_false));

3606: cn_message_pkg.DEBUG('Exception occurs in population phase:');
3607:
3608: FOR l_counter IN 1 .. l_msg_count LOOP
3609: cn_message_pkg.DEBUG(fnd_msg_pub.get(p_msg_index => l_counter
3610: , p_encoded => fnd_api.g_false));
3611: END LOOP;
3612:
3613: RAISE api_call_failed;
3614: END IF;

Line 3702: , fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false));

3698:
3699: IF (l_msg_count > 0) THEN
3700: FOR l_counter IN 1 .. l_msg_count LOOP
3701: fnd_file.put_line(fnd_file.LOG
3702: , fnd_msg_pub.get(p_msg_index => l_counter, p_encoded => fnd_api.g_false));
3703: END LOOP;
3704: END IF;
3705:
3706: cn_message_pkg.rollback_errormsg_commit('Exception occurs in batch runner (ID='