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 3121: , p_init_msg_list => fnd_api.g_true

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

Line 3122: , p_validation_level => fnd_api.g_valid_level_full

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

Line 3129: IF l_return_status <> fnd_api.g_ret_sts_success THEN

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

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

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

Line 3556: , p_init_msg_list => fnd_api.g_true

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

Line 3557: , p_commit => fnd_api.g_true

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

Line 3564: IF l_return_status <> fnd_api.g_ret_sts_success THEN

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

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

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

Line 3577: , p_init_msg_list => fnd_api.g_true

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

Line 3578: , p_commit => fnd_api.g_true

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

Line 3585: IF l_return_status <> fnd_api.g_ret_sts_success THEN

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

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

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

Line 3598: , p_init_msg_list => fnd_api.g_true

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

Line 3599: , p_commit => fnd_api.g_true

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

Line 3606: IF l_return_status <> fnd_api.g_ret_sts_success THEN

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

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

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

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

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