DBA Data[Home] [Help]

APPS.CSF_TASKS_PUB dependencies on FND_API

Line 131: RETURN fnd_api.g_true;

127: AND NVL (schedule_flag, 'N') = 'Y'
128: AND task_type_id = p_task_type_id;
129: BEGIN
130: FOR v_task_type IN c_task_type LOOP
131: RETURN fnd_api.g_true;
132: END LOOP;
133: RETURN fnd_api.g_false;
134: END has_field_service_rule;
135:

Line 133: RETURN fnd_api.g_false;

129: BEGIN
130: FOR v_task_type IN c_task_type LOOP
131: RETURN fnd_api.g_true;
132: END LOOP;
133: RETURN fnd_api.g_false;
134: END has_field_service_rule;
135:
136: FUNCTION has_schedulable_status (p_task_status_id NUMBER)
137: RETURN BOOLEAN IS

Line 192: ELSIF has_field_service_rule (p_task_type_id) = fnd_api.g_false THEN

188: BEGIN
189: x_reason_code := NULL;
190: IF p_deleted_flag = 'Y' THEN
191: x_reason_code := 'CSF_DELETED_TASK';
192: ELSIF has_field_service_rule (p_task_type_id) = fnd_api.g_false THEN
193: x_reason_code := 'CSF_NON_FS_TASK';
194: ELSIF (p_planned_start_date IS NULL OR p_planned_end_date IS NULL) THEN
195: x_reason_code := 'CSF_PLANNED_DATE_NOT_SET';
196: ELSIF p_planned_effort IS NULL THEN

Line 270: l_transition_valid := fnd_api.g_false;

266:
267: l_dummy VARCHAR2(1);
268: l_transition_valid VARCHAR2(1);
269: BEGIN
270: l_transition_valid := fnd_api.g_false;
271:
272: -- If the new Status eqauls the old Status... return Valid.
273: IF p_new_status_id = p_old_status_id THEN
274: l_transition_valid := fnd_api.g_true;

Line 274: l_transition_valid := fnd_api.g_true;

270: l_transition_valid := fnd_api.g_false;
271:
272: -- If the new Status eqauls the old Status... return Valid.
273: IF p_new_status_id = p_old_status_id THEN
274: l_transition_valid := fnd_api.g_true;
275: ELSIF p_old_status_id IS NULL THEN
276: OPEN c_valid_new_trans;
277: FETCH c_valid_new_trans INTO l_dummy;
278: IF c_valid_new_trans%FOUND THEN

Line 279: l_transition_valid := fnd_api.g_true;

275: ELSIF p_old_status_id IS NULL THEN
276: OPEN c_valid_new_trans;
277: FETCH c_valid_new_trans INTO l_dummy;
278: IF c_valid_new_trans%FOUND THEN
279: l_transition_valid := fnd_api.g_true;
280: END IF;
281: CLOSE c_valid_new_trans;
282: ELSE
283: OPEN c_valid_existing_trans;

Line 286: l_transition_valid := fnd_api.g_true;

282: ELSE
283: OPEN c_valid_existing_trans;
284: FETCH c_valid_existing_trans INTO l_dummy;
285: IF c_valid_existing_trans%FOUND THEN
286: l_transition_valid := fnd_api.g_true;
287: END IF;
288: CLOSE c_valid_existing_trans;
289: END IF;
290: RETURN l_transition_valid;

Line 362: IF l_trans_valid = fnd_api.g_false THEN

358: RETURN;
359: END IF;
360:
361: l_trans_valid := validate_state_transition ('TASK_STATUS', p_old_status_id, p_new_status_id);
362: IF l_trans_valid = fnd_api.g_false THEN
363: l_valid_statuses := get_valid_statuses ('TASK_STATUS', p_old_status_id);
364: IF l_valid_statuses IS NULL THEN
365: fnd_message.set_name ('CSF', 'CSF_NO_STATE_TRANSITION');
366: ELSE

Line 372: RAISE fnd_api.g_exc_error;

368: fnd_message.set_token ('P_VALID_STATUSES', l_valid_statuses);
369: END IF;
370: fnd_message.set_token ('P_NEW_STATUS', get_task_status_name (p_new_status_id));
371: fnd_msg_pub.ADD;
372: RAISE fnd_api.g_exc_error;
373: END IF;
374: END validate_status_change;
375:
376: /**

Line 417: x_return_status := fnd_api.g_ret_sts_success;

413: l_update_schedulable_task VARCHAR2(3);
414: l_task_closure Varchar2(3) := fnd_profile.value_specific('CSF: Enforce_Task_Closure', fnd_global.user_id);
415: BEGIN
416: -- Initialize API return status to success
417: x_return_status := fnd_api.g_ret_sts_success;
418:
419: OPEN c_task_details;
420: FETCH c_task_details INTO l_old_status_id;
421: IF c_task_details%NOTFOUND THEN

Line 431: IF validate_state_transition ('TASK_STATUS', l_old_status_id, l_close_status_id) = fnd_api.g_false THEN

427: -- Before a Task can be closed, there are some checks that needs to be done
428:
429: -- Check whether the State Transition is valid.
430: l_close_status_id := fnd_profile.VALUE ('CSF_DFLT_AUTO_CLOSE_TASK_STATUS');
431: IF validate_state_transition ('TASK_STATUS', l_old_status_id, l_close_status_id) = fnd_api.g_false THEN
432: l_valid_statuses := get_valid_statuses ('TASK_STATUS', l_old_status_id);
433: IF l_valid_statuses IS NULL THEN
434: fnd_message.set_name ('CSF', 'CSF_NO_STATE_TRANSITION');
435: ELSE

Line 441: RAISE fnd_api.g_exc_error;

437: fnd_message.set_token ('P_VALID_STATUSES', l_valid_statuses);
438: END IF;
439: fnd_message.set_token ('P_NEW_STATUS', get_task_status_name (l_close_status_id));
440: fnd_msg_pub.ADD;
441: RAISE fnd_api.g_exc_error;
442: END IF;
443:
444: -- Check whether the Assignments and the associated Debriefs have been closed
445: l_update_schedulable_task := NVL(fnd_profile.value('CSFW_UPD_SCHEDULABLE'), 'NO');

Line 483: RAISE fnd_api.g_exc_error;

479: IF NOT is_debrief_closed(v_task_assignment.task_assignment_id)
480: THEN
481: fnd_message.set_name('CSF', 'CSF_DEBRIEF_PENDING');
482: fnd_msg_pub.ADD;
483: RAISE fnd_api.g_exc_error;
484: END IF;
485: END LOOP;
486: END IF;
487: -- added the following code for bug 8282570

Line 495: raise fnd_api.g_exc_error;

491: ELSIF l_valid_status = TRUE
492: THEN
493: FND_MESSAGE.Set_Name('CSF', 'CSF_CLOSED_TASK');
494: fnd_msg_pub.add;
495: raise fnd_api.g_exc_error;
496: END IF;
497: ---- end of code for the bug 8282570
498: ELSE
499: RETURN TRUE;

Line 502: WHEN fnd_api.g_exc_error THEN

498: ELSE
499: RETURN TRUE;
500: END IF;
501: EXCEPTION
502: WHEN fnd_api.g_exc_error THEN
503: x_return_status := fnd_api.g_ret_sts_error;
504: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
505: RETURN FALSE;
506: WHEN fnd_api.g_exc_unexpected_error THEN

Line 503: x_return_status := fnd_api.g_ret_sts_error;

499: RETURN TRUE;
500: END IF;
501: EXCEPTION
502: WHEN fnd_api.g_exc_error THEN
503: x_return_status := fnd_api.g_ret_sts_error;
504: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
505: RETURN FALSE;
506: WHEN fnd_api.g_exc_unexpected_error THEN
507: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 506: WHEN fnd_api.g_exc_unexpected_error THEN

502: WHEN fnd_api.g_exc_error THEN
503: x_return_status := fnd_api.g_ret_sts_error;
504: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
505: RETURN FALSE;
506: WHEN fnd_api.g_exc_unexpected_error THEN
507: x_return_status := fnd_api.g_ret_sts_unexp_error;
508: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
509: RETURN FALSE;
510: WHEN OTHERS THEN

Line 507: x_return_status := fnd_api.g_ret_sts_unexp_error;

503: x_return_status := fnd_api.g_ret_sts_error;
504: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
505: RETURN FALSE;
506: WHEN fnd_api.g_exc_unexpected_error THEN
507: x_return_status := fnd_api.g_ret_sts_unexp_error;
508: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
509: RETURN FALSE;
510: WHEN OTHERS THEN
511: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 511: x_return_status := fnd_api.g_ret_sts_unexp_error;

507: x_return_status := fnd_api.g_ret_sts_unexp_error;
508: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
509: RETURN FALSE;
510: WHEN OTHERS THEN
511: x_return_status := fnd_api.g_ret_sts_unexp_error;
512: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
513: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
514: END IF;
515: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 567: x_return_status := fnd_api.g_ret_sts_success;

563: l_schedulable BOOLEAN;
564: l_message_name VARCHAR2(100);
565: BEGIN
566: -- Initialize API return status to success
567: x_return_status := fnd_api.g_ret_sts_success;
568:
569: -- Fetching the Task Details
570: OPEN c_task_details;
571: FETCH c_task_details INTO l_task_details;

Line 591: RAISE fnd_api.g_exc_error;

587:
588: IF NOT l_schedulable THEN
589: fnd_message.set_name('CSF', l_message_name);
590: fnd_msg_pub.ADD;
591: RAISE fnd_api.g_exc_error;
592: END IF;
593:
594: RETURN TRUE;
595: EXCEPTION

Line 596: WHEN fnd_api.g_exc_error THEN

592: END IF;
593:
594: RETURN TRUE;
595: EXCEPTION
596: WHEN fnd_api.g_exc_error THEN
597: x_return_status := fnd_api.g_ret_sts_error;
598: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
599: RETURN FALSE;
600: WHEN fnd_api.g_exc_unexpected_error THEN

Line 597: x_return_status := fnd_api.g_ret_sts_error;

593:
594: RETURN TRUE;
595: EXCEPTION
596: WHEN fnd_api.g_exc_error THEN
597: x_return_status := fnd_api.g_ret_sts_error;
598: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
599: RETURN FALSE;
600: WHEN fnd_api.g_exc_unexpected_error THEN
601: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 600: WHEN fnd_api.g_exc_unexpected_error THEN

596: WHEN fnd_api.g_exc_error THEN
597: x_return_status := fnd_api.g_ret_sts_error;
598: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
599: RETURN FALSE;
600: WHEN fnd_api.g_exc_unexpected_error THEN
601: x_return_status := fnd_api.g_ret_sts_unexp_error;
602: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
603: RETURN FALSE;
604: WHEN OTHERS THEN

Line 601: x_return_status := fnd_api.g_ret_sts_unexp_error;

597: x_return_status := fnd_api.g_ret_sts_error;
598: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
599: RETURN FALSE;
600: WHEN fnd_api.g_exc_unexpected_error THEN
601: x_return_status := fnd_api.g_ret_sts_unexp_error;
602: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
603: RETURN FALSE;
604: WHEN OTHERS THEN
605: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 605: x_return_status := fnd_api.g_ret_sts_unexp_error;

601: x_return_status := fnd_api.g_ret_sts_unexp_error;
602: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
603: RETURN FALSE;
604: WHEN OTHERS THEN
605: x_return_status := fnd_api.g_ret_sts_unexp_error;
606: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
607: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
608: END IF;
609: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 638: x_return_status := fnd_api.g_ret_sts_success;

634: l_split_flag jtf_tasks_b.task_split_flag%TYPE;
635: l_status_id jtf_task_statuses_b.task_status_id%TYPE;
636: BEGIN
637: -- Initialize API return status to success
638: x_return_status := fnd_api.g_ret_sts_success;
639:
640: OPEN c_task_ta_det;
641: FETCH c_task_ta_det
642: INTO l_sched_start, l_sched_end, l_split_flag, l_status_id, l_resource_id;

Line 662: x_return_status := fnd_api.g_ret_sts_unexp_error;

658: END IF;
659: RETURN FALSE;
660: EXCEPTION
661: WHEN OTHERS THEN
662: x_return_status := fnd_api.g_ret_sts_unexp_error;
663: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
664: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
665: END IF;
666: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 743: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

739: -- Standard start of API savepoint
740: SAVEPOINT close_task_pub;
741:
742: -- Standard call to check for call compatibility
743: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
744: RAISE fnd_api.g_exc_unexpected_error;
745: END IF;
746:
747: -- Initialize message list if p_init_msg_list is set to TRUE

Line 744: RAISE fnd_api.g_exc_unexpected_error;

740: SAVEPOINT close_task_pub;
741:
742: -- Standard call to check for call compatibility
743: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
744: RAISE fnd_api.g_exc_unexpected_error;
745: END IF;
746:
747: -- Initialize message list if p_init_msg_list is set to TRUE
748: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 748: IF fnd_api.to_boolean (p_init_msg_list) THEN

744: RAISE fnd_api.g_exc_unexpected_error;
745: END IF;
746:
747: -- Initialize message list if p_init_msg_list is set to TRUE
748: IF fnd_api.to_boolean (p_init_msg_list) THEN
749: fnd_msg_pub.initialize;
750: END IF;
751:
752: -- Initialize API return status to success

Line 753: x_return_status := fnd_api.g_ret_sts_success;

749: fnd_msg_pub.initialize;
750: END IF;
751:
752: -- Initialize API return status to success
753: x_return_status := fnd_api.g_ret_sts_success;
754:
755: l_close_status_id := fnd_profile.VALUE ('CSF_DFLT_AUTO_CLOSE_TASK_STATUS');
756: update_task_status (
757: p_api_version => 1.0

Line 766: IF x_return_status = fnd_api.g_ret_sts_error THEN

762: , p_task_status_id => l_close_status_id
763: , p_object_version_number => l_object_version_number
764: );
765:
766: IF x_return_status = fnd_api.g_ret_sts_error THEN
767: RAISE fnd_api.g_exc_error;
768: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
769: RAISE fnd_api.g_exc_unexpected_error;
770: END IF;

Line 767: RAISE fnd_api.g_exc_error;

763: , p_object_version_number => l_object_version_number
764: );
765:
766: IF x_return_status = fnd_api.g_ret_sts_error THEN
767: RAISE fnd_api.g_exc_error;
768: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
769: RAISE fnd_api.g_exc_unexpected_error;
770: END IF;
771:

Line 768: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

764: );
765:
766: IF x_return_status = fnd_api.g_ret_sts_error THEN
767: RAISE fnd_api.g_exc_error;
768: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
769: RAISE fnd_api.g_exc_unexpected_error;
770: END IF;
771:
772: -- Standard check of p_commit

Line 769: RAISE fnd_api.g_exc_unexpected_error;

765:
766: IF x_return_status = fnd_api.g_ret_sts_error THEN
767: RAISE fnd_api.g_exc_error;
768: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
769: RAISE fnd_api.g_exc_unexpected_error;
770: END IF;
771:
772: -- Standard check of p_commit
773: IF fnd_api.to_boolean (p_commit) THEN

Line 773: IF fnd_api.to_boolean (p_commit) THEN

769: RAISE fnd_api.g_exc_unexpected_error;
770: END IF;
771:
772: -- Standard check of p_commit
773: IF fnd_api.to_boolean (p_commit) THEN
774: COMMIT WORK;
775: END IF;
776: -- Standard call to get message count and if count is 1, get message info
777: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 779: WHEN fnd_api.g_exc_error THEN

775: END IF;
776: -- Standard call to get message count and if count is 1, get message info
777: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
778: EXCEPTION
779: WHEN fnd_api.g_exc_error THEN
780: ROLLBACK TO close_task_pub;
781: x_return_status := fnd_api.g_ret_sts_error;
782: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
783: WHEN fnd_api.g_exc_unexpected_error THEN

Line 781: x_return_status := fnd_api.g_ret_sts_error;

777: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
778: EXCEPTION
779: WHEN fnd_api.g_exc_error THEN
780: ROLLBACK TO close_task_pub;
781: x_return_status := fnd_api.g_ret_sts_error;
782: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
783: WHEN fnd_api.g_exc_unexpected_error THEN
784: ROLLBACK TO close_task_pub;
785: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 783: WHEN fnd_api.g_exc_unexpected_error THEN

779: WHEN fnd_api.g_exc_error THEN
780: ROLLBACK TO close_task_pub;
781: x_return_status := fnd_api.g_ret_sts_error;
782: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
783: WHEN fnd_api.g_exc_unexpected_error THEN
784: ROLLBACK TO close_task_pub;
785: x_return_status := fnd_api.g_ret_sts_unexp_error;
786: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
787: WHEN OTHERS THEN

Line 785: x_return_status := fnd_api.g_ret_sts_unexp_error;

781: x_return_status := fnd_api.g_ret_sts_error;
782: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
783: WHEN fnd_api.g_exc_unexpected_error THEN
784: ROLLBACK TO close_task_pub;
785: x_return_status := fnd_api.g_ret_sts_unexp_error;
786: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
787: WHEN OTHERS THEN
788: x_return_status := fnd_api.g_ret_sts_unexp_error;
789: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 788: x_return_status := fnd_api.g_ret_sts_unexp_error;

784: ROLLBACK TO close_task_pub;
785: x_return_status := fnd_api.g_ret_sts_unexp_error;
786: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
787: WHEN OTHERS THEN
788: x_return_status := fnd_api.g_ret_sts_unexp_error;
789: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
790: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
791: END IF;
792: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 838: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

834:
835: l_task_info c_task_info%ROWTYPE;
836: BEGIN
837: -- standard call to check for call compatibility
838: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
839: RAISE fnd_api.g_exc_unexpected_error;
840: END IF;
841:
842: -- initialize message list if p_init_msg_list is set to true

Line 839: RAISE fnd_api.g_exc_unexpected_error;

835: l_task_info c_task_info%ROWTYPE;
836: BEGIN
837: -- standard call to check for call compatibility
838: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
839: RAISE fnd_api.g_exc_unexpected_error;
840: END IF;
841:
842: -- initialize message list if p_init_msg_list is set to true
843: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 843: IF fnd_api.to_boolean (p_init_msg_list) THEN

839: RAISE fnd_api.g_exc_unexpected_error;
840: END IF;
841:
842: -- initialize message list if p_init_msg_list is set to true
843: IF fnd_api.to_boolean (p_init_msg_list) THEN
844: fnd_msg_pub.initialize;
845: END IF;
846:
847: -- initialize api return status to success

Line 848: x_return_status := fnd_api.g_ret_sts_success;

844: fnd_msg_pub.initialize;
845: END IF;
846:
847: -- initialize api return status to success
848: x_return_status := fnd_api.g_ret_sts_success;
849:
850: -- start processing
851: x_count := 0;
852: l_idx := x_collection.FIRST;

Line 898: x_return_status := fnd_api.g_ret_sts_unexp_error;

894: -- standard call to get message count and if count is 1, get message info
895: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
896: EXCEPTION
897: WHEN OTHERS THEN
898: x_return_status := fnd_api.g_ret_sts_unexp_error;
899: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
900: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
901: END IF;
902: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1051: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

1047:
1048: BEGIN
1049: SAVEPOINT csf_create_task_pub;
1050:
1051: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1052: RAISE fnd_api.g_exc_unexpected_error;
1053: END IF;
1054:
1055: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 1052: RAISE fnd_api.g_exc_unexpected_error;

1048: BEGIN
1049: SAVEPOINT csf_create_task_pub;
1050:
1051: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1052: RAISE fnd_api.g_exc_unexpected_error;
1053: END IF;
1054:
1055: IF fnd_api.to_boolean (p_init_msg_list) THEN
1056: fnd_msg_pub.initialize;

Line 1055: IF fnd_api.to_boolean (p_init_msg_list) THEN

1051: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1052: RAISE fnd_api.g_exc_unexpected_error;
1053: END IF;
1054:
1055: IF fnd_api.to_boolean (p_init_msg_list) THEN
1056: fnd_msg_pub.initialize;
1057: END IF;
1058:
1059: x_return_status := fnd_api.g_ret_sts_success;

Line 1059: x_return_status := fnd_api.g_ret_sts_success;

1055: IF fnd_api.to_boolean (p_init_msg_list) THEN
1056: fnd_msg_pub.initialize;
1057: END IF;
1058:
1059: x_return_status := fnd_api.g_ret_sts_success;
1060:
1061: l_task_schedulable := check_schedulable(
1062: p_deleted_flag => 'N'
1063: , p_planned_start_date => p_planned_start_date

Line 1072: IF l_task_schedulable = FALSE OR x_return_status <> fnd_api.g_ret_sts_success THEN

1068: , x_reason_code => l_reason_code
1069: );
1070:
1071: -- Task is not schedulable.
1072: IF l_task_schedulable = FALSE OR x_return_status <> fnd_api.g_ret_sts_success THEN
1073: fnd_message.set_name ('CSF', l_reason_code);
1074: fnd_msg_pub.ADD;
1075: RAISE fnd_api.g_exc_error;
1076: END IF;

Line 1075: RAISE fnd_api.g_exc_error;

1071: -- Task is not schedulable.
1072: IF l_task_schedulable = FALSE OR x_return_status <> fnd_api.g_ret_sts_success THEN
1073: fnd_message.set_name ('CSF', l_reason_code);
1074: fnd_msg_pub.ADD;
1075: RAISE fnd_api.g_exc_error;
1076: END IF;
1077:
1078: jtf_tasks_pub.create_task (
1079: p_api_version => p_api_version

Line 1080: , p_init_msg_list => fnd_api.g_false

1076: END IF;
1077:
1078: jtf_tasks_pub.create_task (
1079: p_api_version => p_api_version
1080: , p_init_msg_list => fnd_api.g_false
1081: , p_commit => fnd_api.g_false
1082: , x_return_status => x_return_status
1083: , x_msg_count => x_msg_count
1084: , x_msg_data => x_msg_data

Line 1081: , p_commit => fnd_api.g_false

1077:
1078: jtf_tasks_pub.create_task (
1079: p_api_version => p_api_version
1080: , p_init_msg_list => fnd_api.g_false
1081: , p_commit => fnd_api.g_false
1082: , x_return_status => x_return_status
1083: , x_msg_count => x_msg_count
1084: , x_msg_data => x_msg_data
1085: , p_task_id => p_task_id

Line 1194: IF x_return_status = fnd_api.g_ret_sts_error THEN

1190: , p_child_sequence_num => p_child_sequence_num
1191: , x_task_id => x_task_id
1192: );
1193:
1194: IF x_return_status = fnd_api.g_ret_sts_error THEN
1195: RAISE fnd_api.g_exc_error;
1196: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1197: RAISE fnd_api.g_exc_unexpected_error;
1198: END IF;

Line 1195: RAISE fnd_api.g_exc_error;

1191: , x_task_id => x_task_id
1192: );
1193:
1194: IF x_return_status = fnd_api.g_ret_sts_error THEN
1195: RAISE fnd_api.g_exc_error;
1196: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1197: RAISE fnd_api.g_exc_unexpected_error;
1198: END IF;
1199:

Line 1196: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1192: );
1193:
1194: IF x_return_status = fnd_api.g_ret_sts_error THEN
1195: RAISE fnd_api.g_exc_error;
1196: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1197: RAISE fnd_api.g_exc_unexpected_error;
1198: END IF;
1199:
1200:

Line 1197: RAISE fnd_api.g_exc_unexpected_error;

1193:
1194: IF x_return_status = fnd_api.g_ret_sts_error THEN
1195: RAISE fnd_api.g_exc_error;
1196: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1197: RAISE fnd_api.g_exc_unexpected_error;
1198: END IF;
1199:
1200:
1201: CSF_TASKS_PUB.CREATE_ACC_HRS(

Line 1207: IF x_return_status = fnd_api.g_ret_sts_error THEN

1203: , x_return_status => x_return_status
1204: , x_msg_count => x_msg_count
1205: , x_msg_data => x_msg_data
1206: );
1207: IF x_return_status = fnd_api.g_ret_sts_error THEN
1208: RAISE fnd_api.g_exc_error;
1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1210: RAISE fnd_api.g_exc_unexpected_error;
1211: END IF;

Line 1208: RAISE fnd_api.g_exc_error;

1204: , x_msg_count => x_msg_count
1205: , x_msg_data => x_msg_data
1206: );
1207: IF x_return_status = fnd_api.g_ret_sts_error THEN
1208: RAISE fnd_api.g_exc_error;
1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1210: RAISE fnd_api.g_exc_unexpected_error;
1211: END IF;
1212: EXCEPTION

Line 1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1205: , x_msg_data => x_msg_data
1206: );
1207: IF x_return_status = fnd_api.g_ret_sts_error THEN
1208: RAISE fnd_api.g_exc_error;
1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1210: RAISE fnd_api.g_exc_unexpected_error;
1211: END IF;
1212: EXCEPTION
1213: WHEN fnd_api.g_exc_error THEN

Line 1210: RAISE fnd_api.g_exc_unexpected_error;

1206: );
1207: IF x_return_status = fnd_api.g_ret_sts_error THEN
1208: RAISE fnd_api.g_exc_error;
1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1210: RAISE fnd_api.g_exc_unexpected_error;
1211: END IF;
1212: EXCEPTION
1213: WHEN fnd_api.g_exc_error THEN
1214: ROLLBACK TO csf_create_task_pub;

Line 1213: WHEN fnd_api.g_exc_error THEN

1209: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1210: RAISE fnd_api.g_exc_unexpected_error;
1211: END IF;
1212: EXCEPTION
1213: WHEN fnd_api.g_exc_error THEN
1214: ROLLBACK TO csf_create_task_pub;
1215: x_return_status := fnd_api.g_ret_sts_error;
1216: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1217: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1215: x_return_status := fnd_api.g_ret_sts_error;

1211: END IF;
1212: EXCEPTION
1213: WHEN fnd_api.g_exc_error THEN
1214: ROLLBACK TO csf_create_task_pub;
1215: x_return_status := fnd_api.g_ret_sts_error;
1216: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1217: WHEN fnd_api.g_exc_unexpected_error THEN
1218: ROLLBACK TO csf_create_task_pub;
1219: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 1217: WHEN fnd_api.g_exc_unexpected_error THEN

1213: WHEN fnd_api.g_exc_error THEN
1214: ROLLBACK TO csf_create_task_pub;
1215: x_return_status := fnd_api.g_ret_sts_error;
1216: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1217: WHEN fnd_api.g_exc_unexpected_error THEN
1218: ROLLBACK TO csf_create_task_pub;
1219: x_return_status := fnd_api.g_ret_sts_unexp_error;
1220: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1221: WHEN OTHERS THEN

Line 1219: x_return_status := fnd_api.g_ret_sts_unexp_error;

1215: x_return_status := fnd_api.g_ret_sts_error;
1216: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1217: WHEN fnd_api.g_exc_unexpected_error THEN
1218: ROLLBACK TO csf_create_task_pub;
1219: x_return_status := fnd_api.g_ret_sts_unexp_error;
1220: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1221: WHEN OTHERS THEN
1222: x_return_status := fnd_api.g_ret_sts_unexp_error;
1223: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 1222: x_return_status := fnd_api.g_ret_sts_unexp_error;

1218: ROLLBACK TO csf_create_task_pub;
1219: x_return_status := fnd_api.g_ret_sts_unexp_error;
1220: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1221: WHEN OTHERS THEN
1222: x_return_status := fnd_api.g_ret_sts_unexp_error;
1223: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1224: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1225: END IF;
1226: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1305: x_return_status := fnd_api.g_ret_sts_success;

1301: l_task_status_id NUMBER;
1302: l_task_ovn NUMBER;
1303: l_task_closure Varchar2(3) := fnd_profile.value_specific('CSF: Enforce_Task_Closure', fnd_global.user_id);
1304: BEGIN
1305: x_return_status := fnd_api.g_ret_sts_success;
1306:
1307: IF p_new_sts_cancelled_flag = 'Y' THEN
1308: -- Cancel all the Open Task Assignments
1309: FOR v_task_assignment IN c_cancel_task_assignments LOOP

Line 1318: , p_update_task => fnd_api.g_false

1314: , x_msg_data => x_msg_data
1315: , p_task_assignment_id => v_task_assignment.task_assignment_id
1316: , p_object_version_number => v_task_assignment.object_version_number
1317: , p_assignment_status_id => p_new_task_status_id
1318: , p_update_task => fnd_api.g_false
1319: , x_task_object_version_number => l_task_ovn
1320: , x_task_status_id => l_task_status_id
1321: );
1322:

Line 1323: IF x_return_status = fnd_api.g_ret_sts_error THEN

1319: , x_task_object_version_number => l_task_ovn
1320: , x_task_status_id => l_task_status_id
1321: );
1322:
1323: IF x_return_status = fnd_api.g_ret_sts_error THEN
1324: RAISE fnd_api.g_exc_error;
1325: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1326: RAISE fnd_api.g_exc_unexpected_error;
1327: END IF;

Line 1324: RAISE fnd_api.g_exc_error;

1320: , x_task_status_id => l_task_status_id
1321: );
1322:
1323: IF x_return_status = fnd_api.g_ret_sts_error THEN
1324: RAISE fnd_api.g_exc_error;
1325: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1326: RAISE fnd_api.g_exc_unexpected_error;
1327: END IF;
1328: END LOOP;

Line 1325: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1321: );
1322:
1323: IF x_return_status = fnd_api.g_ret_sts_error THEN
1324: RAISE fnd_api.g_exc_error;
1325: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1326: RAISE fnd_api.g_exc_unexpected_error;
1327: END IF;
1328: END LOOP;
1329: ELSIF p_new_sts_closed_flag = 'Y' THEN

Line 1326: RAISE fnd_api.g_exc_unexpected_error;

1322:
1323: IF x_return_status = fnd_api.g_ret_sts_error THEN
1324: RAISE fnd_api.g_exc_error;
1325: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1326: RAISE fnd_api.g_exc_unexpected_error;
1327: END IF;
1328: END LOOP;
1329: ELSIF p_new_sts_closed_flag = 'Y' THEN
1330: -- added an if condition for task closeure for the bug 8282570

Line 1352: RAISE fnd_api.g_exc_error;

1348: AND v_task_assignment.rejected_flag = 'N' )
1349: THEN
1350: fnd_message.set_name ('CSF', 'CSF_CLOSED_TASK');
1351: fnd_msg_pub.ADD;
1352: RAISE fnd_api.g_exc_error;
1353: END IF;
1354:
1355: -- Task Assignment is not open. Check for Debrief
1356: IF NOT is_debrief_closed(v_task_assignment.task_assignment_id) THEN

Line 1359: RAISE fnd_api.g_exc_error;

1355: -- Task Assignment is not open. Check for Debrief
1356: IF NOT is_debrief_closed(v_task_assignment.task_assignment_id) THEN
1357: fnd_message.set_name('CSF', 'CSF_DEBRIEF_PENDING');
1358: fnd_msg_pub.ADD;
1359: RAISE fnd_api.g_exc_error;
1360: END IF;
1361:
1362: -- All validations done. Close the Task Assignment
1363: jtf_task_assignments_pub.update_task_assignment(

Line 1372: IF x_return_status = fnd_api.g_ret_sts_error THEN

1368: , p_task_assignment_id => v_task_assignment.task_assignment_id
1369: , p_object_version_number => v_task_assignment.object_version_number
1370: , p_assignment_status_id => p_new_task_status_id
1371: );
1372: IF x_return_status = fnd_api.g_ret_sts_error THEN
1373: RAISE fnd_api.g_exc_error;
1374: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1375: RAISE fnd_api.g_exc_unexpected_error;
1376: END IF;

Line 1373: RAISE fnd_api.g_exc_error;

1369: , p_object_version_number => v_task_assignment.object_version_number
1370: , p_assignment_status_id => p_new_task_status_id
1371: );
1372: IF x_return_status = fnd_api.g_ret_sts_error THEN
1373: RAISE fnd_api.g_exc_error;
1374: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1375: RAISE fnd_api.g_exc_unexpected_error;
1376: END IF;
1377: END LOOP;

Line 1374: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1370: , p_assignment_status_id => p_new_task_status_id
1371: );
1372: IF x_return_status = fnd_api.g_ret_sts_error THEN
1373: RAISE fnd_api.g_exc_error;
1374: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1375: RAISE fnd_api.g_exc_unexpected_error;
1376: END IF;
1377: END LOOP;
1378:

Line 1375: RAISE fnd_api.g_exc_unexpected_error;

1371: );
1372: IF x_return_status = fnd_api.g_ret_sts_error THEN
1373: RAISE fnd_api.g_exc_error;
1374: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1375: RAISE fnd_api.g_exc_unexpected_error;
1376: END IF;
1377: END LOOP;
1378:
1379:

Line 1441: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

1437: -- Standard start of API savepoint
1438: SAVEPOINT update_task_status_pub;
1439:
1440: -- Standard call to check for call compatibility
1441: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1442: RAISE fnd_api.g_exc_unexpected_error;
1443: END IF;
1444:
1445: -- Initialize message list if p_init_msg_list is set to TRUE

Line 1442: RAISE fnd_api.g_exc_unexpected_error;

1438: SAVEPOINT update_task_status_pub;
1439:
1440: -- Standard call to check for call compatibility
1441: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1442: RAISE fnd_api.g_exc_unexpected_error;
1443: END IF;
1444:
1445: -- Initialize message list if p_init_msg_list is set to TRUE
1446: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 1446: IF fnd_api.to_boolean (p_init_msg_list) THEN

1442: RAISE fnd_api.g_exc_unexpected_error;
1443: END IF;
1444:
1445: -- Initialize message list if p_init_msg_list is set to TRUE
1446: IF fnd_api.to_boolean (p_init_msg_list) THEN
1447: fnd_msg_pub.initialize;
1448: END IF;
1449:
1450: -- Initialize API return status to success

Line 1451: x_return_status := fnd_api.g_ret_sts_success;

1447: fnd_msg_pub.initialize;
1448: END IF;
1449:
1450: -- Initialize API return status to success
1451: x_return_status := fnd_api.g_ret_sts_success;
1452:
1453: -- Validate if update in necessary and get old status_id just in case
1454: IF p_task_status_id = fnd_api.g_miss_num THEN
1455: RETURN;

Line 1454: IF p_task_status_id = fnd_api.g_miss_num THEN

1450: -- Initialize API return status to success
1451: x_return_status := fnd_api.g_ret_sts_success;
1452:
1453: -- Validate if update in necessary and get old status_id just in case
1454: IF p_task_status_id = fnd_api.g_miss_num THEN
1455: RETURN;
1456: END IF;
1457:
1458: OPEN c_task_info;

Line 1467: IF p_validation_level IS NULL OR p_validation_level = fnd_api.g_valid_level_full THEN

1463: IF p_task_status_id = l_task_info.task_status_id THEN
1464: RETURN;
1465: END IF;
1466:
1467: IF p_validation_level IS NULL OR p_validation_level = fnd_api.g_valid_level_full THEN
1468: validate_status_change(l_task_info.task_status_id, p_task_status_id);
1469: END IF;
1470:
1471: OPEN c_task_status_info;

Line 1493: IF x_return_status = fnd_api.g_ret_sts_error THEN

1489: , p_scheduled_start_date => l_task_info.scheduled_start_date
1490: , p_scheduled_end_date => l_task_info.scheduled_end_date
1491: );
1492:
1493: IF x_return_status = fnd_api.g_ret_sts_error THEN
1494: RAISE fnd_api.g_exc_error;
1495: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1496: RAISE fnd_api.g_exc_unexpected_error;
1497: END IF;

Line 1494: RAISE fnd_api.g_exc_error;

1490: , p_scheduled_end_date => l_task_info.scheduled_end_date
1491: );
1492:
1493: IF x_return_status = fnd_api.g_ret_sts_error THEN
1494: RAISE fnd_api.g_exc_error;
1495: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1496: RAISE fnd_api.g_exc_unexpected_error;
1497: END IF;
1498:

Line 1495: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1491: );
1492:
1493: IF x_return_status = fnd_api.g_ret_sts_error THEN
1494: RAISE fnd_api.g_exc_error;
1495: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1496: RAISE fnd_api.g_exc_unexpected_error;
1497: END IF;
1498:
1499: -- Propagate the change to other dependent objects

Line 1496: RAISE fnd_api.g_exc_unexpected_error;

1492:
1493: IF x_return_status = fnd_api.g_ret_sts_error THEN
1494: RAISE fnd_api.g_exc_error;
1495: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1496: RAISE fnd_api.g_exc_unexpected_error;
1497: END IF;
1498:
1499: -- Propagate the change to other dependent objects
1500: propagate_status_change(

Line 1511: IF x_return_status = fnd_api.g_ret_sts_error THEN

1507: , p_new_sts_cancelled_flag => l_task_status_info.cancelled_flag
1508: , p_new_sts_closed_flag => l_task_status_info.closed_flag
1509: );
1510:
1511: IF x_return_status = fnd_api.g_ret_sts_error THEN
1512: RAISE fnd_api.g_exc_error;
1513: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1514: RAISE fnd_api.g_exc_unexpected_error;
1515: END IF;

Line 1512: RAISE fnd_api.g_exc_error;

1508: , p_new_sts_closed_flag => l_task_status_info.closed_flag
1509: );
1510:
1511: IF x_return_status = fnd_api.g_ret_sts_error THEN
1512: RAISE fnd_api.g_exc_error;
1513: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1514: RAISE fnd_api.g_exc_unexpected_error;
1515: END IF;
1516:

Line 1513: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1509: );
1510:
1511: IF x_return_status = fnd_api.g_ret_sts_error THEN
1512: RAISE fnd_api.g_exc_error;
1513: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1514: RAISE fnd_api.g_exc_unexpected_error;
1515: END IF;
1516:
1517: -- Standard check of p_commit

Line 1514: RAISE fnd_api.g_exc_unexpected_error;

1510:
1511: IF x_return_status = fnd_api.g_ret_sts_error THEN
1512: RAISE fnd_api.g_exc_error;
1513: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1514: RAISE fnd_api.g_exc_unexpected_error;
1515: END IF;
1516:
1517: -- Standard check of p_commit
1518: IF fnd_api.to_boolean (p_commit) THEN

Line 1518: IF fnd_api.to_boolean (p_commit) THEN

1514: RAISE fnd_api.g_exc_unexpected_error;
1515: END IF;
1516:
1517: -- Standard check of p_commit
1518: IF fnd_api.to_boolean (p_commit) THEN
1519: COMMIT WORK;
1520: END IF;
1521:
1522: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1524: WHEN fnd_api.g_exc_error THEN

1520: END IF;
1521:
1522: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1523: EXCEPTION
1524: WHEN fnd_api.g_exc_error THEN
1525: ROLLBACK TO update_task_status_pub;
1526: x_return_status := fnd_api.g_ret_sts_error;
1527: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1528: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1526: x_return_status := fnd_api.g_ret_sts_error;

1522: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1523: EXCEPTION
1524: WHEN fnd_api.g_exc_error THEN
1525: ROLLBACK TO update_task_status_pub;
1526: x_return_status := fnd_api.g_ret_sts_error;
1527: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1528: WHEN fnd_api.g_exc_unexpected_error THEN
1529: ROLLBACK TO update_task_status_pub;
1530: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 1528: WHEN fnd_api.g_exc_unexpected_error THEN

1524: WHEN fnd_api.g_exc_error THEN
1525: ROLLBACK TO update_task_status_pub;
1526: x_return_status := fnd_api.g_ret_sts_error;
1527: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1528: WHEN fnd_api.g_exc_unexpected_error THEN
1529: ROLLBACK TO update_task_status_pub;
1530: x_return_status := fnd_api.g_ret_sts_unexp_error;
1531: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1532: WHEN OTHERS THEN

Line 1530: x_return_status := fnd_api.g_ret_sts_unexp_error;

1526: x_return_status := fnd_api.g_ret_sts_error;
1527: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1528: WHEN fnd_api.g_exc_unexpected_error THEN
1529: ROLLBACK TO update_task_status_pub;
1530: x_return_status := fnd_api.g_ret_sts_unexp_error;
1531: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1532: WHEN OTHERS THEN
1533: x_return_status := fnd_api.g_ret_sts_unexp_error;
1534: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 1533: x_return_status := fnd_api.g_ret_sts_unexp_error;

1529: ROLLBACK TO update_task_status_pub;
1530: x_return_status := fnd_api.g_ret_sts_unexp_error;
1531: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1532: WHEN OTHERS THEN
1533: x_return_status := fnd_api.g_ret_sts_unexp_error;
1534: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1535: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1536: END IF;
1537: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1560: , p_init_msg_list => fnd_api.g_true

1556: BEGIN
1557: savepoint autoreject_task;
1558: csf_tasks_pub.update_task_status(
1559: p_api_version => 1
1560: , p_init_msg_list => fnd_api.g_true
1561: , p_commit => fnd_api.g_false
1562: , x_return_status => x_return_status
1563: , x_msg_count => x_msg_count
1564: , x_msg_data => x_msg_data

Line 1561: , p_commit => fnd_api.g_false

1557: savepoint autoreject_task;
1558: csf_tasks_pub.update_task_status(
1559: p_api_version => 1
1560: , p_init_msg_list => fnd_api.g_true
1561: , p_commit => fnd_api.g_false
1562: , x_return_status => x_return_status
1563: , x_msg_count => x_msg_count
1564: , x_msg_data => x_msg_data
1565: , p_task_id => p_task_id

Line 1569: IF x_return_status = fnd_api.g_ret_sts_error THEN

1565: , p_task_id => p_task_id
1566: , p_object_version_number => p_object_version_number
1567: , p_task_status_id => p_task_status_id);
1568:
1569: IF x_return_status = fnd_api.g_ret_sts_error THEN
1570: RAISE fnd_api.g_exc_error;
1571: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1572: RAISE fnd_api.g_exc_unexpected_error;
1573: END IF;

Line 1570: RAISE fnd_api.g_exc_error;

1566: , p_object_version_number => p_object_version_number
1567: , p_task_status_id => p_task_status_id);
1568:
1569: IF x_return_status = fnd_api.g_ret_sts_error THEN
1570: RAISE fnd_api.g_exc_error;
1571: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1572: RAISE fnd_api.g_exc_unexpected_error;
1573: END IF;
1574:

Line 1571: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1567: , p_task_status_id => p_task_status_id);
1568:
1569: IF x_return_status = fnd_api.g_ret_sts_error THEN
1570: RAISE fnd_api.g_exc_error;
1571: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1572: RAISE fnd_api.g_exc_unexpected_error;
1573: END IF;
1574:
1575: UPDATE JTF_TASKS_TL

Line 1572: RAISE fnd_api.g_exc_unexpected_error;

1568:
1569: IF x_return_status = fnd_api.g_ret_sts_error THEN
1570: RAISE fnd_api.g_exc_error;
1571: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1572: RAISE fnd_api.g_exc_unexpected_error;
1573: END IF;
1574:
1575: UPDATE JTF_TASKS_TL
1576: SET rejection_message = p_reject_message

Line 1580: IF fnd_api.to_boolean (p_commit) THEN

1576: SET rejection_message = p_reject_message
1577: WHERE task_id = p_task_id;
1578:
1579: -- Standard check of p_commit
1580: IF fnd_api.to_boolean (p_commit) THEN
1581: COMMIT WORK;
1582: END IF;
1583:
1584: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1587: WHEN fnd_api.g_exc_error THEN

1583:
1584: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1585:
1586: EXCEPTION
1587: WHEN fnd_api.g_exc_error THEN
1588: ROLLBACK TO autoreject_task;
1589: x_return_status := fnd_api.g_ret_sts_error;
1590: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1591: WHEN fnd_api.g_exc_unexpected_error THEN

Line 1589: x_return_status := fnd_api.g_ret_sts_error;

1585:
1586: EXCEPTION
1587: WHEN fnd_api.g_exc_error THEN
1588: ROLLBACK TO autoreject_task;
1589: x_return_status := fnd_api.g_ret_sts_error;
1590: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1591: WHEN fnd_api.g_exc_unexpected_error THEN
1592: ROLLBACK TO autoreject_task;
1593: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 1591: WHEN fnd_api.g_exc_unexpected_error THEN

1587: WHEN fnd_api.g_exc_error THEN
1588: ROLLBACK TO autoreject_task;
1589: x_return_status := fnd_api.g_ret_sts_error;
1590: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1591: WHEN fnd_api.g_exc_unexpected_error THEN
1592: ROLLBACK TO autoreject_task;
1593: x_return_status := fnd_api.g_ret_sts_unexp_error;
1594: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1595: WHEN OTHERS THEN

Line 1593: x_return_status := fnd_api.g_ret_sts_unexp_error;

1589: x_return_status := fnd_api.g_ret_sts_error;
1590: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1591: WHEN fnd_api.g_exc_unexpected_error THEN
1592: ROLLBACK TO autoreject_task;
1593: x_return_status := fnd_api.g_ret_sts_unexp_error;
1594: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1595: WHEN OTHERS THEN
1596: x_return_status := fnd_api.g_ret_sts_unexp_error;
1597: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 1596: x_return_status := fnd_api.g_ret_sts_unexp_error;

1592: ROLLBACK TO autoreject_task;
1593: x_return_status := fnd_api.g_ret_sts_unexp_error;
1594: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
1595: WHEN OTHERS THEN
1596: x_return_status := fnd_api.g_ret_sts_unexp_error;
1597: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1598: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1599: END IF;
1600: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 1840: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

1836: SAVEPOINT csf_update_task;
1837:
1838:
1839:
1840: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1841: RAISE fnd_api.g_exc_unexpected_error;
1842: END IF;
1843:
1844: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 1841: RAISE fnd_api.g_exc_unexpected_error;

1837:
1838:
1839:
1840: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1841: RAISE fnd_api.g_exc_unexpected_error;
1842: END IF;
1843:
1844: IF fnd_api.to_boolean (p_init_msg_list) THEN
1845: fnd_msg_pub.initialize;

Line 1844: IF fnd_api.to_boolean (p_init_msg_list) THEN

1840: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
1841: RAISE fnd_api.g_exc_unexpected_error;
1842: END IF;
1843:
1844: IF fnd_api.to_boolean (p_init_msg_list) THEN
1845: fnd_msg_pub.initialize;
1846: END IF;
1847:
1848: x_return_status := fnd_api.g_ret_sts_success;

Line 1848: x_return_status := fnd_api.g_ret_sts_success;

1844: IF fnd_api.to_boolean (p_init_msg_list) THEN
1845: fnd_msg_pub.initialize;
1846: END IF;
1847:
1848: x_return_status := fnd_api.g_ret_sts_success;
1849:
1850: OPEN c_task_info;
1851: FETCH c_task_info INTO l_task_info;
1852: CLOSE c_task_info;

Line 1857: IF p_validation_level = fnd_api.g_valid_level_full OR p_validation_level IS NULL THEN

1853:
1854: l_new_start_date := p_scheduled_start_date;
1855: l_new_end_date := p_scheduled_end_date;
1856:
1857: IF p_validation_level = fnd_api.g_valid_level_full OR p_validation_level IS NULL THEN
1858:
1859: -- Validate Task Status Change
1860: IF p_task_status_id <> fnd_api.g_miss_num THEN
1861: validate_status_change(l_task_info.task_status_id, p_task_status_id);

Line 1860: IF p_task_status_id <> fnd_api.g_miss_num THEN

1856:
1857: IF p_validation_level = fnd_api.g_valid_level_full OR p_validation_level IS NULL THEN
1858:
1859: -- Validate Task Status Change
1860: IF p_task_status_id <> fnd_api.g_miss_num THEN
1861: validate_status_change(l_task_info.task_status_id, p_task_status_id);
1862: END IF;
1863:
1864: -- Validate Trip Information corresponding to new Scheduled Dates

Line 1865: IF NVL(l_new_start_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date

1861: validate_status_change(l_task_info.task_status_id, p_task_status_id);
1862: END IF;
1863:
1864: -- Validate Trip Information corresponding to new Scheduled Dates
1865: IF NVL(l_new_start_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date
1866: OR NVL(l_new_end_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date
1867: THEN
1868:
1869: l_planned_effort := p_planned_effort;

Line 1866: OR NVL(l_new_end_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date

1862: END IF;
1863:
1864: -- Validate Trip Information corresponding to new Scheduled Dates
1865: IF NVL(l_new_start_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date
1866: OR NVL(l_new_end_date,fnd_api.g_miss_date) <> fnd_api.g_miss_date
1867: THEN
1868:
1869: l_planned_effort := p_planned_effort;
1870: l_planned_effort_uom := p_planned_effort_uom;

Line 1872: IF l_planned_effort IS NULL OR l_planned_effort = fnd_api.g_miss_num THEN

1868:
1869: l_planned_effort := p_planned_effort;
1870: l_planned_effort_uom := p_planned_effort_uom;
1871:
1872: IF l_planned_effort IS NULL OR l_planned_effort = fnd_api.g_miss_num THEN
1873: l_planned_effort := l_task_info.planned_effort;
1874: END IF;
1875: IF l_planned_effort_uom IS NULL OR l_planned_effort_uom = fnd_api.g_miss_char THEN
1876: l_planned_effort_uom := l_task_info.planned_effort_uom;

Line 1875: IF l_planned_effort_uom IS NULL OR l_planned_effort_uom = fnd_api.g_miss_char THEN

1871:
1872: IF l_planned_effort IS NULL OR l_planned_effort = fnd_api.g_miss_num THEN
1873: l_planned_effort := l_task_info.planned_effort;
1874: END IF;
1875: IF l_planned_effort_uom IS NULL OR l_planned_effort_uom = fnd_api.g_miss_char THEN
1876: l_planned_effort_uom := l_task_info.planned_effort_uom;
1877: END IF;
1878:
1879: l_planned_effort_minutes := csf_util_pvt.convert_to_minutes(

Line 1892: RAISE fnd_api.g_exc_error;

1888: THEN
1889: fnd_message.set_name ('CSF', 'CSF_TASK_UPDATE_NOT_ALLOWED');
1890: fnd_message.set_token('TASK_NUMBER',l_task_number);
1891: fnd_msg_pub.add;
1892: RAISE fnd_api.g_exc_error;
1893: END IF;
1894:
1895: IF l_task_info.task_assignment_id IS NOT NULL
1896: AND l_task_info.is_visited = 'N'

Line 1897: AND ( l_task_info.scheduled_start_date <> nvl(l_new_start_date,fnd_api.g_miss_date)

1893: END IF;
1894:
1895: IF l_task_info.task_assignment_id IS NOT NULL
1896: AND l_task_info.is_visited = 'N'
1897: AND ( l_task_info.scheduled_start_date <> nvl(l_new_start_date,fnd_api.g_miss_date)
1898: OR l_task_info.scheduled_end_date <> nvl(l_new_end_date,fnd_api.g_miss_date) )
1899: THEN
1900: IF l_new_start_date IS NULL OR l_new_start_date = fnd_api.g_miss_date THEN
1901: l_new_start_date := l_new_end_date - l_planned_effort_minutes / (24 * 60);

Line 1898: OR l_task_info.scheduled_end_date <> nvl(l_new_end_date,fnd_api.g_miss_date) )

1894:
1895: IF l_task_info.task_assignment_id IS NOT NULL
1896: AND l_task_info.is_visited = 'N'
1897: AND ( l_task_info.scheduled_start_date <> nvl(l_new_start_date,fnd_api.g_miss_date)
1898: OR l_task_info.scheduled_end_date <> nvl(l_new_end_date,fnd_api.g_miss_date) )
1899: THEN
1900: IF l_new_start_date IS NULL OR l_new_start_date = fnd_api.g_miss_date THEN
1901: l_new_start_date := l_new_end_date - l_planned_effort_minutes / (24 * 60);
1902: END IF;

Line 1900: IF l_new_start_date IS NULL OR l_new_start_date = fnd_api.g_miss_date THEN

1896: AND l_task_info.is_visited = 'N'
1897: AND ( l_task_info.scheduled_start_date <> nvl(l_new_start_date,fnd_api.g_miss_date)
1898: OR l_task_info.scheduled_end_date <> nvl(l_new_end_date,fnd_api.g_miss_date) )
1899: THEN
1900: IF l_new_start_date IS NULL OR l_new_start_date = fnd_api.g_miss_date THEN
1901: l_new_start_date := l_new_end_date - l_planned_effort_minutes / (24 * 60);
1902: END IF;
1903: IF l_new_end_date IS NULL OR l_new_end_date = fnd_api.g_miss_date THEN
1904: l_new_end_date := l_new_start_date + l_planned_effort_minutes / (24 * 60);

Line 1903: IF l_new_end_date IS NULL OR l_new_end_date = fnd_api.g_miss_date THEN

1899: THEN
1900: IF l_new_start_date IS NULL OR l_new_start_date = fnd_api.g_miss_date THEN
1901: l_new_start_date := l_new_end_date - l_planned_effort_minutes / (24 * 60);
1902: END IF;
1903: IF l_new_end_date IS NULL OR l_new_end_date = fnd_api.g_miss_date THEN
1904: l_new_end_date := l_new_start_date + l_planned_effort_minutes / (24 * 60);
1905: END IF;
1906:
1907: csf_trips_pub.find_trip(

Line 1909: , p_init_msg_list => fnd_api.g_false

1905: END IF;
1906:
1907: csf_trips_pub.find_trip(
1908: p_api_version => 1
1909: , p_init_msg_list => fnd_api.g_false
1910: , x_return_status => x_return_status
1911: , x_msg_data => x_msg_data
1912: , x_msg_count => x_msg_count
1913: , p_resource_id => l_task_info.resource_id

Line 1917: , p_overtime_flag => fnd_api.g_true

1913: , p_resource_id => l_task_info.resource_id
1914: , p_resource_type => l_task_info.resource_type_code
1915: , p_start_date_time => l_new_start_date
1916: , p_end_date_time => l_new_end_date
1917: , p_overtime_flag => fnd_api.g_true
1918: , x_trip_id => l_trip_id
1919: );
1920:
1921: IF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 1921: IF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1917: , p_overtime_flag => fnd_api.g_true
1918: , x_trip_id => l_trip_id
1919: );
1920:
1921: IF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1922: RAISE fnd_api.g_exc_unexpected_error;
1923: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
1924: -- No Trip or Multiple Trips found for the given dates. Make Trip as NULL
1925: l_trip_id := NULL;

Line 1922: RAISE fnd_api.g_exc_unexpected_error;

1918: , x_trip_id => l_trip_id
1919: );
1920:
1921: IF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1922: RAISE fnd_api.g_exc_unexpected_error;
1923: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
1924: -- No Trip or Multiple Trips found for the given dates. Make Trip as NULL
1925: l_trip_id := NULL;
1926: END IF;

Line 1923: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN

1919: );
1920:
1921: IF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1922: RAISE fnd_api.g_exc_unexpected_error;
1923: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
1924: -- No Trip or Multiple Trips found for the given dates. Make Trip as NULL
1925: l_trip_id := NULL;
1926: END IF;
1927:

Line 1932: , p_commit => fnd_api.g_false

1928: IF NVL(l_trip_id, -1) <> NVL(l_task_info.object_capacity_id,-1) THEN
1929: csf_task_assignments_pub.update_task_assignment(
1930: p_api_version => p_api_version
1931: , p_init_msg_list => p_init_msg_list
1932: , p_commit => fnd_api.g_false
1933: , p_validation_level => fnd_api.g_valid_level_none
1934: , x_return_status => x_return_status
1935: , x_msg_count => x_msg_count
1936: , x_msg_data => x_msg_data

Line 1933: , p_validation_level => fnd_api.g_valid_level_none

1929: csf_task_assignments_pub.update_task_assignment(
1930: p_api_version => p_api_version
1931: , p_init_msg_list => p_init_msg_list
1932: , p_commit => fnd_api.g_false
1933: , p_validation_level => fnd_api.g_valid_level_none
1934: , x_return_status => x_return_status
1935: , x_msg_count => x_msg_count
1936: , x_msg_data => x_msg_data
1937: , p_task_assignment_id => l_task_info.task_assignment_id

Line 1940: , p_update_task => fnd_api.g_false

1936: , x_msg_data => x_msg_data
1937: , p_task_assignment_id => l_task_info.task_assignment_id
1938: , p_object_version_number => l_task_info.object_version_number
1939: , p_object_capacity_id => l_trip_id
1940: , p_update_task => fnd_api.g_false
1941: , x_task_object_version_number => l_task_object_version
1942: , x_task_status_id => l_task_status_id
1943: );
1944:

Line 1945: IF x_return_status = fnd_api.g_ret_sts_error THEN

1941: , x_task_object_version_number => l_task_object_version
1942: , x_task_status_id => l_task_status_id
1943: );
1944:
1945: IF x_return_status = fnd_api.g_ret_sts_error THEN
1946: RAISE fnd_api.g_exc_error;
1947: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1948: RAISE fnd_api.g_exc_unexpected_error;
1949: END IF;

Line 1946: RAISE fnd_api.g_exc_error;

1942: , x_task_status_id => l_task_status_id
1943: );
1944:
1945: IF x_return_status = fnd_api.g_ret_sts_error THEN
1946: RAISE fnd_api.g_exc_error;
1947: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1948: RAISE fnd_api.g_exc_unexpected_error;
1949: END IF;
1950: END IF;

Line 1947: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

1943: );
1944:
1945: IF x_return_status = fnd_api.g_ret_sts_error THEN
1946: RAISE fnd_api.g_exc_error;
1947: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1948: RAISE fnd_api.g_exc_unexpected_error;
1949: END IF;
1950: END IF;
1951:

Line 1948: RAISE fnd_api.g_exc_unexpected_error;

1944:
1945: IF x_return_status = fnd_api.g_ret_sts_error THEN
1946: RAISE fnd_api.g_exc_error;
1947: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
1948: RAISE fnd_api.g_exc_unexpected_error;
1949: END IF;
1950: END IF;
1951:
1952: IF fnd_api.to_boolean(p_find_overlap) THEN

Line 1952: IF fnd_api.to_boolean(p_find_overlap) THEN

1948: RAISE fnd_api.g_exc_unexpected_error;
1949: END IF;
1950: END IF;
1951:
1952: IF fnd_api.to_boolean(p_find_overlap) THEN
1953: FOR v_overlap_tasks IN c_overlap_tasks(l_trip_id,l_new_start_date,l_new_end_date) LOOP
1954: l_overlap_tasks := l_overlap_tasks || fnd_global.local_chr(10) || v_overlap_tasks.overlap_task_num;
1955: END LOOP;
1956: END IF;

Line 1961: IF p_task_status_id <> fnd_api.g_miss_num AND l_task_info.task_status_id <> p_task_status_id THEN

1957: END IF;
1958: END IF;
1959: END IF;
1960:
1961: IF p_task_status_id <> fnd_api.g_miss_num AND l_task_info.task_status_id <> p_task_status_id THEN
1962: -- Clear the Scheduled Dates if the Task is Cancelled
1963: OPEN c_task_status_info;
1964: FETCH c_task_status_info INTO l_task_status_info;
1965: CLOSE c_task_status_info;

Line 1978: , p_commit => fnd_api.g_false

1974:
1975: jtf_tasks_pub.update_task(
1976: p_api_version => p_api_version
1977: , p_init_msg_list => p_init_msg_list
1978: , p_commit => fnd_api.g_false
1979: , x_return_status => x_return_status
1980: , x_msg_count => x_msg_count
1981: , x_msg_data => x_msg_data
1982: , p_task_id => p_task_id

Line 2074: IF x_return_status = fnd_api.g_ret_sts_error THEN

2070: , p_enable_workflow => p_enable_workflow
2071: , p_abort_workflow => p_abort_workflow
2072: );
2073:
2074: IF x_return_status = fnd_api.g_ret_sts_error THEN
2075: RAISE fnd_api.g_exc_error;
2076: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2077: RAISE fnd_api.g_exc_unexpected_error;
2078: END IF;

Line 2075: RAISE fnd_api.g_exc_error;

2071: , p_abort_workflow => p_abort_workflow
2072: );
2073:
2074: IF x_return_status = fnd_api.g_ret_sts_error THEN
2075: RAISE fnd_api.g_exc_error;
2076: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2077: RAISE fnd_api.g_exc_unexpected_error;
2078: END IF;
2079:

Line 2076: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2072: );
2073:
2074: IF x_return_status = fnd_api.g_ret_sts_error THEN
2075: RAISE fnd_api.g_exc_error;
2076: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2077: RAISE fnd_api.g_exc_unexpected_error;
2078: END IF;
2079:
2080:

Line 2077: RAISE fnd_api.g_exc_unexpected_error;

2073:
2074: IF x_return_status = fnd_api.g_ret_sts_error THEN
2075: RAISE fnd_api.g_exc_error;
2076: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2077: RAISE fnd_api.g_exc_unexpected_error;
2078: END IF;
2079:
2080:
2081:

Line 2083: IF p_task_status_id <> fnd_api.g_miss_num THEN

2079:
2080:
2081:
2082: -- Propagate the Task Status Change to other dependent Objects.
2083: IF p_task_status_id <> fnd_api.g_miss_num THEN
2084: propagate_status_change(
2085: x_return_status => x_return_status
2086: , x_msg_count => x_msg_count
2087: , x_msg_data => x_msg_data

Line 2094: IF x_return_status = fnd_api.g_ret_sts_error THEN

2090: , p_new_task_status_id => p_task_status_id
2091: , p_new_sts_cancelled_flag => l_task_status_info.cancelled_flag
2092: , p_new_sts_closed_flag => l_task_status_info.closed_flag
2093: );
2094: IF x_return_status = fnd_api.g_ret_sts_error THEN
2095: RAISE fnd_api.g_exc_error;
2096: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2097: RAISE fnd_api.g_exc_unexpected_error;
2098: END IF;

Line 2095: RAISE fnd_api.g_exc_error;

2091: , p_new_sts_cancelled_flag => l_task_status_info.cancelled_flag
2092: , p_new_sts_closed_flag => l_task_status_info.closed_flag
2093: );
2094: IF x_return_status = fnd_api.g_ret_sts_error THEN
2095: RAISE fnd_api.g_exc_error;
2096: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2097: RAISE fnd_api.g_exc_unexpected_error;
2098: END IF;
2099: END IF;

Line 2096: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2092: , p_new_sts_closed_flag => l_task_status_info.closed_flag
2093: );
2094: IF x_return_status = fnd_api.g_ret_sts_error THEN
2095: RAISE fnd_api.g_exc_error;
2096: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2097: RAISE fnd_api.g_exc_unexpected_error;
2098: END IF;
2099: END IF;
2100: l_auto_acc_hrs := fnd_profile.value('CSF_AUTO_POPULATE_ACCESS_HRS');

Line 2097: RAISE fnd_api.g_exc_unexpected_error;

2093: );
2094: IF x_return_status = fnd_api.g_ret_sts_error THEN
2095: RAISE fnd_api.g_exc_error;
2096: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2097: RAISE fnd_api.g_exc_unexpected_error;
2098: END IF;
2099: END IF;
2100: l_auto_acc_hrs := fnd_profile.value('CSF_AUTO_POPULATE_ACCESS_HRS');
2101: /*

Line 2277: IF x_return_status = fnd_api.g_ret_sts_error THEN

2273: /*fnd_message.set_name('CSF','CSF_TASK_ACC_UPDATE_ERROR');
2274: fnd_message.set_token('VALUE',l_task_dtls.task_number);
2275: fnd_msg_pub.add;
2276: Add_Err_Msg;*/
2277: IF x_return_status = fnd_api.g_ret_sts_error THEN
2278: RAISE fnd_api.g_exc_error;
2279: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2280: RAISE fnd_api.g_exc_unexpected_error;
2281: END IF;

Line 2278: RAISE fnd_api.g_exc_error;

2274: fnd_message.set_token('VALUE',l_task_dtls.task_number);
2275: fnd_msg_pub.add;
2276: Add_Err_Msg;*/
2277: IF x_return_status = fnd_api.g_ret_sts_error THEN
2278: RAISE fnd_api.g_exc_error;
2279: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2280: RAISE fnd_api.g_exc_unexpected_error;
2281: END IF;
2282: END IF;

Line 2279: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2275: fnd_msg_pub.add;
2276: Add_Err_Msg;*/
2277: IF x_return_status = fnd_api.g_ret_sts_error THEN
2278: RAISE fnd_api.g_exc_error;
2279: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2280: RAISE fnd_api.g_exc_unexpected_error;
2281: END IF;
2282: END IF;
2283: END IF;

Line 2280: RAISE fnd_api.g_exc_unexpected_error;

2276: Add_Err_Msg;*/
2277: IF x_return_status = fnd_api.g_ret_sts_error THEN
2278: RAISE fnd_api.g_exc_error;
2279: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2280: RAISE fnd_api.g_exc_unexpected_error;
2281: END IF;
2282: END IF;
2283: END IF;
2284:

Line 2287: IF fnd_api.to_boolean (p_commit) THEN

2283: END IF;
2284:
2285: END IF;-- This endif is for l_auto_acc_hrs profile check
2286: /* VAKULKAR - end - changes to associate access hours to the tasks */
2287: IF fnd_api.to_boolean (p_commit) THEN
2288: COMMIT WORK;
2289: END IF;
2290:
2291: IF l_overlap_tasks IS NOT NULL THEN

Line 2302: WHEN fnd_api.g_exc_error THEN

2298: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2299:
2300:
2301: EXCEPTION
2302: WHEN fnd_api.g_exc_error THEN
2303: ROLLBACK TO csf_update_task;
2304: x_return_status := fnd_api.g_ret_sts_error;
2305: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2306: WHEN fnd_api.g_exc_unexpected_error THEN

Line 2304: x_return_status := fnd_api.g_ret_sts_error;

2300:
2301: EXCEPTION
2302: WHEN fnd_api.g_exc_error THEN
2303: ROLLBACK TO csf_update_task;
2304: x_return_status := fnd_api.g_ret_sts_error;
2305: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2306: WHEN fnd_api.g_exc_unexpected_error THEN
2307: ROLLBACK TO csf_update_task;
2308: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 2306: WHEN fnd_api.g_exc_unexpected_error THEN

2302: WHEN fnd_api.g_exc_error THEN
2303: ROLLBACK TO csf_update_task;
2304: x_return_status := fnd_api.g_ret_sts_error;
2305: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2306: WHEN fnd_api.g_exc_unexpected_error THEN
2307: ROLLBACK TO csf_update_task;
2308: x_return_status := fnd_api.g_ret_sts_unexp_error;
2309: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2310: WHEN OTHERS THEN

Line 2308: x_return_status := fnd_api.g_ret_sts_unexp_error;

2304: x_return_status := fnd_api.g_ret_sts_error;
2305: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2306: WHEN fnd_api.g_exc_unexpected_error THEN
2307: ROLLBACK TO csf_update_task;
2308: x_return_status := fnd_api.g_ret_sts_unexp_error;
2309: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2310: WHEN OTHERS THEN
2311: x_return_status := fnd_api.g_ret_sts_unexp_error;
2312: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 2311: x_return_status := fnd_api.g_ret_sts_unexp_error;

2307: ROLLBACK TO csf_update_task;
2308: x_return_status := fnd_api.g_ret_sts_unexp_error;
2309: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2310: WHEN OTHERS THEN
2311: x_return_status := fnd_api.g_ret_sts_unexp_error;
2312: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2313: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
2314: END IF;
2315: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 2422: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

2418: l_resource_type_code VARCHAR2(100);
2419: BEGIN
2420: SAVEPOINT csf_commit_task;
2421:
2422: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2423: RAISE fnd_api.g_exc_unexpected_error;
2424: END IF;
2425:
2426: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 2423: RAISE fnd_api.g_exc_unexpected_error;

2419: BEGIN
2420: SAVEPOINT csf_commit_task;
2421:
2422: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2423: RAISE fnd_api.g_exc_unexpected_error;
2424: END IF;
2425:
2426: IF fnd_api.to_boolean (p_init_msg_list) THEN
2427: fnd_msg_pub.initialize;

Line 2426: IF fnd_api.to_boolean (p_init_msg_list) THEN

2422: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2423: RAISE fnd_api.g_exc_unexpected_error;
2424: END IF;
2425:
2426: IF fnd_api.to_boolean (p_init_msg_list) THEN
2427: fnd_msg_pub.initialize;
2428: END IF;
2429:
2430: x_return_status := fnd_api.g_ret_sts_success;

Line 2430: x_return_status := fnd_api.g_ret_sts_success;

2426: IF fnd_api.to_boolean (p_init_msg_list) THEN
2427: fnd_msg_pub.initialize;
2428: END IF;
2429:
2430: x_return_status := fnd_api.g_ret_sts_success;
2431:
2432: -- Fetch the Task Information
2433:
2434: IF p_resource_id is null or p_resource_type is null --condition added for bug 6647019

Line 2443: RAISE fnd_api.g_exc_error;

2439: CLOSE c_task_details;
2440: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_TASK_STATUS');
2441: fnd_message.set_token ('P_TASK_NUMBER', task_number(p_task_id));
2442: fnd_msg_pub.ADD;
2443: RAISE fnd_api.g_exc_error;
2444: END IF;
2445: CLOSE c_task_details;
2446: ELSE
2447: OPEN c_task_details_1;

Line 2454: RAISE fnd_api.g_exc_error;

2450: CLOSE c_task_details_1;
2451: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_TASK_STATUS');
2452: fnd_message.set_token ('P_TASK_NUMBER', task_number(p_task_id));
2453: fnd_msg_pub.ADD;
2454: RAISE fnd_api.g_exc_error;
2455: END IF;
2456: CLOSE c_task_details_1;
2457: END IF;
2458:

Line 2464: RAISE fnd_api.g_exc_error;

2460: IF l_task_details.trip_status = csf_trips_pub.g_trip_unavailable THEN
2461: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_TRIP_BLOCK');
2462: fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);
2463: fnd_msg_pub.ADD;
2464: RAISE fnd_api.g_exc_error;
2465: END IF;
2466:
2467: -- Validate Status Transition
2468: l_trans_valid := validate_state_transition ('TASK_STATUS', l_task_details.assignment_status_id, l_new_status_id);

Line 2469: IF l_trans_valid = fnd_api.g_false THEN

2465: END IF;
2466:
2467: -- Validate Status Transition
2468: l_trans_valid := validate_state_transition ('TASK_STATUS', l_task_details.assignment_status_id, l_new_status_id);
2469: IF l_trans_valid = fnd_api.g_false THEN
2470: l_valid_statuses := get_valid_statuses ('TASK_STATUS', l_task_details.assignment_status_id);
2471: IF l_valid_statuses IS NULL THEN
2472: fnd_message.set_name ('CSF', 'CSF_NO_STATE_TRANSITION');
2473: ELSE

Line 2479: RAISE fnd_api.g_exc_error;

2475: fnd_message.set_token ('P_VALID_STATUSES', l_valid_statuses);
2476: END IF;
2477: fnd_message.set_token ('P_NEW_STATUS', get_task_status_name (l_new_status_id));
2478: fnd_msg_pub.ADD;
2479: RAISE fnd_api.g_exc_error;
2480: END IF;
2481:
2482: -- Check the Customer Confirmation Status - Should be either No or Received
2483: IF l_task_details.task_confirmation_status = 'R' THEN

Line 2494: RAISE fnd_api.g_exc_error;

2490: THEN
2491: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_CUST_CONF');
2492: fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);
2493: fnd_msg_pub.ADD;
2494: RAISE fnd_api.g_exc_error;
2495: END IF;
2496: END IF;
2497:
2498: -- Check for Scheduled Dates

Line 2503: RAISE fnd_api.g_exc_error;

2499: IF l_task_details.scheduled_start_date IS NULL THEN
2500: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_TASK_SCHE');
2501: fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);
2502: fnd_msg_pub.ADD;
2503: RAISE fnd_api.g_exc_error;
2504: END IF;
2505:
2506: csf_task_assignments_pub.update_assignment_status(
2507: p_api_version => 1.0

Line 2508: , p_validation_level => fnd_api.g_valid_level_none

2504: END IF;
2505:
2506: csf_task_assignments_pub.update_assignment_status(
2507: p_api_version => 1.0
2508: , p_validation_level => fnd_api.g_valid_level_none
2509: , p_init_msg_list => fnd_api.g_false
2510: , p_commit => fnd_api.g_false
2511: , x_return_status => x_return_status
2512: , x_msg_count => x_msg_count

Line 2509: , p_init_msg_list => fnd_api.g_false

2505:
2506: csf_task_assignments_pub.update_assignment_status(
2507: p_api_version => 1.0
2508: , p_validation_level => fnd_api.g_valid_level_none
2509: , p_init_msg_list => fnd_api.g_false
2510: , p_commit => fnd_api.g_false
2511: , x_return_status => x_return_status
2512: , x_msg_count => x_msg_count
2513: , x_msg_data => x_msg_data

Line 2510: , p_commit => fnd_api.g_false

2506: csf_task_assignments_pub.update_assignment_status(
2507: p_api_version => 1.0
2508: , p_validation_level => fnd_api.g_valid_level_none
2509: , p_init_msg_list => fnd_api.g_false
2510: , p_commit => fnd_api.g_false
2511: , x_return_status => x_return_status
2512: , x_msg_count => x_msg_count
2513: , x_msg_data => x_msg_data
2514: , p_task_assignment_id => l_task_details.task_assignment_id

Line 2521: IF x_return_status = fnd_api.g_ret_sts_success THEN

2517: , x_task_object_version_number => l_task_details.object_version_number
2518: , x_task_status_id => l_task_details.task_status_id
2519: );
2520:
2521: IF x_return_status = fnd_api.g_ret_sts_success THEN
2522: -- commented for the bug 6801965
2523: -- Committed Task Message is added to the message stack
2524: -- fnd_message.set_name ('CSF', 'CSF_AUTO_COMMITTED');
2525: -- fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);

Line 2528: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN

2524: -- fnd_message.set_name ('CSF', 'CSF_AUTO_COMMITTED');
2525: -- fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);
2526: -- fnd_msg_pub.ADD;
2527: RETURN;
2528: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
2529: RAISE fnd_api.g_exc_error;
2530: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2531: RAISE fnd_api.g_exc_unexpected_error;
2532: END IF;

Line 2529: RAISE fnd_api.g_exc_error;

2525: -- fnd_message.set_token ('P_TASK_NUMBER', l_task_details.task_number);
2526: -- fnd_msg_pub.ADD;
2527: RETURN;
2528: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
2529: RAISE fnd_api.g_exc_error;
2530: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2531: RAISE fnd_api.g_exc_unexpected_error;
2532: END IF;
2533:

Line 2530: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2526: -- fnd_msg_pub.ADD;
2527: RETURN;
2528: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
2529: RAISE fnd_api.g_exc_error;
2530: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2531: RAISE fnd_api.g_exc_unexpected_error;
2532: END IF;
2533:
2534: -- Standard check of p_commit

Line 2531: RAISE fnd_api.g_exc_unexpected_error;

2527: RETURN;
2528: ELSIF x_return_status = fnd_api.g_ret_sts_error THEN
2529: RAISE fnd_api.g_exc_error;
2530: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2531: RAISE fnd_api.g_exc_unexpected_error;
2532: END IF;
2533:
2534: -- Standard check of p_commit
2535: IF fnd_api.to_boolean (p_commit) THEN

Line 2535: IF fnd_api.to_boolean (p_commit) THEN

2531: RAISE fnd_api.g_exc_unexpected_error;
2532: END IF;
2533:
2534: -- Standard check of p_commit
2535: IF fnd_api.to_boolean (p_commit) THEN
2536: COMMIT WORK;
2537: END IF;
2538:
2539: EXCEPTION

Line 2540: WHEN fnd_api.g_exc_error THEN

2536: COMMIT WORK;
2537: END IF;
2538:
2539: EXCEPTION
2540: WHEN fnd_api.g_exc_error THEN
2541: ROLLBACK TO csf_commit_task;
2542: x_return_status := fnd_api.g_ret_sts_error;
2543: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2544: WHEN fnd_api.g_exc_unexpected_error THEN

Line 2542: x_return_status := fnd_api.g_ret_sts_error;

2538:
2539: EXCEPTION
2540: WHEN fnd_api.g_exc_error THEN
2541: ROLLBACK TO csf_commit_task;
2542: x_return_status := fnd_api.g_ret_sts_error;
2543: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2544: WHEN fnd_api.g_exc_unexpected_error THEN
2545: ROLLBACK TO csf_commit_task;
2546: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 2544: WHEN fnd_api.g_exc_unexpected_error THEN

2540: WHEN fnd_api.g_exc_error THEN
2541: ROLLBACK TO csf_commit_task;
2542: x_return_status := fnd_api.g_ret_sts_error;
2543: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2544: WHEN fnd_api.g_exc_unexpected_error THEN
2545: ROLLBACK TO csf_commit_task;
2546: x_return_status := fnd_api.g_ret_sts_unexp_error;
2547: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2548: WHEN OTHERS THEN

Line 2546: x_return_status := fnd_api.g_ret_sts_unexp_error;

2542: x_return_status := fnd_api.g_ret_sts_error;
2543: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2544: WHEN fnd_api.g_exc_unexpected_error THEN
2545: ROLLBACK TO csf_commit_task;
2546: x_return_status := fnd_api.g_ret_sts_unexp_error;
2547: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2548: WHEN OTHERS THEN
2549: x_return_status := fnd_api.g_ret_sts_unexp_error;
2550: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 2549: x_return_status := fnd_api.g_ret_sts_unexp_error;

2545: ROLLBACK TO csf_commit_task;
2546: x_return_status := fnd_api.g_ret_sts_unexp_error;
2547: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2548: WHEN OTHERS THEN
2549: x_return_status := fnd_api.g_ret_sts_unexp_error;
2550: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2551: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
2552: END IF;
2553: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 2667: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

2663:
2664: BEGIN
2665: SAVEPOINT csf_commit_schedule;
2666:
2667: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2668: RAISE fnd_api.g_exc_unexpected_error;
2669: END IF;
2670:
2671: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 2668: RAISE fnd_api.g_exc_unexpected_error;

2664: BEGIN
2665: SAVEPOINT csf_commit_schedule;
2666:
2667: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2668: RAISE fnd_api.g_exc_unexpected_error;
2669: END IF;
2670:
2671: IF fnd_api.to_boolean (p_init_msg_list) THEN
2672: fnd_msg_pub.initialize;

Line 2671: IF fnd_api.to_boolean (p_init_msg_list) THEN

2667: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
2668: RAISE fnd_api.g_exc_unexpected_error;
2669: END IF;
2670:
2671: IF fnd_api.to_boolean (p_init_msg_list) THEN
2672: fnd_msg_pub.initialize;
2673: END IF;
2674:
2675: x_return_status := fnd_api.g_ret_sts_success;

Line 2675: x_return_status := fnd_api.g_ret_sts_success;

2671: IF fnd_api.to_boolean (p_init_msg_list) THEN
2672: fnd_msg_pub.initialize;
2673: END IF;
2674:
2675: x_return_status := fnd_api.g_ret_sts_success;
2676:
2677: -- Check whether the required parameters are passed.
2678: IF p_query_id IS NULL AND p_resource_id IS NULL AND p_task_id IS NULL AND p_trip_id IS NULL THEN
2679: fnd_message.set_name('CSF', 'CSF_API_INVALID_PARAM');

Line 2683: RAISE fnd_api.g_exc_error;

2679: fnd_message.set_name('CSF', 'CSF_API_INVALID_PARAM');
2680: fnd_message.set_token('API_NAME', g_pkg_name || '.' || l_api_name);
2681: fnd_message.set_token('PARAM_NAME', 'P_QUERY_ID');
2682: fnd_msg_pub.ADD;
2683: RAISE fnd_api.g_exc_error;
2684: END IF;
2685:
2686: IF p_query_id IS NOT NULL AND p_query_id <> -9999 THEN
2687: -- Query will be passed when Commit Schedule Functionality is called from

Line 2931: IF x_return_status = fnd_api.g_ret_sts_error THEN

2927: , x_msg_data => x_msg_data
2928: , x_msg_count => x_msg_count
2929: , p_task_id => l_child_task_id_tbl(j)
2930: );
2931: IF x_return_status = fnd_api.g_ret_sts_error THEN
2932: l_all_passed := FALSE;
2933: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2934: RAISE fnd_api.g_exc_unexpected_error;
2935: END IF;

Line 2933: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2929: , p_task_id => l_child_task_id_tbl(j)
2930: );
2931: IF x_return_status = fnd_api.g_ret_sts_error THEN
2932: l_all_passed := FALSE;
2933: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2934: RAISE fnd_api.g_exc_unexpected_error;
2935: END IF;
2936: END LOOP;
2937: END IF;

Line 2934: RAISE fnd_api.g_exc_unexpected_error;

2930: );
2931: IF x_return_status = fnd_api.g_ret_sts_error THEN
2932: l_all_passed := FALSE;
2933: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2934: RAISE fnd_api.g_exc_unexpected_error;
2935: END IF;
2936: END LOOP;
2937: END IF;
2938: ELSE

Line 2948: IF x_return_status = fnd_api.g_ret_sts_error THEN

2944: , p_task_id => l_task_id_tbl(i)
2945: , p_resource_id => p_resource_id --bug 6647019
2946: , p_resource_type => p_resource_type
2947: );
2948: IF x_return_status = fnd_api.g_ret_sts_error THEN
2949: l_all_passed := FALSE;
2950: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2951: RAISE fnd_api.g_exc_unexpected_error;
2952: ELSE --ADDED code for the bug 6801965

Line 2950: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

2946: , p_resource_type => p_resource_type
2947: );
2948: IF x_return_status = fnd_api.g_ret_sts_error THEN
2949: l_all_passed := FALSE;
2950: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2951: RAISE fnd_api.g_exc_unexpected_error;
2952: ELSE --ADDED code for the bug 6801965
2953: l_task_num_tbl.extend;
2954: l_task_num_tbl(l_task_num_tbl.last) := l_task_id_tbl(i);

Line 2951: RAISE fnd_api.g_exc_unexpected_error;

2947: );
2948: IF x_return_status = fnd_api.g_ret_sts_error THEN
2949: l_all_passed := FALSE;
2950: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
2951: RAISE fnd_api.g_exc_unexpected_error;
2952: ELSE --ADDED code for the bug 6801965
2953: l_task_num_tbl.extend;
2954: l_task_num_tbl(l_task_num_tbl.last) := l_task_id_tbl(i);
2955: END IF;

Line 2967: x_return_status := fnd_api.g_ret_sts_error;

2963:
2964: IF l_processed_count = 0 AND p_query_id IS NOT NULL THEN
2965: fnd_message.set_name ('CSF', 'CSF_AUTO_COMMIT_NO_TASK');
2966: fnd_msg_pub.ADD;
2967: x_return_status := fnd_api.g_ret_sts_error;
2968: END IF;
2969:
2970: IF NOT l_all_passed THEN
2971: x_return_status := fnd_api.g_ret_sts_error;

Line 2971: x_return_status := fnd_api.g_ret_sts_error;

2967: x_return_status := fnd_api.g_ret_sts_error;
2968: END IF;
2969:
2970: IF NOT l_all_passed THEN
2971: x_return_status := fnd_api.g_ret_sts_error;
2972: END IF;
2973: -- added code for the bug 6801965
2974: IF l_task_num_tbl.count > 0 THEN
2975: FOR i in 1..l_task_num_tbl.count

Line 2985: IF fnd_api.to_boolean (p_commit) THEN

2981: END IF;
2982: -- end of code for the bug 6801965
2983: CLOSE c_task_list;
2984: -- Standard check of p_commit
2985: IF fnd_api.to_boolean (p_commit) THEN
2986: COMMIT WORK;
2987: END IF;
2988:
2989: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 2991: WHEN fnd_api.g_exc_error THEN

2987: END IF;
2988:
2989: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2990: EXCEPTION
2991: WHEN fnd_api.g_exc_error THEN
2992: ROLLBACK TO csf_commit_schedule;
2993: x_return_status := fnd_api.g_ret_sts_error;
2994: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2995: WHEN fnd_api.g_exc_unexpected_error THEN

Line 2993: x_return_status := fnd_api.g_ret_sts_error;

2989: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2990: EXCEPTION
2991: WHEN fnd_api.g_exc_error THEN
2992: ROLLBACK TO csf_commit_schedule;
2993: x_return_status := fnd_api.g_ret_sts_error;
2994: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2995: WHEN fnd_api.g_exc_unexpected_error THEN
2996: ROLLBACK TO csf_commit_schedule;
2997: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 2995: WHEN fnd_api.g_exc_unexpected_error THEN

2991: WHEN fnd_api.g_exc_error THEN
2992: ROLLBACK TO csf_commit_schedule;
2993: x_return_status := fnd_api.g_ret_sts_error;
2994: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2995: WHEN fnd_api.g_exc_unexpected_error THEN
2996: ROLLBACK TO csf_commit_schedule;
2997: x_return_status := fnd_api.g_ret_sts_unexp_error;
2998: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2999: WHEN OTHERS THEN

Line 2997: x_return_status := fnd_api.g_ret_sts_unexp_error;

2993: x_return_status := fnd_api.g_ret_sts_error;
2994: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2995: WHEN fnd_api.g_exc_unexpected_error THEN
2996: ROLLBACK TO csf_commit_schedule;
2997: x_return_status := fnd_api.g_ret_sts_unexp_error;
2998: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2999: WHEN OTHERS THEN
3000: x_return_status := fnd_api.g_ret_sts_unexp_error;
3001: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3000: x_return_status := fnd_api.g_ret_sts_unexp_error;

2996: ROLLBACK TO csf_commit_schedule;
2997: x_return_status := fnd_api.g_ret_sts_unexp_error;
2998: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
2999: WHEN OTHERS THEN
3000: x_return_status := fnd_api.g_ret_sts_unexp_error;
3001: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3002: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
3003: END IF;
3004: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 3200: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

3196: END get_status_bitcode;
3197: BEGIN
3198: SAVEPOINT csf_sync_parent_with_child;
3199:
3200: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3201: RAISE fnd_api.g_exc_unexpected_error;
3202: END IF;
3203:
3204: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 3201: RAISE fnd_api.g_exc_unexpected_error;

3197: BEGIN
3198: SAVEPOINT csf_sync_parent_with_child;
3199:
3200: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3201: RAISE fnd_api.g_exc_unexpected_error;
3202: END IF;
3203:
3204: IF fnd_api.to_boolean (p_init_msg_list) THEN
3205: fnd_msg_pub.initialize;

Line 3204: IF fnd_api.to_boolean (p_init_msg_list) THEN

3200: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3201: RAISE fnd_api.g_exc_unexpected_error;
3202: END IF;
3203:
3204: IF fnd_api.to_boolean (p_init_msg_list) THEN
3205: fnd_msg_pub.initialize;
3206: END IF;
3207:
3208: x_return_status := fnd_api.g_ret_sts_success;

Line 3208: x_return_status := fnd_api.g_ret_sts_success;

3204: IF fnd_api.to_boolean (p_init_msg_list) THEN
3205: fnd_msg_pub.initialize;
3206: END IF;
3207:
3208: x_return_status := fnd_api.g_ret_sts_success;
3209:
3210: OPEN c_curr_parent_info;
3211: FETCH c_curr_parent_info INTO l_curr_parent_info;
3212: CLOSE c_curr_parent_info;

Line 3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)

3276: * Finding out whether Parent's Data has Changed *
3277: *****************************************************************************/
3278: l_update_parent :=
3279: l_curr_parent_info.task_status_id <> l_new_parent_info.task_status_id
3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)
3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)

Line 3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )

3277: *****************************************************************************/
3278: l_update_parent :=
3279: l_curr_parent_info.task_status_id <> l_new_parent_info.task_status_id
3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)
3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )

Line 3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)

3278: l_update_parent :=
3279: l_curr_parent_info.task_status_id <> l_new_parent_info.task_status_id
3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)
3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)

Line 3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )

3279: l_curr_parent_info.task_status_id <> l_new_parent_info.task_status_id
3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)
3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )

Line 3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)

3280: OR ( NVL(l_curr_parent_info.scheduled_start_date, fnd_api.g_miss_date)
3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)

Line 3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )

3281: <> NVL(l_new_parent_info.scheduled_start_date, fnd_api.g_miss_date) )
3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )

Line 3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)

3282: OR ( NVL(l_curr_parent_info.scheduled_end_date, fnd_api.g_miss_date)
3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)

Line 3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )

3283: <> NVL(l_new_parent_info.scheduled_end_date, fnd_api.g_miss_date) )
3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)
3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )

Line 3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)

3284: OR ( NVL(l_curr_parent_info.actual_start_date, fnd_api.g_miss_date)
3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)
3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )
3292: OR ( NVL(l_curr_parent_info.actual_effort, -1)

Line 3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )

3285: <> NVL(l_new_parent_info.actual_start_date, fnd_api.g_miss_date) )
3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)
3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )
3292: OR ( NVL(l_curr_parent_info.actual_effort, -1)
3293: <> NVL(l_new_parent_info.actual_effort, -1) );

Line 3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)

3286: OR ( NVL(l_curr_parent_info.actual_end_date, fnd_api.g_miss_date)
3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)
3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )
3292: OR ( NVL(l_curr_parent_info.actual_effort, -1)
3293: <> NVL(l_new_parent_info.actual_effort, -1) );
3294:

Line 3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )

3287: <> NVL(l_new_parent_info.actual_end_date, fnd_api.g_miss_date) )
3288: OR ( NVL(l_curr_parent_info.planned_start_date, fnd_api.g_miss_date)
3289: <> NVL(p_planned_start_date, fnd_api.g_miss_date) )
3290: OR ( NVL(l_curr_parent_info.planned_end_date, fnd_api.g_miss_date)
3291: <> NVL(p_planned_end_date, fnd_api.g_miss_date) )
3292: OR ( NVL(l_curr_parent_info.actual_effort, -1)
3293: <> NVL(l_new_parent_info.actual_effort, -1) );
3294:
3295:

Line 3307: , p_commit => fnd_api.g_false

3303:
3304: jtf_tasks_pub.update_task (
3305: p_api_version => 1.0
3306: , p_init_msg_list => p_init_msg_list
3307: , p_commit => fnd_api.g_false
3308: , x_return_status => x_return_status
3309: , x_msg_count => x_msg_count
3310: , x_msg_data => x_msg_data
3311: , p_task_id => p_parent_task_id

Line 3323: , p_enable_workflow => fnd_api.g_miss_char

3319: , p_actual_end_date => l_new_parent_info.actual_end_date
3320: , p_actual_effort => l_new_parent_info.actual_effort
3321: , p_actual_effort_uom => l_actual_effort_uom
3322: , p_task_split_flag => 'M'
3323: , p_enable_workflow => fnd_api.g_miss_char
3324: , p_abort_workflow => fnd_api.g_miss_char
3325: );
3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 3324: , p_abort_workflow => fnd_api.g_miss_char

3320: , p_actual_effort => l_new_parent_info.actual_effort
3321: , p_actual_effort_uom => l_actual_effort_uom
3322: , p_task_split_flag => 'M'
3323: , p_enable_workflow => fnd_api.g_miss_char
3324: , p_abort_workflow => fnd_api.g_miss_char
3325: );
3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN
3328: RAISE fnd_api.g_exc_error;

Line 3327: IF x_return_status = fnd_api.g_ret_sts_error THEN

3323: , p_enable_workflow => fnd_api.g_miss_char
3324: , p_abort_workflow => fnd_api.g_miss_char
3325: );
3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN
3328: RAISE fnd_api.g_exc_error;
3329: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3330: RAISE fnd_api.g_exc_unexpected_error;
3331: END IF;

Line 3328: RAISE fnd_api.g_exc_error;

3324: , p_abort_workflow => fnd_api.g_miss_char
3325: );
3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN
3328: RAISE fnd_api.g_exc_error;
3329: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3330: RAISE fnd_api.g_exc_unexpected_error;
3331: END IF;
3332: END IF;

Line 3329: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3325: );
3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN
3328: RAISE fnd_api.g_exc_error;
3329: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3330: RAISE fnd_api.g_exc_unexpected_error;
3331: END IF;
3332: END IF;
3333:

Line 3330: RAISE fnd_api.g_exc_unexpected_error;

3326:
3327: IF x_return_status = fnd_api.g_ret_sts_error THEN
3328: RAISE fnd_api.g_exc_error;
3329: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3330: RAISE fnd_api.g_exc_unexpected_error;
3331: END IF;
3332: END IF;
3333:
3334: -- Standard check of p_commit

Line 3335: IF fnd_api.to_boolean (p_commit) THEN

3331: END IF;
3332: END IF;
3333:
3334: -- Standard check of p_commit
3335: IF fnd_api.to_boolean (p_commit) THEN
3336: COMMIT WORK;
3337: END IF;
3338: EXCEPTION
3339: WHEN fnd_api.g_exc_error THEN

Line 3339: WHEN fnd_api.g_exc_error THEN

3335: IF fnd_api.to_boolean (p_commit) THEN
3336: COMMIT WORK;
3337: END IF;
3338: EXCEPTION
3339: WHEN fnd_api.g_exc_error THEN
3340: ROLLBACK TO csf_sync_parent_with_child;
3341: x_return_status := fnd_api.g_ret_sts_error;
3342: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3343: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3341: x_return_status := fnd_api.g_ret_sts_error;

3337: END IF;
3338: EXCEPTION
3339: WHEN fnd_api.g_exc_error THEN
3340: ROLLBACK TO csf_sync_parent_with_child;
3341: x_return_status := fnd_api.g_ret_sts_error;
3342: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3343: WHEN fnd_api.g_exc_unexpected_error THEN
3344: ROLLBACK TO csf_sync_parent_with_child;
3345: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 3343: WHEN fnd_api.g_exc_unexpected_error THEN

3339: WHEN fnd_api.g_exc_error THEN
3340: ROLLBACK TO csf_sync_parent_with_child;
3341: x_return_status := fnd_api.g_ret_sts_error;
3342: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3343: WHEN fnd_api.g_exc_unexpected_error THEN
3344: ROLLBACK TO csf_sync_parent_with_child;
3345: x_return_status := fnd_api.g_ret_sts_unexp_error;
3346: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3347: WHEN OTHERS THEN

Line 3345: x_return_status := fnd_api.g_ret_sts_unexp_error;

3341: x_return_status := fnd_api.g_ret_sts_error;
3342: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3343: WHEN fnd_api.g_exc_unexpected_error THEN
3344: ROLLBACK TO csf_sync_parent_with_child;
3345: x_return_status := fnd_api.g_ret_sts_unexp_error;
3346: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3347: WHEN OTHERS THEN
3348: x_return_status := fnd_api.g_ret_sts_unexp_error;
3349: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3348: x_return_status := fnd_api.g_ret_sts_unexp_error;

3344: ROLLBACK TO csf_sync_parent_with_child;
3345: x_return_status := fnd_api.g_ret_sts_unexp_error;
3346: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3347: WHEN OTHERS THEN
3348: x_return_status := fnd_api.g_ret_sts_unexp_error;
3349: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3350: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
3351: END IF;
3352: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 3396: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

3392: l_child_position jtf_tasks_b.child_position%TYPE;
3393: BEGIN
3394: SAVEPOINT csf_sync_child_from_parent;
3395:
3396: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3397: RAISE fnd_api.g_exc_unexpected_error;
3398: END IF;
3399:
3400: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 3397: RAISE fnd_api.g_exc_unexpected_error;

3393: BEGIN
3394: SAVEPOINT csf_sync_child_from_parent;
3395:
3396: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3397: RAISE fnd_api.g_exc_unexpected_error;
3398: END IF;
3399:
3400: IF fnd_api.to_boolean (p_init_msg_list) THEN
3401: fnd_msg_pub.initialize;

Line 3400: IF fnd_api.to_boolean (p_init_msg_list) THEN

3396: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3397: RAISE fnd_api.g_exc_unexpected_error;
3398: END IF;
3399:
3400: IF fnd_api.to_boolean (p_init_msg_list) THEN
3401: fnd_msg_pub.initialize;
3402: END IF;
3403:
3404: x_return_status := fnd_api.g_ret_sts_success;

Line 3404: x_return_status := fnd_api.g_ret_sts_success;

3400: IF fnd_api.to_boolean (p_init_msg_list) THEN
3401: fnd_msg_pub.initialize;
3402: END IF;
3403:
3404: x_return_status := fnd_api.g_ret_sts_success;
3405:
3406: l_child_position := 'F';
3407: FOR v_child_task IN c_child_tasks LOOP
3408: IF v_child_task.next_task_id IS NULL AND v_child_task.correct_seq_num <> 1 THEN

Line 3422: , p_task_split_flag => fnd_api.g_miss_char

3418: , x_return_status => x_return_status
3419: , x_msg_count => x_msg_count
3420: , x_msg_data => x_msg_data
3421: , p_task_id => v_child_task.task_id
3422: , p_task_split_flag => fnd_api.g_miss_char
3423: , p_object_version_number => v_child_task.object_version_number
3424: , p_child_sequence_num => v_child_task.correct_seq_num
3425: , p_child_position => l_child_position
3426: , p_enable_workflow => fnd_api.g_miss_char

Line 3426: , p_enable_workflow => fnd_api.g_miss_char

3422: , p_task_split_flag => fnd_api.g_miss_char
3423: , p_object_version_number => v_child_task.object_version_number
3424: , p_child_sequence_num => v_child_task.correct_seq_num
3425: , p_child_position => l_child_position
3426: , p_enable_workflow => fnd_api.g_miss_char
3427: , p_abort_workflow => fnd_api.g_miss_char
3428: );
3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 3427: , p_abort_workflow => fnd_api.g_miss_char

3423: , p_object_version_number => v_child_task.object_version_number
3424: , p_child_sequence_num => v_child_task.correct_seq_num
3425: , p_child_position => l_child_position
3426: , p_enable_workflow => fnd_api.g_miss_char
3427: , p_abort_workflow => fnd_api.g_miss_char
3428: );
3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN
3431: RAISE fnd_api.g_exc_error;

Line 3430: IF x_return_status = fnd_api.g_ret_sts_error THEN

3426: , p_enable_workflow => fnd_api.g_miss_char
3427: , p_abort_workflow => fnd_api.g_miss_char
3428: );
3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN
3431: RAISE fnd_api.g_exc_error;
3432: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3433: RAISE fnd_api.g_exc_unexpected_error;
3434: END IF;

Line 3431: RAISE fnd_api.g_exc_error;

3427: , p_abort_workflow => fnd_api.g_miss_char
3428: );
3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN
3431: RAISE fnd_api.g_exc_error;
3432: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3433: RAISE fnd_api.g_exc_unexpected_error;
3434: END IF;
3435: END IF;

Line 3432: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3428: );
3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN
3431: RAISE fnd_api.g_exc_error;
3432: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3433: RAISE fnd_api.g_exc_unexpected_error;
3434: END IF;
3435: END IF;
3436:

Line 3433: RAISE fnd_api.g_exc_unexpected_error;

3429:
3430: IF x_return_status = fnd_api.g_ret_sts_error THEN
3431: RAISE fnd_api.g_exc_error;
3432: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3433: RAISE fnd_api.g_exc_unexpected_error;
3434: END IF;
3435: END IF;
3436:
3437: l_child_position := 'M';

Line 3441: IF fnd_api.to_boolean (p_commit) THEN

3437: l_child_position := 'M';
3438: END LOOP;
3439:
3440: -- Standard check of p_commit
3441: IF fnd_api.to_boolean (p_commit) THEN
3442: COMMIT WORK;
3443: END IF;
3444: EXCEPTION
3445: WHEN fnd_api.g_exc_error THEN

Line 3445: WHEN fnd_api.g_exc_error THEN

3441: IF fnd_api.to_boolean (p_commit) THEN
3442: COMMIT WORK;
3443: END IF;
3444: EXCEPTION
3445: WHEN fnd_api.g_exc_error THEN
3446: ROLLBACK TO csf_sync_child_from_parent;
3447: x_return_status := fnd_api.g_ret_sts_error;
3448: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3449: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3447: x_return_status := fnd_api.g_ret_sts_error;

3443: END IF;
3444: EXCEPTION
3445: WHEN fnd_api.g_exc_error THEN
3446: ROLLBACK TO csf_sync_child_from_parent;
3447: x_return_status := fnd_api.g_ret_sts_error;
3448: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3449: WHEN fnd_api.g_exc_unexpected_error THEN
3450: ROLLBACK TO csf_sync_child_from_parent;
3451: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 3449: WHEN fnd_api.g_exc_unexpected_error THEN

3445: WHEN fnd_api.g_exc_error THEN
3446: ROLLBACK TO csf_sync_child_from_parent;
3447: x_return_status := fnd_api.g_ret_sts_error;
3448: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3449: WHEN fnd_api.g_exc_unexpected_error THEN
3450: ROLLBACK TO csf_sync_child_from_parent;
3451: x_return_status := fnd_api.g_ret_sts_unexp_error;
3452: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3453: WHEN OTHERS THEN

Line 3451: x_return_status := fnd_api.g_ret_sts_unexp_error;

3447: x_return_status := fnd_api.g_ret_sts_error;
3448: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3449: WHEN fnd_api.g_exc_unexpected_error THEN
3450: ROLLBACK TO csf_sync_child_from_parent;
3451: x_return_status := fnd_api.g_ret_sts_unexp_error;
3452: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3453: WHEN OTHERS THEN
3454: x_return_status := fnd_api.g_ret_sts_unexp_error;
3455: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3454: x_return_status := fnd_api.g_ret_sts_unexp_error;

3450: ROLLBACK TO csf_sync_child_from_parent;
3451: x_return_status := fnd_api.g_ret_sts_unexp_error;
3452: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
3453: WHEN OTHERS THEN
3454: x_return_status := fnd_api.g_ret_sts_unexp_error;
3455: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3456: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
3457: END IF;
3458: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 3528: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

3524: l_task_split_flag VARCHAR2(1);
3525: BEGIN
3526: SAVEPOINT csf_assign_task;
3527:
3528: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3529: RAISE fnd_api.g_exc_unexpected_error;
3530: END IF;
3531:
3532: IF fnd_api.to_boolean(p_init_msg_list) THEN

Line 3529: RAISE fnd_api.g_exc_unexpected_error;

3525: BEGIN
3526: SAVEPOINT csf_assign_task;
3527:
3528: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3529: RAISE fnd_api.g_exc_unexpected_error;
3530: END IF;
3531:
3532: IF fnd_api.to_boolean(p_init_msg_list) THEN
3533: fnd_msg_pub.initialize;

Line 3532: IF fnd_api.to_boolean(p_init_msg_list) THEN

3528: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3529: RAISE fnd_api.g_exc_unexpected_error;
3530: END IF;
3531:
3532: IF fnd_api.to_boolean(p_init_msg_list) THEN
3533: fnd_msg_pub.initialize;
3534: END IF;
3535:
3536: x_return_status := fnd_api.g_ret_sts_success;

Line 3536: x_return_status := fnd_api.g_ret_sts_success;

3532: IF fnd_api.to_boolean(p_init_msg_list) THEN
3533: fnd_msg_pub.initialize;
3534: END IF;
3535:
3536: x_return_status := fnd_api.g_ret_sts_success;
3537:
3538: -- Get the Task Information
3539: OPEN c_task_info;
3540: FETCH c_task_info INTO l_task_info;

Line 3545: RAISE fnd_api.g_exc_unexpected_error;

3541: CLOSE c_task_info;
3542:
3543: IF l_task_info.task_id IS NULL THEN
3544: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name, 'NO_DATA_FOUND JTF_TASKS_B.TASK_ID = ' || p_task_id);
3545: RAISE fnd_api.g_exc_unexpected_error;
3546: END IF;
3547:
3548: -- If the Task is already Scheduled, then the Task Should be treated to be
3549: -- in Unscheduled Task Status as the task should have been unscheduled

Line 3583: , p_validation_level => fnd_api.g_valid_level_none

3579: END IF;
3580:
3581: csf_task_assignments_pub.update_task_assignment (
3582: p_api_version => 1.0
3583: , p_validation_level => fnd_api.g_valid_level_none
3584: , x_return_status => x_return_status
3585: , x_msg_count => x_msg_count
3586: , x_msg_data => x_msg_data
3587: , p_task_assignment_id => p_old_task_assignment_id

Line 3594: , p_update_task => fnd_api.g_false

3590: , p_object_capacity_id => p_object_capacity_id
3591: , p_sched_travel_distance => p_sched_travel_distance
3592: , p_sched_travel_duration => p_sched_travel_duration
3593: , p_sched_travel_duration_uom => p_sched_travel_duration_uom
3594: , p_update_task => fnd_api.g_false
3595: , x_task_object_version_number => l_task_info.object_version_number
3596: , x_task_status_id => l_task_info.task_status_id
3597: );
3598: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 3598: IF x_return_status = fnd_api.g_ret_sts_error THEN

3594: , p_update_task => fnd_api.g_false
3595: , x_task_object_version_number => l_task_info.object_version_number
3596: , x_task_status_id => l_task_info.task_status_id
3597: );
3598: IF x_return_status = fnd_api.g_ret_sts_error THEN
3599: RAISE fnd_api.g_exc_error;
3600: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3601: RAISE fnd_api.g_exc_unexpected_error;
3602: END IF;

Line 3599: RAISE fnd_api.g_exc_error;

3595: , x_task_object_version_number => l_task_info.object_version_number
3596: , x_task_status_id => l_task_info.task_status_id
3597: );
3598: IF x_return_status = fnd_api.g_ret_sts_error THEN
3599: RAISE fnd_api.g_exc_error;
3600: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3601: RAISE fnd_api.g_exc_unexpected_error;
3602: END IF;
3603: END IF;

Line 3600: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3596: , x_task_status_id => l_task_info.task_status_id
3597: );
3598: IF x_return_status = fnd_api.g_ret_sts_error THEN
3599: RAISE fnd_api.g_exc_error;
3600: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3601: RAISE fnd_api.g_exc_unexpected_error;
3602: END IF;
3603: END IF;
3604:

Line 3601: RAISE fnd_api.g_exc_unexpected_error;

3597: );
3598: IF x_return_status = fnd_api.g_ret_sts_error THEN
3599: RAISE fnd_api.g_exc_error;
3600: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3601: RAISE fnd_api.g_exc_unexpected_error;
3602: END IF;
3603: END IF;
3604:
3605: l_planned_effort := fnd_api.g_miss_num;

Line 3605: l_planned_effort := fnd_api.g_miss_num;

3601: RAISE fnd_api.g_exc_unexpected_error;
3602: END IF;
3603: END IF;
3604:
3605: l_planned_effort := fnd_api.g_miss_num;
3606: l_planned_effort_uom := fnd_api.g_miss_char;
3607:
3608: IF (l_task_info.task_split_flag = 'D') THEN
3609: l_planned_effort := p_planned_effort;

Line 3606: l_planned_effort_uom := fnd_api.g_miss_char;

3602: END IF;
3603: END IF;
3604:
3605: l_planned_effort := fnd_api.g_miss_num;
3606: l_planned_effort_uom := fnd_api.g_miss_char;
3607:
3608: IF (l_task_info.task_split_flag = 'D') THEN
3609: l_planned_effort := p_planned_effort;
3610: l_planned_effort_uom := p_planned_effort_uom;

Line 3620: l_task_split_flag := fnd_api.g_miss_char;

3616:
3617: IF ( l_role = 'CSF_THIRD_PARTY_SERVICE_PROVID' ) THEN
3618: l_task_split_flag := NULL;
3619: ELSE
3620: l_task_split_flag := fnd_api.g_miss_char;
3621: END IF;
3622:
3623:
3624: -- Update the Task

Line 3640: , p_enable_workflow => fnd_api.g_miss_char

3636: , p_planned_end_date => p_planned_end_date
3637: , p_planned_effort => l_planned_effort
3638: , p_planned_effort_uom => l_planned_effort_uom
3639: , p_task_split_flag => l_task_split_flag
3640: , p_enable_workflow => fnd_api.g_miss_char
3641: , p_abort_workflow => fnd_api.g_miss_char
3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;

Line 3641: , p_abort_workflow => fnd_api.g_miss_char

3637: , p_planned_effort => l_planned_effort
3638: , p_planned_effort_uom => l_planned_effort_uom
3639: , p_task_split_flag => l_task_split_flag
3640: , p_enable_workflow => fnd_api.g_miss_char
3641: , p_abort_workflow => fnd_api.g_miss_char
3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;
3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 3643: IF x_return_status = fnd_api.g_ret_sts_error THEN

3639: , p_task_split_flag => l_task_split_flag
3640: , p_enable_workflow => fnd_api.g_miss_char
3641: , p_abort_workflow => fnd_api.g_miss_char
3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;
3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3646: RAISE fnd_api.g_exc_unexpected_error;
3647: END IF;

Line 3644: RAISE fnd_api.g_exc_error;

3640: , p_enable_workflow => fnd_api.g_miss_char
3641: , p_abort_workflow => fnd_api.g_miss_char
3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;
3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3646: RAISE fnd_api.g_exc_unexpected_error;
3647: END IF;
3648:

Line 3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3641: , p_abort_workflow => fnd_api.g_miss_char
3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;
3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3646: RAISE fnd_api.g_exc_unexpected_error;
3647: END IF;
3648:
3649: -- Clear out the Rejection Message, if any.

Line 3646: RAISE fnd_api.g_exc_unexpected_error;

3642: );
3643: IF x_return_status = fnd_api.g_ret_sts_error THEN
3644: RAISE fnd_api.g_exc_error;
3645: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3646: RAISE fnd_api.g_exc_unexpected_error;
3647: END IF;
3648:
3649: -- Clear out the Rejection Message, if any.
3650: UPDATE jtf_tasks_tl

Line 3659: , p_validation_level => fnd_api.g_valid_level_none

3655: -- Create the Task Assignment
3656: IF l_create_assignment THEN
3657: csf_task_assignments_pub.create_task_assignment(
3658: p_api_version => 1.0
3659: , p_validation_level => fnd_api.g_valid_level_none
3660: , x_return_status => x_return_status
3661: , x_msg_count => x_msg_count
3662: , x_msg_data => x_msg_data
3663: , p_task_id => p_task_id

Line 3671: , p_update_task => fnd_api.g_false

3667: , p_object_capacity_id => p_object_capacity_id
3668: , p_sched_travel_distance => p_sched_travel_distance
3669: , p_sched_travel_duration => p_sched_travel_duration
3670: , p_sched_travel_duration_uom => p_sched_travel_duration_uom
3671: , p_update_task => fnd_api.g_false
3672: , x_task_assignment_id => x_task_assignment_id
3673: , x_ta_object_version_number => x_ta_object_version_number
3674: , x_task_object_version_number => p_object_version_number
3675: , x_task_status_id => l_task_info.task_status_id

Line 3678: IF x_return_status = fnd_api.g_ret_sts_error THEN

3674: , x_task_object_version_number => p_object_version_number
3675: , x_task_status_id => l_task_info.task_status_id
3676: );
3677:
3678: IF x_return_status = fnd_api.g_ret_sts_error THEN
3679: RAISE fnd_api.g_exc_error;
3680: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3681: RAISE fnd_api.g_exc_unexpected_error;
3682: END IF;

Line 3679: RAISE fnd_api.g_exc_error;

3675: , x_task_status_id => l_task_info.task_status_id
3676: );
3677:
3678: IF x_return_status = fnd_api.g_ret_sts_error THEN
3679: RAISE fnd_api.g_exc_error;
3680: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3681: RAISE fnd_api.g_exc_unexpected_error;
3682: END IF;
3683: END IF;

Line 3680: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3676: );
3677:
3678: IF x_return_status = fnd_api.g_ret_sts_error THEN
3679: RAISE fnd_api.g_exc_error;
3680: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3681: RAISE fnd_api.g_exc_unexpected_error;
3682: END IF;
3683: END IF;
3684:

Line 3681: RAISE fnd_api.g_exc_unexpected_error;

3677:
3678: IF x_return_status = fnd_api.g_ret_sts_error THEN
3679: RAISE fnd_api.g_exc_error;
3680: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3681: RAISE fnd_api.g_exc_unexpected_error;
3682: END IF;
3683: END IF;
3684:
3685: IF fnd_api.to_boolean(p_commit) THEN

Line 3685: IF fnd_api.to_boolean(p_commit) THEN

3681: RAISE fnd_api.g_exc_unexpected_error;
3682: END IF;
3683: END IF;
3684:
3685: IF fnd_api.to_boolean(p_commit) THEN
3686: COMMIT WORK;
3687: END IF;
3688:
3689: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 3692: WHEN fnd_api.g_exc_error THEN

3688:
3689: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3690:
3691: EXCEPTION
3692: WHEN fnd_api.g_exc_error THEN
3693: ROLLBACK TO csf_assign_task;
3694: x_return_status := fnd_api.g_ret_sts_error;
3695: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3696: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3694: x_return_status := fnd_api.g_ret_sts_error;

3690:
3691: EXCEPTION
3692: WHEN fnd_api.g_exc_error THEN
3693: ROLLBACK TO csf_assign_task;
3694: x_return_status := fnd_api.g_ret_sts_error;
3695: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3696: WHEN fnd_api.g_exc_unexpected_error THEN
3697: ROLLBACK TO csf_assign_task;
3698: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 3696: WHEN fnd_api.g_exc_unexpected_error THEN

3692: WHEN fnd_api.g_exc_error THEN
3693: ROLLBACK TO csf_assign_task;
3694: x_return_status := fnd_api.g_ret_sts_error;
3695: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3696: WHEN fnd_api.g_exc_unexpected_error THEN
3697: ROLLBACK TO csf_assign_task;
3698: x_return_status := fnd_api.g_ret_sts_unexp_error;
3699: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3700: WHEN OTHERS THEN

Line 3698: x_return_status := fnd_api.g_ret_sts_unexp_error;

3694: x_return_status := fnd_api.g_ret_sts_error;
3695: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3696: WHEN fnd_api.g_exc_unexpected_error THEN
3697: ROLLBACK TO csf_assign_task;
3698: x_return_status := fnd_api.g_ret_sts_unexp_error;
3699: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3700: WHEN OTHERS THEN
3701: x_return_status := fnd_api.g_ret_sts_unexp_error;
3702: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3701: x_return_status := fnd_api.g_ret_sts_unexp_error;

3697: ROLLBACK TO csf_assign_task;
3698: x_return_status := fnd_api.g_ret_sts_unexp_error;
3699: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3700: WHEN OTHERS THEN
3701: x_return_status := fnd_api.g_ret_sts_unexp_error;
3702: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3703: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3704: END IF;
3705: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 3753: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

3749: l_task_status_id NUMBER;
3750: BEGIN
3751: SAVEPOINT csf_unassign_task;
3752:
3753: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3754: RAISE fnd_api.g_exc_unexpected_error;
3755: END IF;
3756:
3757: IF fnd_api.to_boolean(p_init_msg_list) THEN

Line 3754: RAISE fnd_api.g_exc_unexpected_error;

3750: BEGIN
3751: SAVEPOINT csf_unassign_task;
3752:
3753: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3754: RAISE fnd_api.g_exc_unexpected_error;
3755: END IF;
3756:
3757: IF fnd_api.to_boolean(p_init_msg_list) THEN
3758: fnd_msg_pub.initialize;

Line 3757: IF fnd_api.to_boolean(p_init_msg_list) THEN

3753: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3754: RAISE fnd_api.g_exc_unexpected_error;
3755: END IF;
3756:
3757: IF fnd_api.to_boolean(p_init_msg_list) THEN
3758: fnd_msg_pub.initialize;
3759: END IF;
3760:
3761: x_return_status := fnd_api.g_ret_sts_success;

Line 3761: x_return_status := fnd_api.g_ret_sts_success;

3757: IF fnd_api.to_boolean(p_init_msg_list) THEN
3758: fnd_msg_pub.initialize;
3759: END IF;
3760:
3761: x_return_status := fnd_api.g_ret_sts_success;
3762:
3763: OPEN c_task_info;
3764: FETCH c_task_info INTO l_task_info;
3765: CLOSE c_task_info;

Line 3775: , p_validation_level => fnd_api.g_valid_level_none

3771: -- Queries the Task Information, there will not be any Trip Information and
3772: -- Update is avoided as Scheduler will take care of the update.
3773: csf_task_assignments_pub.update_task_assignment (
3774: p_api_version => 1.0
3775: , p_validation_level => fnd_api.g_valid_level_none
3776: , x_return_status => x_return_status
3777: , x_msg_count => x_msg_count
3778: , x_msg_data => x_msg_data
3779: , p_task_assignment_id => p_task_assignment_id

Line 3783: , p_update_task => fnd_api.g_false

3779: , p_task_assignment_id => p_task_assignment_id
3780: , p_assignment_status_id => NVL(p_assignment_status_id, g_cancelled)
3781: , p_object_version_number => p_ta_object_version_number
3782: , p_object_capacity_id => NULL
3783: , p_update_task => fnd_api.g_false
3784: , x_task_object_version_number => p_object_version_number
3785: , x_task_status_id => l_task_status_id
3786: );
3787: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 3787: IF x_return_status = fnd_api.g_ret_sts_error THEN

3783: , p_update_task => fnd_api.g_false
3784: , x_task_object_version_number => p_object_version_number
3785: , x_task_status_id => l_task_status_id
3786: );
3787: IF x_return_status = fnd_api.g_ret_sts_error THEN
3788: RAISE fnd_api.g_exc_error;
3789: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3790: RAISE fnd_api.g_exc_unexpected_error;
3791: END IF;

Line 3788: RAISE fnd_api.g_exc_error;

3784: , x_task_object_version_number => p_object_version_number
3785: , x_task_status_id => l_task_status_id
3786: );
3787: IF x_return_status = fnd_api.g_ret_sts_error THEN
3788: RAISE fnd_api.g_exc_error;
3789: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3790: RAISE fnd_api.g_exc_unexpected_error;
3791: END IF;
3792: END IF;

Line 3789: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3785: , x_task_status_id => l_task_status_id
3786: );
3787: IF x_return_status = fnd_api.g_ret_sts_error THEN
3788: RAISE fnd_api.g_exc_error;
3789: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3790: RAISE fnd_api.g_exc_unexpected_error;
3791: END IF;
3792: END IF;
3793:

Line 3790: RAISE fnd_api.g_exc_unexpected_error;

3786: );
3787: IF x_return_status = fnd_api.g_ret_sts_error THEN
3788: RAISE fnd_api.g_exc_error;
3789: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3790: RAISE fnd_api.g_exc_unexpected_error;
3791: END IF;
3792: END IF;
3793:
3794: IF NVL(p_task_status_id,-1) <> nvl(l_task_info.task_status_id,-1)

Line 3818: , p_enable_workflow => fnd_api.g_miss_char

3814: , p_object_version_number => p_object_version_number
3815: , p_task_status_id => p_task_status_id
3816: , p_scheduled_start_date => l_task_info.scheduled_start_date
3817: , p_scheduled_end_date => l_task_info.scheduled_end_date
3818: , p_enable_workflow => fnd_api.g_miss_char
3819: , p_abort_workflow => fnd_api.g_miss_char
3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;

Line 3819: , p_abort_workflow => fnd_api.g_miss_char

3815: , p_task_status_id => p_task_status_id
3816: , p_scheduled_start_date => l_task_info.scheduled_start_date
3817: , p_scheduled_end_date => l_task_info.scheduled_end_date
3818: , p_enable_workflow => fnd_api.g_miss_char
3819: , p_abort_workflow => fnd_api.g_miss_char
3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;
3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 3821: IF x_return_status = fnd_api.g_ret_sts_error THEN

3817: , p_scheduled_end_date => l_task_info.scheduled_end_date
3818: , p_enable_workflow => fnd_api.g_miss_char
3819: , p_abort_workflow => fnd_api.g_miss_char
3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;
3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3824: RAISE fnd_api.g_exc_unexpected_error;
3825: END IF;

Line 3822: RAISE fnd_api.g_exc_error;

3818: , p_enable_workflow => fnd_api.g_miss_char
3819: , p_abort_workflow => fnd_api.g_miss_char
3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;
3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3824: RAISE fnd_api.g_exc_unexpected_error;
3825: END IF;
3826: END IF;

Line 3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3819: , p_abort_workflow => fnd_api.g_miss_char
3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;
3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3824: RAISE fnd_api.g_exc_unexpected_error;
3825: END IF;
3826: END IF;
3827:

Line 3824: RAISE fnd_api.g_exc_unexpected_error;

3820: );
3821: IF x_return_status = fnd_api.g_ret_sts_error THEN
3822: RAISE fnd_api.g_exc_error;
3823: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3824: RAISE fnd_api.g_exc_unexpected_error;
3825: END IF;
3826: END IF;
3827:
3828: -- if the task is a child task and is being cancelled, delete(logically) the task

Line 3845: IF x_return_status = fnd_api.g_ret_sts_error THEN

3841: , p_task_id => p_task_id
3842: , p_object_version_number => p_object_version_number
3843: );
3844:
3845: IF x_return_status = fnd_api.g_ret_sts_error THEN
3846: RAISE fnd_api.g_exc_error;
3847: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3848: RAISE fnd_api.g_exc_unexpected_error;
3849: END IF;

Line 3846: RAISE fnd_api.g_exc_error;

3842: , p_object_version_number => p_object_version_number
3843: );
3844:
3845: IF x_return_status = fnd_api.g_ret_sts_error THEN
3846: RAISE fnd_api.g_exc_error;
3847: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3848: RAISE fnd_api.g_exc_unexpected_error;
3849: END IF;
3850: END IF;

Line 3847: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3843: );
3844:
3845: IF x_return_status = fnd_api.g_ret_sts_error THEN
3846: RAISE fnd_api.g_exc_error;
3847: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3848: RAISE fnd_api.g_exc_unexpected_error;
3849: END IF;
3850: END IF;
3851: END IF;

Line 3848: RAISE fnd_api.g_exc_unexpected_error;

3844:
3845: IF x_return_status = fnd_api.g_ret_sts_error THEN
3846: RAISE fnd_api.g_exc_error;
3847: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3848: RAISE fnd_api.g_exc_unexpected_error;
3849: END IF;
3850: END IF;
3851: END IF;
3852:

Line 3853: IF fnd_api.to_boolean(p_commit) THEN

3849: END IF;
3850: END IF;
3851: END IF;
3852:
3853: IF fnd_api.to_boolean(p_commit) THEN
3854: COMMIT WORK;
3855: END IF;
3856: EXCEPTION
3857: WHEN fnd_api.g_exc_error THEN

Line 3857: WHEN fnd_api.g_exc_error THEN

3853: IF fnd_api.to_boolean(p_commit) THEN
3854: COMMIT WORK;
3855: END IF;
3856: EXCEPTION
3857: WHEN fnd_api.g_exc_error THEN
3858: ROLLBACK TO csf_unassign_task;
3859: x_return_status := fnd_api.g_ret_sts_error;
3860: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3861: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3859: x_return_status := fnd_api.g_ret_sts_error;

3855: END IF;
3856: EXCEPTION
3857: WHEN fnd_api.g_exc_error THEN
3858: ROLLBACK TO csf_unassign_task;
3859: x_return_status := fnd_api.g_ret_sts_error;
3860: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3861: WHEN fnd_api.g_exc_unexpected_error THEN
3862: ROLLBACK TO csf_unassign_task;
3863: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 3861: WHEN fnd_api.g_exc_unexpected_error THEN

3857: WHEN fnd_api.g_exc_error THEN
3858: ROLLBACK TO csf_unassign_task;
3859: x_return_status := fnd_api.g_ret_sts_error;
3860: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3861: WHEN fnd_api.g_exc_unexpected_error THEN
3862: ROLLBACK TO csf_unassign_task;
3863: x_return_status := fnd_api.g_ret_sts_unexp_error;
3864: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3865: WHEN OTHERS THEN

Line 3863: x_return_status := fnd_api.g_ret_sts_unexp_error;

3859: x_return_status := fnd_api.g_ret_sts_error;
3860: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3861: WHEN fnd_api.g_exc_unexpected_error THEN
3862: ROLLBACK TO csf_unassign_task;
3863: x_return_status := fnd_api.g_ret_sts_unexp_error;
3864: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3865: WHEN OTHERS THEN
3866: x_return_status := fnd_api.g_ret_sts_unexp_error;
3867: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3866: x_return_status := fnd_api.g_ret_sts_unexp_error;

3862: ROLLBACK TO csf_unassign_task;
3863: x_return_status := fnd_api.g_ret_sts_unexp_error;
3864: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3865: WHEN OTHERS THEN
3866: x_return_status := fnd_api.g_ret_sts_unexp_error;
3867: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3868: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3869: END IF;
3870: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 3902: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

3898:
3899: BEGIN
3900: SAVEPOINT csf_update_task_and_assignment;
3901:
3902: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3903: RAISE fnd_api.g_exc_unexpected_error;
3904: END IF;
3905:
3906: IF fnd_api.to_boolean(p_init_msg_list) THEN

Line 3903: RAISE fnd_api.g_exc_unexpected_error;

3899: BEGIN
3900: SAVEPOINT csf_update_task_and_assignment;
3901:
3902: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3903: RAISE fnd_api.g_exc_unexpected_error;
3904: END IF;
3905:
3906: IF fnd_api.to_boolean(p_init_msg_list) THEN
3907: fnd_msg_pub.initialize;

Line 3906: IF fnd_api.to_boolean(p_init_msg_list) THEN

3902: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
3903: RAISE fnd_api.g_exc_unexpected_error;
3904: END IF;
3905:
3906: IF fnd_api.to_boolean(p_init_msg_list) THEN
3907: fnd_msg_pub.initialize;
3908: END IF;
3909:
3910: x_return_status := fnd_api.g_ret_sts_success;

Line 3910: x_return_status := fnd_api.g_ret_sts_success;

3906: IF fnd_api.to_boolean(p_init_msg_list) THEN
3907: fnd_msg_pub.initialize;
3908: END IF;
3909:
3910: x_return_status := fnd_api.g_ret_sts_success;
3911:
3912: -- Update the Task Assignment if any columns are changing
3913: IF p_sched_travel_distance IS NOT NULL
3914: OR p_sched_travel_duration IS NOT NULL

Line 3927: , p_enable_workflow => fnd_api.g_miss_char

3923: , p_object_version_number => p_ta_object_version_number
3924: , p_sched_travel_distance => p_sched_travel_distance
3925: , p_sched_travel_duration => p_sched_travel_duration
3926: , p_sched_travel_duration_uom => p_sched_travel_duration_uom
3927: , p_enable_workflow => fnd_api.g_miss_char
3928: , p_abort_workflow => fnd_api.g_miss_char
3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;

Line 3928: , p_abort_workflow => fnd_api.g_miss_char

3924: , p_sched_travel_distance => p_sched_travel_distance
3925: , p_sched_travel_duration => p_sched_travel_duration
3926: , p_sched_travel_duration_uom => p_sched_travel_duration_uom
3927: , p_enable_workflow => fnd_api.g_miss_char
3928: , p_abort_workflow => fnd_api.g_miss_char
3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;
3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

Line 3930: IF x_return_status = fnd_api.g_ret_sts_error THEN

3926: , p_sched_travel_duration_uom => p_sched_travel_duration_uom
3927: , p_enable_workflow => fnd_api.g_miss_char
3928: , p_abort_workflow => fnd_api.g_miss_char
3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;
3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3933: RAISE fnd_api.g_exc_unexpected_error;
3934: END IF;

Line 3931: RAISE fnd_api.g_exc_error;

3927: , p_enable_workflow => fnd_api.g_miss_char
3928: , p_abort_workflow => fnd_api.g_miss_char
3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;
3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3933: RAISE fnd_api.g_exc_unexpected_error;
3934: END IF;
3935: END IF;

Line 3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3928: , p_abort_workflow => fnd_api.g_miss_char
3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;
3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3933: RAISE fnd_api.g_exc_unexpected_error;
3934: END IF;
3935: END IF;
3936:

Line 3933: RAISE fnd_api.g_exc_unexpected_error;

3929: );
3930: IF x_return_status = fnd_api.g_ret_sts_error THEN
3931: RAISE fnd_api.g_exc_error;
3932: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3933: RAISE fnd_api.g_exc_unexpected_error;
3934: END IF;
3935: END IF;
3936:
3937: -- Update the Task if any columns are changing

Line 3948: , p_enable_workflow => fnd_api.g_miss_char

3944: , p_task_id => p_task_id
3945: , p_object_version_number => p_object_version_number
3946: , p_scheduled_start_date => p_scheduled_start_date
3947: , p_scheduled_end_date => p_scheduled_end_date
3948: , p_enable_workflow => fnd_api.g_miss_char
3949: , p_abort_workflow => fnd_api.g_miss_char
3950: );
3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 3949: , p_abort_workflow => fnd_api.g_miss_char

3945: , p_object_version_number => p_object_version_number
3946: , p_scheduled_start_date => p_scheduled_start_date
3947: , p_scheduled_end_date => p_scheduled_end_date
3948: , p_enable_workflow => fnd_api.g_miss_char
3949: , p_abort_workflow => fnd_api.g_miss_char
3950: );
3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN
3953: RAISE fnd_api.g_exc_error;

Line 3952: IF x_return_status = fnd_api.g_ret_sts_error THEN

3948: , p_enable_workflow => fnd_api.g_miss_char
3949: , p_abort_workflow => fnd_api.g_miss_char
3950: );
3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN
3953: RAISE fnd_api.g_exc_error;
3954: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3955: RAISE fnd_api.g_exc_unexpected_error;
3956: END IF;

Line 3953: RAISE fnd_api.g_exc_error;

3949: , p_abort_workflow => fnd_api.g_miss_char
3950: );
3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN
3953: RAISE fnd_api.g_exc_error;
3954: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3955: RAISE fnd_api.g_exc_unexpected_error;
3956: END IF;
3957: END IF;

Line 3954: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

3950: );
3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN
3953: RAISE fnd_api.g_exc_error;
3954: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3955: RAISE fnd_api.g_exc_unexpected_error;
3956: END IF;
3957: END IF;
3958:

Line 3955: RAISE fnd_api.g_exc_unexpected_error;

3951:
3952: IF x_return_status = fnd_api.g_ret_sts_error THEN
3953: RAISE fnd_api.g_exc_error;
3954: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
3955: RAISE fnd_api.g_exc_unexpected_error;
3956: END IF;
3957: END IF;
3958:
3959: IF fnd_api.to_boolean(p_commit) THEN

Line 3959: IF fnd_api.to_boolean(p_commit) THEN

3955: RAISE fnd_api.g_exc_unexpected_error;
3956: END IF;
3957: END IF;
3958:
3959: IF fnd_api.to_boolean(p_commit) THEN
3960: COMMIT WORK;
3961: END IF;
3962: EXCEPTION
3963: WHEN fnd_api.g_exc_error THEN

Line 3963: WHEN fnd_api.g_exc_error THEN

3959: IF fnd_api.to_boolean(p_commit) THEN
3960: COMMIT WORK;
3961: END IF;
3962: EXCEPTION
3963: WHEN fnd_api.g_exc_error THEN
3964: ROLLBACK TO csf_update_task_and_assignment;
3965: x_return_status := fnd_api.g_ret_sts_error;
3966: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3967: WHEN fnd_api.g_exc_unexpected_error THEN

Line 3965: x_return_status := fnd_api.g_ret_sts_error;

3961: END IF;
3962: EXCEPTION
3963: WHEN fnd_api.g_exc_error THEN
3964: ROLLBACK TO csf_update_task_and_assignment;
3965: x_return_status := fnd_api.g_ret_sts_error;
3966: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3967: WHEN fnd_api.g_exc_unexpected_error THEN
3968: ROLLBACK TO csf_update_task_and_assignment;
3969: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 3967: WHEN fnd_api.g_exc_unexpected_error THEN

3963: WHEN fnd_api.g_exc_error THEN
3964: ROLLBACK TO csf_update_task_and_assignment;
3965: x_return_status := fnd_api.g_ret_sts_error;
3966: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3967: WHEN fnd_api.g_exc_unexpected_error THEN
3968: ROLLBACK TO csf_update_task_and_assignment;
3969: x_return_status := fnd_api.g_ret_sts_unexp_error;
3970: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3971: WHEN OTHERS THEN

Line 3969: x_return_status := fnd_api.g_ret_sts_unexp_error;

3965: x_return_status := fnd_api.g_ret_sts_error;
3966: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3967: WHEN fnd_api.g_exc_unexpected_error THEN
3968: ROLLBACK TO csf_update_task_and_assignment;
3969: x_return_status := fnd_api.g_ret_sts_unexp_error;
3970: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3971: WHEN OTHERS THEN
3972: x_return_status := fnd_api.g_ret_sts_unexp_error;
3973: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3972: x_return_status := fnd_api.g_ret_sts_unexp_error;

3968: ROLLBACK TO csf_update_task_and_assignment;
3969: x_return_status := fnd_api.g_ret_sts_unexp_error;
3970: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3971: WHEN OTHERS THEN
3972: x_return_status := fnd_api.g_ret_sts_unexp_error;
3973: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3974: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3975: END IF;
3976: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 4030: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

4026: l_task_split_flag VARCHAR2(1);
4027: BEGIN
4028: SAVEPOINT update_task_longer_than_shift;
4029:
4030: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4031: RAISE fnd_api.g_exc_unexpected_error;
4032: END IF;
4033:
4034: IF fnd_api.to_boolean(p_init_msg_list) THEN

Line 4031: RAISE fnd_api.g_exc_unexpected_error;

4027: BEGIN
4028: SAVEPOINT update_task_longer_than_shift;
4029:
4030: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4031: RAISE fnd_api.g_exc_unexpected_error;
4032: END IF;
4033:
4034: IF fnd_api.to_boolean(p_init_msg_list) THEN
4035: fnd_msg_pub.initialize;

Line 4034: IF fnd_api.to_boolean(p_init_msg_list) THEN

4030: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4031: RAISE fnd_api.g_exc_unexpected_error;
4032: END IF;
4033:
4034: IF fnd_api.to_boolean(p_init_msg_list) THEN
4035: fnd_msg_pub.initialize;
4036: END IF;
4037:
4038: x_return_status := fnd_api.g_ret_sts_success;

Line 4038: x_return_status := fnd_api.g_ret_sts_success;

4034: IF fnd_api.to_boolean(p_init_msg_list) THEN
4035: fnd_msg_pub.initialize;
4036: END IF;
4037:
4038: x_return_status := fnd_api.g_ret_sts_success;
4039:
4040: -- Get the Task Information
4041: OPEN c_parent_task_info;
4042: FETCH c_parent_task_info INTO l_parent_task_info;

Line 4047: RAISE fnd_api.g_exc_unexpected_error;

4043: CLOSE c_parent_task_info;
4044:
4045: IF l_parent_task_info.task_id IS NULL THEN
4046: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name, 'NO_DATA_FOUND JTF_TASKS_B.TASK_ID = ' || p_task_id);
4047: RAISE fnd_api.g_exc_unexpected_error;
4048: END IF;
4049:
4050: -- Find out whether the new Task Status is valid.
4051: IF p_task_status_id <> fnd_api.g_miss_num THEN

Line 4051: IF p_task_status_id <> fnd_api.g_miss_num THEN

4047: RAISE fnd_api.g_exc_unexpected_error;
4048: END IF;
4049:
4050: -- Find out whether the new Task Status is valid.
4051: IF p_task_status_id <> fnd_api.g_miss_num THEN
4052: validate_status_change(l_parent_task_info.task_status_id, p_task_status_id);
4053: END IF;
4054:
4055: IF p_action = g_action_normal_to_parent THEN

Line 4059: , p_init_msg_list => fnd_api.g_false

4055: IF p_action = g_action_normal_to_parent THEN
4056: -- Correct the Parent Task Information based on current Child Tasks
4057: sync_parent_with_child(
4058: p_api_version => 1.0
4059: , p_init_msg_list => fnd_api.g_false
4060: , p_commit => fnd_api.g_false
4061: , x_return_status => x_return_status
4062: , x_msg_count => x_msg_count
4063: , x_msg_data => x_msg_data

Line 4060: , p_commit => fnd_api.g_false

4056: -- Correct the Parent Task Information based on current Child Tasks
4057: sync_parent_with_child(
4058: p_api_version => 1.0
4059: , p_init_msg_list => fnd_api.g_false
4060: , p_commit => fnd_api.g_false
4061: , x_return_status => x_return_status
4062: , x_msg_count => x_msg_count
4063: , x_msg_data => x_msg_data
4064: , p_parent_task_id => p_task_id

Line 4069: IF x_return_status = fnd_api.g_ret_sts_error THEN

4065: , p_parent_version_number => p_object_version_number
4066: , p_planned_start_date => p_planned_start_date
4067: , p_planned_end_date => p_planned_end_date
4068: );
4069: IF x_return_status = fnd_api.g_ret_sts_error THEN
4070: RAISE fnd_api.g_exc_error;
4071: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4072: RAISE fnd_api.g_exc_unexpected_error;
4073: END IF;

Line 4070: RAISE fnd_api.g_exc_error;

4066: , p_planned_start_date => p_planned_start_date
4067: , p_planned_end_date => p_planned_end_date
4068: );
4069: IF x_return_status = fnd_api.g_ret_sts_error THEN
4070: RAISE fnd_api.g_exc_error;
4071: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4072: RAISE fnd_api.g_exc_unexpected_error;
4073: END IF;
4074:

Line 4071: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4067: , p_planned_end_date => p_planned_end_date
4068: );
4069: IF x_return_status = fnd_api.g_ret_sts_error THEN
4070: RAISE fnd_api.g_exc_error;
4071: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4072: RAISE fnd_api.g_exc_unexpected_error;
4073: END IF;
4074:
4075: -- Correct the Child Task's Information

Line 4072: RAISE fnd_api.g_exc_unexpected_error;

4068: );
4069: IF x_return_status = fnd_api.g_ret_sts_error THEN
4070: RAISE fnd_api.g_exc_error;
4071: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4072: RAISE fnd_api.g_exc_unexpected_error;
4073: END IF;
4074:
4075: -- Correct the Child Task's Information
4076: sync_child_from_parent(

Line 4078: , p_init_msg_list => fnd_api.g_false

4074:
4075: -- Correct the Child Task's Information
4076: sync_child_from_parent(
4077: p_api_version => 1.0
4078: , p_init_msg_list => fnd_api.g_false
4079: , p_commit => fnd_api.g_false
4080: , x_return_status => x_return_status
4081: , x_msg_count => x_msg_count
4082: , x_msg_data => x_msg_data

Line 4079: , p_commit => fnd_api.g_false

4075: -- Correct the Child Task's Information
4076: sync_child_from_parent(
4077: p_api_version => 1.0
4078: , p_init_msg_list => fnd_api.g_false
4079: , p_commit => fnd_api.g_false
4080: , x_return_status => x_return_status
4081: , x_msg_count => x_msg_count
4082: , x_msg_data => x_msg_data
4083: , p_parent_task_id => p_task_id

Line 4085: IF x_return_status = fnd_api.g_ret_sts_error THEN

4081: , x_msg_count => x_msg_count
4082: , x_msg_data => x_msg_data
4083: , p_parent_task_id => p_task_id
4084: );
4085: IF x_return_status = fnd_api.g_ret_sts_error THEN
4086: RAISE fnd_api.g_exc_error;
4087: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4088: RAISE fnd_api.g_exc_unexpected_error;
4089: END IF;

Line 4086: RAISE fnd_api.g_exc_error;

4082: , x_msg_data => x_msg_data
4083: , p_parent_task_id => p_task_id
4084: );
4085: IF x_return_status = fnd_api.g_ret_sts_error THEN
4086: RAISE fnd_api.g_exc_error;
4087: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4088: RAISE fnd_api.g_exc_unexpected_error;
4089: END IF;
4090: ELSIF p_action = g_action_parent_to_normal THEN

Line 4087: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4083: , p_parent_task_id => p_task_id
4084: );
4085: IF x_return_status = fnd_api.g_ret_sts_error THEN
4086: RAISE fnd_api.g_exc_error;
4087: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4088: RAISE fnd_api.g_exc_unexpected_error;
4089: END IF;
4090: ELSIF p_action = g_action_parent_to_normal THEN
4091: jtf_tasks_pub.update_task(

Line 4088: RAISE fnd_api.g_exc_unexpected_error;

4084: );
4085: IF x_return_status = fnd_api.g_ret_sts_error THEN
4086: RAISE fnd_api.g_exc_error;
4087: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4088: RAISE fnd_api.g_exc_unexpected_error;
4089: END IF;
4090: ELSIF p_action = g_action_parent_to_normal THEN
4091: jtf_tasks_pub.update_task(
4092: p_api_version => 1.0

Line 4106: , p_enable_workflow => fnd_api.g_miss_char

4102: , p_actual_start_date => NULL
4103: , p_actual_end_date => NULL
4104: , p_actual_effort => NULL
4105: , p_actual_effort_uom => NULL
4106: , p_enable_workflow => fnd_api.g_miss_char
4107: , p_abort_workflow => fnd_api.g_miss_char
4108: );
4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN

Line 4107: , p_abort_workflow => fnd_api.g_miss_char

4103: , p_actual_end_date => NULL
4104: , p_actual_effort => NULL
4105: , p_actual_effort_uom => NULL
4106: , p_enable_workflow => fnd_api.g_miss_char
4107: , p_abort_workflow => fnd_api.g_miss_char
4108: );
4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN
4111: RAISE fnd_api.g_exc_error;

Line 4110: IF x_return_status = fnd_api.g_ret_sts_error THEN

4106: , p_enable_workflow => fnd_api.g_miss_char
4107: , p_abort_workflow => fnd_api.g_miss_char
4108: );
4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN
4111: RAISE fnd_api.g_exc_error;
4112: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4113: RAISE fnd_api.g_exc_unexpected_error;
4114: END IF;

Line 4111: RAISE fnd_api.g_exc_error;

4107: , p_abort_workflow => fnd_api.g_miss_char
4108: );
4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN
4111: RAISE fnd_api.g_exc_error;
4112: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4113: RAISE fnd_api.g_exc_unexpected_error;
4114: END IF;
4115:

Line 4112: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4108: );
4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN
4111: RAISE fnd_api.g_exc_error;
4112: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4113: RAISE fnd_api.g_exc_unexpected_error;
4114: END IF;
4115:
4116: -- cancel all children if parent is changed back to normal.

Line 4113: RAISE fnd_api.g_exc_unexpected_error;

4109:
4110: IF x_return_status = fnd_api.g_ret_sts_error THEN
4111: RAISE fnd_api.g_exc_error;
4112: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4113: RAISE fnd_api.g_exc_unexpected_error;
4114: END IF;
4115:
4116: -- cancel all children if parent is changed back to normal.
4117: FOR child_task IN c_child_tasks LOOP

Line 4120: , p_init_msg_list => fnd_api.g_false

4116: -- cancel all children if parent is changed back to normal.
4117: FOR child_task IN c_child_tasks LOOP
4118: unassign_task(
4119: p_api_version => 1.0
4120: , p_init_msg_list => fnd_api.g_false
4121: , p_commit => fnd_api.g_false
4122: , x_return_status => x_return_status
4123: , x_msg_count => x_msg_count
4124: , x_msg_data => x_msg_data

Line 4121: , p_commit => fnd_api.g_false

4117: FOR child_task IN c_child_tasks LOOP
4118: unassign_task(
4119: p_api_version => 1.0
4120: , p_init_msg_list => fnd_api.g_false
4121: , p_commit => fnd_api.g_false
4122: , x_return_status => x_return_status
4123: , x_msg_count => x_msg_count
4124: , x_msg_data => x_msg_data
4125: , p_task_id => child_task.task_id

Line 4132: IF x_return_status = fnd_api.g_ret_sts_error THEN

4128: , p_task_assignment_id => child_task.task_assignment_id
4129: , p_ta_object_version_number => child_task.task_assignment_ovn
4130: , p_assignment_status_id => g_cancelled
4131: );
4132: IF x_return_status = fnd_api.g_ret_sts_error THEN
4133: RAISE fnd_api.g_exc_error;
4134: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4135: RAISE fnd_api.g_exc_unexpected_error;
4136: END IF;

Line 4133: RAISE fnd_api.g_exc_error;

4129: , p_ta_object_version_number => child_task.task_assignment_ovn
4130: , p_assignment_status_id => g_cancelled
4131: );
4132: IF x_return_status = fnd_api.g_ret_sts_error THEN
4133: RAISE fnd_api.g_exc_error;
4134: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4135: RAISE fnd_api.g_exc_unexpected_error;
4136: END IF;
4137: END LOOP;

Line 4134: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4130: , p_assignment_status_id => g_cancelled
4131: );
4132: IF x_return_status = fnd_api.g_ret_sts_error THEN
4133: RAISE fnd_api.g_exc_error;
4134: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4135: RAISE fnd_api.g_exc_unexpected_error;
4136: END IF;
4137: END LOOP;
4138: END IF;

Line 4135: RAISE fnd_api.g_exc_unexpected_error;

4131: );
4132: IF x_return_status = fnd_api.g_ret_sts_error THEN
4133: RAISE fnd_api.g_exc_error;
4134: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4135: RAISE fnd_api.g_exc_unexpected_error;
4136: END IF;
4137: END LOOP;
4138: END IF;
4139:

Line 4140: IF fnd_api.to_boolean(p_commit) THEN

4136: END IF;
4137: END LOOP;
4138: END IF;
4139:
4140: IF fnd_api.to_boolean(p_commit) THEN
4141: COMMIT WORK;
4142: END IF;
4143: EXCEPTION
4144: WHEN fnd_api.g_exc_error THEN

Line 4144: WHEN fnd_api.g_exc_error THEN

4140: IF fnd_api.to_boolean(p_commit) THEN
4141: COMMIT WORK;
4142: END IF;
4143: EXCEPTION
4144: WHEN fnd_api.g_exc_error THEN
4145: ROLLBACK TO update_task_longer_than_shift;
4146: x_return_status := fnd_api.g_ret_sts_error;
4147: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4148: WHEN fnd_api.g_exc_unexpected_error THEN

Line 4146: x_return_status := fnd_api.g_ret_sts_error;

4142: END IF;
4143: EXCEPTION
4144: WHEN fnd_api.g_exc_error THEN
4145: ROLLBACK TO update_task_longer_than_shift;
4146: x_return_status := fnd_api.g_ret_sts_error;
4147: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4148: WHEN fnd_api.g_exc_unexpected_error THEN
4149: ROLLBACK TO update_task_longer_than_shift;
4150: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 4148: WHEN fnd_api.g_exc_unexpected_error THEN

4144: WHEN fnd_api.g_exc_error THEN
4145: ROLLBACK TO update_task_longer_than_shift;
4146: x_return_status := fnd_api.g_ret_sts_error;
4147: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4148: WHEN fnd_api.g_exc_unexpected_error THEN
4149: ROLLBACK TO update_task_longer_than_shift;
4150: x_return_status := fnd_api.g_ret_sts_unexp_error;
4151: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4152: WHEN OTHERS THEN

Line 4150: x_return_status := fnd_api.g_ret_sts_unexp_error;

4146: x_return_status := fnd_api.g_ret_sts_error;
4147: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4148: WHEN fnd_api.g_exc_unexpected_error THEN
4149: ROLLBACK TO update_task_longer_than_shift;
4150: x_return_status := fnd_api.g_ret_sts_unexp_error;
4151: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4152: WHEN OTHERS THEN
4153: x_return_status := fnd_api.g_ret_sts_unexp_error;
4154: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 4153: x_return_status := fnd_api.g_ret_sts_unexp_error;

4149: ROLLBACK TO update_task_longer_than_shift;
4150: x_return_status := fnd_api.g_ret_sts_unexp_error;
4151: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4152: WHEN OTHERS THEN
4153: x_return_status := fnd_api.g_ret_sts_unexp_error;
4154: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
4155: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
4156: END IF;
4157: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 4231: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

4227: l_parent_task_info c_parent_task_info%ROWTYPE;
4228: BEGIN
4229: SAVEPOINT csf_create_child_task;
4230:
4231: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4232: RAISE fnd_api.g_exc_unexpected_error;
4233: END IF;
4234:
4235: IF fnd_api.to_boolean(p_init_msg_list) THEN

Line 4232: RAISE fnd_api.g_exc_unexpected_error;

4228: BEGIN
4229: SAVEPOINT csf_create_child_task;
4230:
4231: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4232: RAISE fnd_api.g_exc_unexpected_error;
4233: END IF;
4234:
4235: IF fnd_api.to_boolean(p_init_msg_list) THEN
4236: fnd_msg_pub.initialize;

Line 4235: IF fnd_api.to_boolean(p_init_msg_list) THEN

4231: IF NOT fnd_api.compatible_api_call(l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4232: RAISE fnd_api.g_exc_unexpected_error;
4233: END IF;
4234:
4235: IF fnd_api.to_boolean(p_init_msg_list) THEN
4236: fnd_msg_pub.initialize;
4237: END IF;
4238:
4239: x_return_status := fnd_api.g_ret_sts_success;

Line 4239: x_return_status := fnd_api.g_ret_sts_success;

4235: IF fnd_api.to_boolean(p_init_msg_list) THEN
4236: fnd_msg_pub.initialize;
4237: END IF;
4238:
4239: x_return_status := fnd_api.g_ret_sts_success;
4240:
4241: -- Get the Parent Task Information
4242: OPEN c_parent_task_info;
4243: FETCH c_parent_task_info INTO l_parent_task_info;

Line 4247: RAISE fnd_api.g_exc_unexpected_error;

4243: FETCH c_parent_task_info INTO l_parent_task_info;
4244: IF c_parent_task_info%NOTFOUND THEN
4245: CLOSE c_parent_task_info;
4246: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name, 'NO_DATA_FOUND JTF_TASKS_B.TASK_ID = ' || p_parent_task_id);
4247: RAISE fnd_api.g_exc_unexpected_error;
4248: END IF;
4249: CLOSE c_parent_task_info;
4250:
4251: -- Create the Child Task using Parent Task Information

Line 4255: , p_init_msg_list => fnd_api.g_false

4251: -- Create the Child Task using Parent Task Information
4252: -- (Set Zero Length Planned Window at Scheduled Start, Bound Mode code in BTS)
4253: jtf_tasks_pub.create_task(
4254: p_api_version => 1.0
4255: , p_init_msg_list => fnd_api.g_false
4256: , p_commit => fnd_api.g_false
4257: , x_return_status => x_return_status
4258: , x_msg_count => x_msg_count
4259: , x_msg_data => x_msg_data

Line 4256: , p_commit => fnd_api.g_false

4252: -- (Set Zero Length Planned Window at Scheduled Start, Bound Mode code in BTS)
4253: jtf_tasks_pub.create_task(
4254: p_api_version => 1.0
4255: , p_init_msg_list => fnd_api.g_false
4256: , p_commit => fnd_api.g_false
4257: , x_return_status => x_return_status
4258: , x_msg_count => x_msg_count
4259: , x_msg_data => x_msg_data
4260: , p_task_name => l_parent_task_info.task_name

Line 4305: IF x_return_status = fnd_api.g_ret_sts_error THEN

4301: , p_attribute15 => l_parent_task_info.attribute15
4302: , p_attribute_category => l_parent_task_info.attribute_category
4303: , x_task_id => x_task_id
4304: );
4305: IF x_return_status = fnd_api.g_ret_sts_error THEN
4306: RAISE fnd_api.g_exc_error;
4307: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4308: RAISE fnd_api.g_exc_unexpected_error;
4309: END IF;

Line 4306: RAISE fnd_api.g_exc_error;

4302: , p_attribute_category => l_parent_task_info.attribute_category
4303: , x_task_id => x_task_id
4304: );
4305: IF x_return_status = fnd_api.g_ret_sts_error THEN
4306: RAISE fnd_api.g_exc_error;
4307: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4308: RAISE fnd_api.g_exc_unexpected_error;
4309: END IF;
4310: x_object_version_number := 1;

Line 4307: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4303: , x_task_id => x_task_id
4304: );
4305: IF x_return_status = fnd_api.g_ret_sts_error THEN
4306: RAISE fnd_api.g_exc_error;
4307: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4308: RAISE fnd_api.g_exc_unexpected_error;
4309: END IF;
4310: x_object_version_number := 1;
4311:

Line 4308: RAISE fnd_api.g_exc_unexpected_error;

4304: );
4305: IF x_return_status = fnd_api.g_ret_sts_error THEN
4306: RAISE fnd_api.g_exc_error;
4307: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4308: RAISE fnd_api.g_exc_unexpected_error;
4309: END IF;
4310: x_object_version_number := 1;
4311:
4312: -- Copy Task Confirmation Values.

Line 4320: , p_init_msg_list => fnd_api.g_false

4316: -- Counter as ZERO. Thus there is no need for another uncessary update.
4317: ELSIF l_parent_task_info.task_confirmation_status = 'R' THEN
4318: jtf_task_confirmation_pub.set_confirmation_required(
4319: p_api_version => 1.0
4320: , p_init_msg_list => fnd_api.g_false
4321: , p_commit => fnd_api.g_false
4322: , x_return_status => x_return_status
4323: , x_msg_count => x_msg_count
4324: , x_msg_data => x_msg_data

Line 4321: , p_commit => fnd_api.g_false

4317: ELSIF l_parent_task_info.task_confirmation_status = 'R' THEN
4318: jtf_task_confirmation_pub.set_confirmation_required(
4319: p_api_version => 1.0
4320: , p_init_msg_list => fnd_api.g_false
4321: , p_commit => fnd_api.g_false
4322: , x_return_status => x_return_status
4323: , x_msg_count => x_msg_count
4324: , x_msg_data => x_msg_data
4325: , p_task_id => x_task_id

Line 4328: IF x_return_status = fnd_api.g_ret_sts_error THEN

4324: , x_msg_data => x_msg_data
4325: , p_task_id => x_task_id
4326: , p_object_version_number => x_object_version_number
4327: );
4328: IF x_return_status = fnd_api.g_ret_sts_error THEN
4329: RAISE fnd_api.g_exc_error;
4330: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4331: RAISE fnd_api.g_exc_unexpected_error;
4332: END IF;

Line 4329: RAISE fnd_api.g_exc_error;

4325: , p_task_id => x_task_id
4326: , p_object_version_number => x_object_version_number
4327: );
4328: IF x_return_status = fnd_api.g_ret_sts_error THEN
4329: RAISE fnd_api.g_exc_error;
4330: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4331: RAISE fnd_api.g_exc_unexpected_error;
4332: END IF;
4333: ELSIF l_parent_task_info.task_confirmation_status = 'C' THEN

Line 4330: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4326: , p_object_version_number => x_object_version_number
4327: );
4328: IF x_return_status = fnd_api.g_ret_sts_error THEN
4329: RAISE fnd_api.g_exc_error;
4330: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4331: RAISE fnd_api.g_exc_unexpected_error;
4332: END IF;
4333: ELSIF l_parent_task_info.task_confirmation_status = 'C' THEN
4334: jtf_task_confirmation_pub.set_confirmation_confirmed(

Line 4331: RAISE fnd_api.g_exc_unexpected_error;

4327: );
4328: IF x_return_status = fnd_api.g_ret_sts_error THEN
4329: RAISE fnd_api.g_exc_error;
4330: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4331: RAISE fnd_api.g_exc_unexpected_error;
4332: END IF;
4333: ELSIF l_parent_task_info.task_confirmation_status = 'C' THEN
4334: jtf_task_confirmation_pub.set_confirmation_confirmed(
4335: p_api_version => 1.0

Line 4336: , p_init_msg_list => fnd_api.g_false

4332: END IF;
4333: ELSIF l_parent_task_info.task_confirmation_status = 'C' THEN
4334: jtf_task_confirmation_pub.set_confirmation_confirmed(
4335: p_api_version => 1.0
4336: , p_init_msg_list => fnd_api.g_false
4337: , p_commit => fnd_api.g_false
4338: , x_return_status => x_return_status
4339: , x_msg_count => x_msg_count
4340: , x_msg_data => x_msg_data

Line 4337: , p_commit => fnd_api.g_false

4333: ELSIF l_parent_task_info.task_confirmation_status = 'C' THEN
4334: jtf_task_confirmation_pub.set_confirmation_confirmed(
4335: p_api_version => 1.0
4336: , p_init_msg_list => fnd_api.g_false
4337: , p_commit => fnd_api.g_false
4338: , x_return_status => x_return_status
4339: , x_msg_count => x_msg_count
4340: , x_msg_data => x_msg_data
4341: , p_task_id => x_task_id

Line 4344: IF x_return_status = fnd_api.g_ret_sts_error THEN

4340: , x_msg_data => x_msg_data
4341: , p_task_id => x_task_id
4342: , p_object_version_number => x_object_version_number
4343: );
4344: IF x_return_status = fnd_api.g_ret_sts_error THEN
4345: RAISE fnd_api.g_exc_error;
4346: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4347: RAISE fnd_api.g_exc_unexpected_error;
4348: END IF;

Line 4345: RAISE fnd_api.g_exc_error;

4341: , p_task_id => x_task_id
4342: , p_object_version_number => x_object_version_number
4343: );
4344: IF x_return_status = fnd_api.g_ret_sts_error THEN
4345: RAISE fnd_api.g_exc_error;
4346: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4347: RAISE fnd_api.g_exc_unexpected_error;
4348: END IF;
4349: IF l_parent_task_info.task_confirmation_counter > 0 THEN

Line 4346: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4342: , p_object_version_number => x_object_version_number
4343: );
4344: IF x_return_status = fnd_api.g_ret_sts_error THEN
4345: RAISE fnd_api.g_exc_error;
4346: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4347: RAISE fnd_api.g_exc_unexpected_error;
4348: END IF;
4349: IF l_parent_task_info.task_confirmation_counter > 0 THEN
4350: -- This is one horrible way of incrementing the counter. JTF has not given

Line 4347: RAISE fnd_api.g_exc_unexpected_error;

4343: );
4344: IF x_return_status = fnd_api.g_ret_sts_error THEN
4345: RAISE fnd_api.g_exc_error;
4346: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4347: RAISE fnd_api.g_exc_unexpected_error;
4348: END IF;
4349: IF l_parent_task_info.task_confirmation_counter > 0 THEN
4350: -- This is one horrible way of incrementing the counter. JTF has not given
4351: -- a API to set it directly. This way will increase the Object Version

Line 4356: , p_init_msg_list => fnd_api.g_false

4352: -- Number for each increase..
4353: FOR k IN 1 .. l_parent_task_info.task_confirmation_counter LOOP
4354: jtf_task_confirmation_pub.increase_counter(
4355: p_api_version => 1.0
4356: , p_init_msg_list => fnd_api.g_false
4357: , p_commit => fnd_api.g_false
4358: , x_return_status => x_return_status
4359: , x_msg_count => x_msg_count
4360: , x_msg_data => x_msg_data

Line 4357: , p_commit => fnd_api.g_false

4353: FOR k IN 1 .. l_parent_task_info.task_confirmation_counter LOOP
4354: jtf_task_confirmation_pub.increase_counter(
4355: p_api_version => 1.0
4356: , p_init_msg_list => fnd_api.g_false
4357: , p_commit => fnd_api.g_false
4358: , x_return_status => x_return_status
4359: , x_msg_count => x_msg_count
4360: , x_msg_data => x_msg_data
4361: , p_task_id => x_task_id

Line 4364: IF x_return_status = fnd_api.g_ret_sts_error THEN

4360: , x_msg_data => x_msg_data
4361: , p_task_id => x_task_id
4362: , p_object_version_number => x_object_version_number
4363: );
4364: IF x_return_status = fnd_api.g_ret_sts_error THEN
4365: RAISE fnd_api.g_exc_error;
4366: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4367: RAISE fnd_api.g_exc_unexpected_error;
4368: END IF;

Line 4365: RAISE fnd_api.g_exc_error;

4361: , p_task_id => x_task_id
4362: , p_object_version_number => x_object_version_number
4363: );
4364: IF x_return_status = fnd_api.g_ret_sts_error THEN
4365: RAISE fnd_api.g_exc_error;
4366: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4367: RAISE fnd_api.g_exc_unexpected_error;
4368: END IF;
4369: END LOOP;

Line 4366: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4362: , p_object_version_number => x_object_version_number
4363: );
4364: IF x_return_status = fnd_api.g_ret_sts_error THEN
4365: RAISE fnd_api.g_exc_error;
4366: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4367: RAISE fnd_api.g_exc_unexpected_error;
4368: END IF;
4369: END LOOP;
4370: END IF;

Line 4367: RAISE fnd_api.g_exc_unexpected_error;

4363: );
4364: IF x_return_status = fnd_api.g_ret_sts_error THEN
4365: RAISE fnd_api.g_exc_error;
4366: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4367: RAISE fnd_api.g_exc_unexpected_error;
4368: END IF;
4369: END LOOP;
4370: END IF;
4371: END IF;

Line 4393: IF x_return_status = fnd_api.g_ret_sts_error THEN

4389: , p_free_busy_type => NULL
4390: , x_task_assignment_id => x_task_assignment_id
4391: );
4392:
4393: IF x_return_status = fnd_api.g_ret_sts_error THEN
4394: RAISE fnd_api.g_exc_error;
4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4396: RAISE fnd_api.g_exc_unexpected_error;
4397: END IF;

Line 4394: RAISE fnd_api.g_exc_error;

4390: , x_task_assignment_id => x_task_assignment_id
4391: );
4392:
4393: IF x_return_status = fnd_api.g_ret_sts_error THEN
4394: RAISE fnd_api.g_exc_error;
4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4396: RAISE fnd_api.g_exc_unexpected_error;
4397: END IF;
4398:

Line 4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4391: );
4392:
4393: IF x_return_status = fnd_api.g_ret_sts_error THEN
4394: RAISE fnd_api.g_exc_error;
4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4396: RAISE fnd_api.g_exc_unexpected_error;
4397: END IF;
4398:
4399: IF fnd_api.to_boolean(p_commit) THEN

Line 4396: RAISE fnd_api.g_exc_unexpected_error;

4392:
4393: IF x_return_status = fnd_api.g_ret_sts_error THEN
4394: RAISE fnd_api.g_exc_error;
4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4396: RAISE fnd_api.g_exc_unexpected_error;
4397: END IF;
4398:
4399: IF fnd_api.to_boolean(p_commit) THEN
4400: COMMIT WORK;

Line 4399: IF fnd_api.to_boolean(p_commit) THEN

4395: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4396: RAISE fnd_api.g_exc_unexpected_error;
4397: END IF;
4398:
4399: IF fnd_api.to_boolean(p_commit) THEN
4400: COMMIT WORK;
4401: END IF;
4402:
4403: EXCEPTION

Line 4404: WHEN fnd_api.g_exc_error THEN

4400: COMMIT WORK;
4401: END IF;
4402:
4403: EXCEPTION
4404: WHEN fnd_api.g_exc_error THEN
4405: ROLLBACK TO csf_create_child_task;
4406: x_return_status := fnd_api.g_ret_sts_error;
4407: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4408: WHEN fnd_api.g_exc_unexpected_error THEN

Line 4406: x_return_status := fnd_api.g_ret_sts_error;

4402:
4403: EXCEPTION
4404: WHEN fnd_api.g_exc_error THEN
4405: ROLLBACK TO csf_create_child_task;
4406: x_return_status := fnd_api.g_ret_sts_error;
4407: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4408: WHEN fnd_api.g_exc_unexpected_error THEN
4409: ROLLBACK TO csf_create_child_task;
4410: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 4408: WHEN fnd_api.g_exc_unexpected_error THEN

4404: WHEN fnd_api.g_exc_error THEN
4405: ROLLBACK TO csf_create_child_task;
4406: x_return_status := fnd_api.g_ret_sts_error;
4407: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4408: WHEN fnd_api.g_exc_unexpected_error THEN
4409: ROLLBACK TO csf_create_child_task;
4410: x_return_status := fnd_api.g_ret_sts_unexp_error;
4411: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4412: WHEN OTHERS THEN

Line 4410: x_return_status := fnd_api.g_ret_sts_unexp_error;

4406: x_return_status := fnd_api.g_ret_sts_error;
4407: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4408: WHEN fnd_api.g_exc_unexpected_error THEN
4409: ROLLBACK TO csf_create_child_task;
4410: x_return_status := fnd_api.g_ret_sts_unexp_error;
4411: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4412: WHEN OTHERS THEN
4413: x_return_status := fnd_api.g_ret_sts_unexp_error;
4414: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 4413: x_return_status := fnd_api.g_ret_sts_unexp_error;

4409: ROLLBACK TO csf_create_child_task;
4410: x_return_status := fnd_api.g_ret_sts_unexp_error;
4411: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4412: WHEN OTHERS THEN
4413: x_return_status := fnd_api.g_ret_sts_unexp_error;
4414: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
4415: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
4416: END IF;
4417: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 4487: x_return_status := fnd_api.g_ret_sts_success;

4483: l_task_info c_task_info%ROWTYPE;
4484: BEGIN
4485: SAVEPOINT csf_update_cust_confirmation;
4486:
4487: x_return_status := fnd_api.g_ret_sts_success;
4488:
4489: IF fnd_api.to_boolean (p_init_msg_list) THEN
4490: fnd_msg_pub.initialize;
4491: END IF;

Line 4489: IF fnd_api.to_boolean (p_init_msg_list) THEN

4485: SAVEPOINT csf_update_cust_confirmation;
4486:
4487: x_return_status := fnd_api.g_ret_sts_success;
4488:
4489: IF fnd_api.to_boolean (p_init_msg_list) THEN
4490: fnd_msg_pub.initialize;
4491: END IF;
4492:
4493: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

Line 4493: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

4489: IF fnd_api.to_boolean (p_init_msg_list) THEN
4490: fnd_msg_pub.initialize;
4491: END IF;
4492:
4493: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4494: RAISE fnd_api.g_exc_unexpected_error;
4495: END IF;
4496:
4497: OPEN c_task_info(p_task_id);

Line 4494: RAISE fnd_api.g_exc_unexpected_error;

4490: fnd_msg_pub.initialize;
4491: END IF;
4492:
4493: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
4494: RAISE fnd_api.g_exc_unexpected_error;
4495: END IF;
4496:
4497: OPEN c_task_info(p_task_id);
4498: FETCH c_task_info INTO l_task_info;

Line 4522: , p_init_msg_list => fnd_api.g_false

4518: LOOP
4519: IF p_action = csf_tasks_pub.g_action_conf_to_received THEN
4520: jtf_task_confirmation_pub.set_confirmation_confirmed(
4521: p_api_version => 1.0
4522: , p_init_msg_list => fnd_api.g_false
4523: , p_commit => fnd_api.g_false
4524: , x_return_status => x_return_status
4525: , x_msg_count => x_msg_count
4526: , x_msg_data => x_msg_data

Line 4523: , p_commit => fnd_api.g_false

4519: IF p_action = csf_tasks_pub.g_action_conf_to_received THEN
4520: jtf_task_confirmation_pub.set_confirmation_confirmed(
4521: p_api_version => 1.0
4522: , p_init_msg_list => fnd_api.g_false
4523: , p_commit => fnd_api.g_false
4524: , x_return_status => x_return_status
4525: , x_msg_count => x_msg_count
4526: , x_msg_data => x_msg_data
4527: , p_task_id => l_cust_task_tbl(i)

Line 4533: , p_init_msg_list => fnd_api.g_false

4529: );
4530: ELSIF p_action = csf_tasks_pub.g_action_conf_to_required THEN
4531: jtf_task_confirmation_pub.set_confirmation_required(
4532: p_api_version => 1.0
4533: , p_init_msg_list => fnd_api.g_false
4534: , p_commit => fnd_api.g_false
4535: , x_return_status => x_return_status
4536: , x_msg_count => x_msg_count
4537: , x_msg_data => x_msg_data

Line 4534: , p_commit => fnd_api.g_false

4530: ELSIF p_action = csf_tasks_pub.g_action_conf_to_required THEN
4531: jtf_task_confirmation_pub.set_confirmation_required(
4532: p_api_version => 1.0
4533: , p_init_msg_list => fnd_api.g_false
4534: , p_commit => fnd_api.g_false
4535: , x_return_status => x_return_status
4536: , x_msg_count => x_msg_count
4537: , x_msg_data => x_msg_data
4538: , p_task_id => l_cust_task_tbl(i)

Line 4541: IF x_return_status = fnd_api.g_ret_sts_success THEN

4537: , x_msg_data => x_msg_data
4538: , p_task_id => l_cust_task_tbl(i)
4539: , p_object_version_number => l_cust_objver_tbl(i)
4540: );
4541: IF x_return_status = fnd_api.g_ret_sts_success THEN
4542: IF l_task_info.task_confirmation_status = 'C' THEN
4543: IF p_initiated = csf_tasks_pub.g_dispatcher_initiated THEN
4544: jtf_task_confirmation_pub.increase_counter(
4545: p_api_version => 1.0

Line 4546: , p_init_msg_list => fnd_api.g_false

4542: IF l_task_info.task_confirmation_status = 'C' THEN
4543: IF p_initiated = csf_tasks_pub.g_dispatcher_initiated THEN
4544: jtf_task_confirmation_pub.increase_counter(
4545: p_api_version => 1.0
4546: , p_init_msg_list => fnd_api.g_false
4547: , p_commit => fnd_api.g_false
4548: , x_return_status => x_return_status
4549: , x_msg_count => x_msg_count
4550: , x_msg_data => x_msg_data

Line 4547: , p_commit => fnd_api.g_false

4543: IF p_initiated = csf_tasks_pub.g_dispatcher_initiated THEN
4544: jtf_task_confirmation_pub.increase_counter(
4545: p_api_version => 1.0
4546: , p_init_msg_list => fnd_api.g_false
4547: , p_commit => fnd_api.g_false
4548: , x_return_status => x_return_status
4549: , x_msg_count => x_msg_count
4550: , x_msg_data => x_msg_data
4551: , p_task_id => l_cust_task_tbl(i)

Line 4557: , p_commit => fnd_api.g_false

4553: );
4554: ELSIF p_initiated = csf_tasks_pub.g_customer_initiated THEN
4555: jtf_task_confirmation_pub.reset_counter(
4556: p_api_version => 1.0
4557: , p_commit => fnd_api.g_false
4558: , p_init_msg_list => fnd_api.g_false
4559: , p_object_version_number => l_cust_objver_tbl(i)
4560: , p_task_id => l_cust_task_tbl(i)
4561: , x_return_status => x_return_status

Line 4558: , p_init_msg_list => fnd_api.g_false

4554: ELSIF p_initiated = csf_tasks_pub.g_customer_initiated THEN
4555: jtf_task_confirmation_pub.reset_counter(
4556: p_api_version => 1.0
4557: , p_commit => fnd_api.g_false
4558: , p_init_msg_list => fnd_api.g_false
4559: , p_object_version_number => l_cust_objver_tbl(i)
4560: , p_task_id => l_cust_task_tbl(i)
4561: , x_return_status => x_return_status
4562: , x_msg_count => x_msg_count

Line 4571: , p_init_msg_list => fnd_api.g_false

4567: END IF;
4568: ELSIF p_action = csf_tasks_pub.g_action_conf_not_required THEN
4569: jtf_task_confirmation_pub.reset_confirmation_status(
4570: p_api_version => 1.0
4571: , p_init_msg_list => fnd_api.g_false
4572: , p_commit => fnd_api.g_false
4573: , x_return_status => x_return_status
4574: , x_msg_count => x_msg_count
4575: , x_msg_data => x_msg_data

Line 4572: , p_commit => fnd_api.g_false

4568: ELSIF p_action = csf_tasks_pub.g_action_conf_not_required THEN
4569: jtf_task_confirmation_pub.reset_confirmation_status(
4570: p_api_version => 1.0
4571: , p_init_msg_list => fnd_api.g_false
4572: , p_commit => fnd_api.g_false
4573: , x_return_status => x_return_status
4574: , x_msg_count => x_msg_count
4575: , x_msg_data => x_msg_data
4576: , p_task_id => l_cust_task_tbl(i)

Line 4581: IF x_return_status = fnd_api.g_ret_sts_error THEN

4577: , p_object_version_number => l_cust_objver_tbl(i)
4578: );
4579: END IF;
4580:
4581: IF x_return_status = fnd_api.g_ret_sts_error THEN
4582: RAISE fnd_api.g_exc_error;
4583: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4584: RAISE fnd_api.g_exc_unexpected_error;
4585: END IF;

Line 4582: RAISE fnd_api.g_exc_error;

4578: );
4579: END IF;
4580:
4581: IF x_return_status = fnd_api.g_ret_sts_error THEN
4582: RAISE fnd_api.g_exc_error;
4583: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4584: RAISE fnd_api.g_exc_unexpected_error;
4585: END IF;
4586:

Line 4583: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

4579: END IF;
4580:
4581: IF x_return_status = fnd_api.g_ret_sts_error THEN
4582: RAISE fnd_api.g_exc_error;
4583: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4584: RAISE fnd_api.g_exc_unexpected_error;
4585: END IF;
4586:
4587: IF ( p_task_id = l_cust_task_tbl(i) ) THEN

Line 4584: RAISE fnd_api.g_exc_unexpected_error;

4580:
4581: IF x_return_status = fnd_api.g_ret_sts_error THEN
4582: RAISE fnd_api.g_exc_error;
4583: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
4584: RAISE fnd_api.g_exc_unexpected_error;
4585: END IF;
4586:
4587: IF ( p_task_id = l_cust_task_tbl(i) ) THEN
4588: p_object_version_number := l_cust_objver_tbl(i);

Line 4595: IF fnd_api.to_boolean (p_commit) THEN

4591: i := l_cust_task_tbl.next(i);
4592: END LOOP;
4593:
4594: -- Standard check of p_commit
4595: IF fnd_api.to_boolean (p_commit) THEN
4596: COMMIT WORK;
4597: END IF;
4598:
4599: EXCEPTION

Line 4600: WHEN fnd_api.g_exc_error THEN

4596: COMMIT WORK;
4597: END IF;
4598:
4599: EXCEPTION
4600: WHEN fnd_api.g_exc_error THEN
4601: ROLLBACK TO csf_update_cust_confirmation;
4602: x_return_status := fnd_api.g_ret_sts_error;
4603: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4604: WHEN fnd_api.g_exc_unexpected_error THEN

Line 4602: x_return_status := fnd_api.g_ret_sts_error;

4598:
4599: EXCEPTION
4600: WHEN fnd_api.g_exc_error THEN
4601: ROLLBACK TO csf_update_cust_confirmation;
4602: x_return_status := fnd_api.g_ret_sts_error;
4603: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4604: WHEN fnd_api.g_exc_unexpected_error THEN
4605: ROLLBACK TO csf_update_cust_confirmation;
4606: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 4604: WHEN fnd_api.g_exc_unexpected_error THEN

4600: WHEN fnd_api.g_exc_error THEN
4601: ROLLBACK TO csf_update_cust_confirmation;
4602: x_return_status := fnd_api.g_ret_sts_error;
4603: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4604: WHEN fnd_api.g_exc_unexpected_error THEN
4605: ROLLBACK TO csf_update_cust_confirmation;
4606: x_return_status := fnd_api.g_ret_sts_unexp_error;
4607: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4608: WHEN OTHERS THEN

Line 4606: x_return_status := fnd_api.g_ret_sts_unexp_error;

4602: x_return_status := fnd_api.g_ret_sts_error;
4603: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4604: WHEN fnd_api.g_exc_unexpected_error THEN
4605: ROLLBACK TO csf_update_cust_confirmation;
4606: x_return_status := fnd_api.g_ret_sts_unexp_error;
4607: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4608: WHEN OTHERS THEN
4609: x_return_status := fnd_api.g_ret_sts_unexp_error;
4610: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 4609: x_return_status := fnd_api.g_ret_sts_unexp_error;

4605: ROLLBACK TO csf_update_cust_confirmation;
4606: x_return_status := fnd_api.g_ret_sts_unexp_error;
4607: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
4608: WHEN OTHERS THEN
4609: x_return_status := fnd_api.g_ret_sts_unexp_error;
4610: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
4611: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
4612: END IF;
4613: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 4797: * to take place for all Tasks, pass p_always_convert as FND_API.G_TRUE

4793: * in Minutes by Scheduler and therefore it is incumbent upon us to represent
4794: * them in a proper UOM. Thus this API will convert the Planned Effort to the default
4795: * UOM only for Child Tasks and will merely act as a Concatenation Operator for
4796: * other Tasks. If you want to overrule this and want conversion to Default UOM
4797: * to take place for all Tasks, pass p_always_convert as FND_API.G_TRUE
4798: *
4799: * Also refer to the documentation on CSF_UTIL_PVT.GET_EFFORT_IN_DEFAULT_UOM.
4800: *
4801: *

Line 4836: OR ( l_task_split_flag = '@' AND NVL(p_always_convert, fnd_api.g_false) = fnd_api.g_false)

4832: l_task_split_flag := p_task_split_flag;
4833:
4834: IF l_effort IS NULL
4835: OR l_effort_uom IS NULL
4836: OR ( l_task_split_flag = '@' AND NVL(p_always_convert, fnd_api.g_false) = fnd_api.g_false)
4837: THEN
4838: IF p_task_id IS NOT NULL THEN
4839: OPEN c_task_info;
4840: FETCH c_task_info INTO l_effort, l_effort_uom, l_task_split_flag;

Line 4850: AND NVL(p_always_convert, fnd_api.g_false) = fnd_api.g_false

4846: RETURN NULL;
4847: END IF;
4848:
4849: IF NVL(l_task_split_flag, 'M') IN ('M', '@')
4850: AND NVL(p_always_convert, fnd_api.g_false) = fnd_api.g_false
4851: THEN
4852: RETURN l_effort || ' ' || csf_util_pvt.get_uom(l_effort_uom);
4853: END IF;
4854:

Line 5064: x_return_status := fnd_api.g_ret_sts_success;

5060:
5061: begin
5062: SAVEPOINT csf_create_per_task;
5063:
5064: x_return_status := fnd_api.g_ret_sts_success;
5065:
5066: IF fnd_api.to_boolean (p_init_msg_list) THEN
5067: fnd_msg_pub.initialize;
5068: END IF;

Line 5066: IF fnd_api.to_boolean (p_init_msg_list) THEN

5062: SAVEPOINT csf_create_per_task;
5063:
5064: x_return_status := fnd_api.g_ret_sts_success;
5065:
5066: IF fnd_api.to_boolean (p_init_msg_list) THEN
5067: fnd_msg_pub.initialize;
5068: END IF;
5069:
5070:

Line 5102: IF x_return_status = fnd_api.g_ret_sts_error THEN

5098: , x_msg_count => x_msg_count
5099: , x_msg_data => x_msg_data
5100: , x_task_id => x_task_id
5101: );
5102: IF x_return_status = fnd_api.g_ret_sts_error THEN
5103: RAISE fnd_api.g_exc_error;
5104: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5105: RAISE fnd_api.g_exc_unexpected_error;
5106: END IF;

Line 5103: RAISE fnd_api.g_exc_error;

5099: , x_msg_data => x_msg_data
5100: , x_task_id => x_task_id
5101: );
5102: IF x_return_status = fnd_api.g_ret_sts_error THEN
5103: RAISE fnd_api.g_exc_error;
5104: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5105: RAISE fnd_api.g_exc_unexpected_error;
5106: END IF;
5107:

Line 5104: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

5100: , x_task_id => x_task_id
5101: );
5102: IF x_return_status = fnd_api.g_ret_sts_error THEN
5103: RAISE fnd_api.g_exc_error;
5104: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5105: RAISE fnd_api.g_exc_unexpected_error;
5106: END IF;
5107:
5108: l_task_id := x_task_id;

Line 5105: RAISE fnd_api.g_exc_unexpected_error;

5101: );
5102: IF x_return_status = fnd_api.g_ret_sts_error THEN
5103: RAISE fnd_api.g_exc_error;
5104: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5105: RAISE fnd_api.g_exc_unexpected_error;
5106: END IF;
5107:
5108: l_task_id := x_task_id;
5109:

Line 5112: IF fnd_api.to_boolean (p_commit) THEN

5108: l_task_id := x_task_id;
5109:
5110:
5111:
5112: IF fnd_api.to_boolean (p_commit) THEN
5113: COMMIT WORK;
5114: END IF;
5115:
5116: Exception

Line 5117: WHEN fnd_api.g_exc_error THEN

5113: COMMIT WORK;
5114: END IF;
5115:
5116: Exception
5117: WHEN fnd_api.g_exc_error THEN
5118: ROLLBACK TO csf_create_per_task;
5119: x_return_status := fnd_api.g_ret_sts_error;
5120: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5121: WHEN fnd_api.g_exc_unexpected_error THEN

Line 5119: x_return_status := fnd_api.g_ret_sts_error;

5115:
5116: Exception
5117: WHEN fnd_api.g_exc_error THEN
5118: ROLLBACK TO csf_create_per_task;
5119: x_return_status := fnd_api.g_ret_sts_error;
5120: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5121: WHEN fnd_api.g_exc_unexpected_error THEN
5122: ROLLBACK TO csf_create_per_task;
5123: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 5121: WHEN fnd_api.g_exc_unexpected_error THEN

5117: WHEN fnd_api.g_exc_error THEN
5118: ROLLBACK TO csf_create_per_task;
5119: x_return_status := fnd_api.g_ret_sts_error;
5120: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5121: WHEN fnd_api.g_exc_unexpected_error THEN
5122: ROLLBACK TO csf_create_per_task;
5123: x_return_status := fnd_api.g_ret_sts_unexp_error;
5124: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5125: WHEN OTHERS THEN

Line 5123: x_return_status := fnd_api.g_ret_sts_unexp_error;

5119: x_return_status := fnd_api.g_ret_sts_error;
5120: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5121: WHEN fnd_api.g_exc_unexpected_error THEN
5122: ROLLBACK TO csf_create_per_task;
5123: x_return_status := fnd_api.g_ret_sts_unexp_error;
5124: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5125: WHEN OTHERS THEN
5126: x_return_status := fnd_api.g_ret_sts_unexp_error;
5127: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 5126: x_return_status := fnd_api.g_ret_sts_unexp_error;

5122: ROLLBACK TO csf_create_per_task;
5123: x_return_status := fnd_api.g_ret_sts_unexp_error;
5124: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5125: WHEN OTHERS THEN
5126: x_return_status := fnd_api.g_ret_sts_unexp_error;
5127: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
5128: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
5129: END IF;
5130: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 5195: x_return_status := fnd_api.g_ret_sts_success;

5191: begin
5192:
5193: SAVEPOINT csf_update_per_task;
5194:
5195: x_return_status := fnd_api.g_ret_sts_success;
5196:
5197: IF fnd_api.to_boolean (p_init_msg_list) THEN
5198: fnd_msg_pub.initialize;
5199: END IF;

Line 5197: IF fnd_api.to_boolean (p_init_msg_list) THEN

5193: SAVEPOINT csf_update_per_task;
5194:
5195: x_return_status := fnd_api.g_ret_sts_success;
5196:
5197: IF fnd_api.to_boolean (p_init_msg_list) THEN
5198: fnd_msg_pub.initialize;
5199: END IF;
5200:
5201: open c_obj(p_task_id);

Line 5234: IF x_return_status = fnd_api.g_ret_sts_error THEN

5230: , x_msg_count => x_msg_count
5231: , x_msg_data => x_msg_data
5232: );
5233:
5234: IF x_return_status = fnd_api.g_ret_sts_error THEN
5235: RAISE fnd_api.g_exc_error;
5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5237: RAISE fnd_api.g_exc_unexpected_error;
5238: END IF;

Line 5235: RAISE fnd_api.g_exc_error;

5231: , x_msg_data => x_msg_data
5232: );
5233:
5234: IF x_return_status = fnd_api.g_ret_sts_error THEN
5235: RAISE fnd_api.g_exc_error;
5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5237: RAISE fnd_api.g_exc_unexpected_error;
5238: END IF;
5239:

Line 5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

5232: );
5233:
5234: IF x_return_status = fnd_api.g_ret_sts_error THEN
5235: RAISE fnd_api.g_exc_error;
5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5237: RAISE fnd_api.g_exc_unexpected_error;
5238: END IF;
5239:
5240: IF fnd_api.to_boolean (p_commit) THEN

Line 5237: RAISE fnd_api.g_exc_unexpected_error;

5233:
5234: IF x_return_status = fnd_api.g_ret_sts_error THEN
5235: RAISE fnd_api.g_exc_error;
5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5237: RAISE fnd_api.g_exc_unexpected_error;
5238: END IF;
5239:
5240: IF fnd_api.to_boolean (p_commit) THEN
5241: COMMIT WORK;

Line 5240: IF fnd_api.to_boolean (p_commit) THEN

5236: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5237: RAISE fnd_api.g_exc_unexpected_error;
5238: END IF;
5239:
5240: IF fnd_api.to_boolean (p_commit) THEN
5241: COMMIT WORK;
5242: END IF;
5243:
5244: Exception

Line 5245: WHEN fnd_api.g_exc_error THEN

5241: COMMIT WORK;
5242: END IF;
5243:
5244: Exception
5245: WHEN fnd_api.g_exc_error THEN
5246: ROLLBACK TO csf_update_per_task;
5247: x_return_status := fnd_api.g_ret_sts_error;
5248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5249: WHEN fnd_api.g_exc_unexpected_error THEN

Line 5247: x_return_status := fnd_api.g_ret_sts_error;

5243:
5244: Exception
5245: WHEN fnd_api.g_exc_error THEN
5246: ROLLBACK TO csf_update_per_task;
5247: x_return_status := fnd_api.g_ret_sts_error;
5248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5249: WHEN fnd_api.g_exc_unexpected_error THEN
5250: ROLLBACK TO csf_update_per_task;
5251: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 5249: WHEN fnd_api.g_exc_unexpected_error THEN

5245: WHEN fnd_api.g_exc_error THEN
5246: ROLLBACK TO csf_update_per_task;
5247: x_return_status := fnd_api.g_ret_sts_error;
5248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5249: WHEN fnd_api.g_exc_unexpected_error THEN
5250: ROLLBACK TO csf_update_per_task;
5251: x_return_status := fnd_api.g_ret_sts_unexp_error;
5252: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5253: WHEN OTHERS THEN

Line 5251: x_return_status := fnd_api.g_ret_sts_unexp_error;

5247: x_return_status := fnd_api.g_ret_sts_error;
5248: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5249: WHEN fnd_api.g_exc_unexpected_error THEN
5250: ROLLBACK TO csf_update_per_task;
5251: x_return_status := fnd_api.g_ret_sts_unexp_error;
5252: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5253: WHEN OTHERS THEN
5254: x_return_status := fnd_api.g_ret_sts_unexp_error;
5255: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 5254: x_return_status := fnd_api.g_ret_sts_unexp_error;

5250: ROLLBACK TO csf_update_per_task;
5251: x_return_status := fnd_api.g_ret_sts_unexp_error;
5252: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
5253: WHEN OTHERS THEN
5254: x_return_status := fnd_api.g_ret_sts_unexp_error;
5255: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
5256: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
5257: END IF;
5258: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;

5297: IF p_inst_flex_fld_tbl.l_flex_fl_table = 'CSI_ITEM_INSTANCES'
5298: THEN
5299: l_upd_instance_rec := csi_inv_trxs_pkg.init_instance_update_rec;
5300: l_upd_instance_rec.INSTANCE_ID := p_inst_flex_fld_tbl.l_instance_id;
5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;
5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;

Line 5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;

5298: THEN
5299: l_upd_instance_rec := csi_inv_trxs_pkg.init_instance_update_rec;
5300: l_upd_instance_rec.INSTANCE_ID := p_inst_flex_fld_tbl.l_instance_id;
5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;
5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;

Line 5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;

5299: l_upd_instance_rec := csi_inv_trxs_pkg.init_instance_update_rec;
5300: l_upd_instance_rec.INSTANCE_ID := p_inst_flex_fld_tbl.l_instance_id;
5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;
5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;

Line 5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;

5300: l_upd_instance_rec.INSTANCE_ID := p_inst_flex_fld_tbl.l_instance_id;
5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;
5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;

Line 5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;

5301: l_upd_instance_rec.INSTANCE_NUMBER := FND_API.G_MISS_CHAR;
5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;

Line 5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;

5302: l_upd_instance_rec.EXTERNAL_REFERENCE := FND_API.G_MISS_CHAR;
5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;

Line 5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;

5303: l_upd_instance_rec.INVENTORY_ITEM_ID := FND_API.G_MISS_NUM;
5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;

Line 5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;

5304: l_upd_instance_rec.VLD_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;

Line 5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;

5305: l_upd_instance_rec.INVENTORY_REVISION := FND_API.G_MISS_CHAR;
5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;

Line 5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;

5306: l_upd_instance_rec.INV_MASTER_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;

Line 5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;

5307: l_upd_instance_rec.SERIAL_NUMBER := FND_API.G_MISS_CHAR;
5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;

Line 5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;

5308: l_upd_instance_rec.MFG_SERIAL_NUMBER_FLAG := FND_API.G_MISS_CHAR;
5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;

Line 5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;

5309: l_upd_instance_rec.LOT_NUMBER := FND_API.G_MISS_CHAR;
5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;

Line 5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;

5310: l_upd_instance_rec.QUANTITY := FND_API.G_MISS_NUM;
5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;

Line 5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;

5311: l_upd_instance_rec.UNIT_OF_MEASURE := FND_API.G_MISS_CHAR;
5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;

Line 5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;

5312: l_upd_instance_rec.ACCOUNTING_CLASS_CODE := FND_API.G_MISS_CHAR;
5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;

Line 5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;

5313: l_upd_instance_rec.INSTANCE_CONDITION_ID := FND_API.G_MISS_NUM;
5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;

Line 5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;

5314: l_upd_instance_rec.INSTANCE_STATUS_ID := FND_API.G_MISS_NUM;
5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;

Line 5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;

5315: l_upd_instance_rec.CUSTOMER_VIEW_FLAG := FND_API.G_MISS_CHAR;
5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;

Line 5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;

5316: l_upd_instance_rec.MERCHANT_VIEW_FLAG := FND_API.G_MISS_CHAR;
5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;

Line 5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;

5317: l_upd_instance_rec.SELLABLE_FLAG := FND_API.G_MISS_CHAR;
5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;

Line 5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;

5318: l_upd_instance_rec.SYSTEM_ID := FND_API.G_MISS_NUM;
5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;

Line 5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;

5319: l_upd_instance_rec.INSTANCE_TYPE_CODE := FND_API.G_MISS_CHAR;
5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;

Line 5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;

5320: l_upd_instance_rec.ACTIVE_START_DATE := FND_API.G_MISS_DATE;
5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;

Line 5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;

5321: l_upd_instance_rec.ACTIVE_END_DATE := FND_API.G_MISS_DATE;
5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;

Line 5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;

5322: l_upd_instance_rec.LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;

Line 5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;

5323: l_upd_instance_rec.LOCATION_ID := FND_API.G_MISS_NUM;
5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;

Line 5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;

5324: l_upd_instance_rec.INV_ORGANIZATION_ID := FND_API.G_MISS_NUM;
5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;

Line 5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;

5325: l_upd_instance_rec.INV_SUBINVENTORY_NAME := FND_API.G_MISS_CHAR;
5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;

Line 5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;

5326: l_upd_instance_rec.INV_LOCATOR_ID := FND_API.G_MISS_NUM;
5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;

Line 5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;

5327: l_upd_instance_rec.PA_PROJECT_ID := FND_API.G_MISS_NUM;
5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;

Line 5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;

5328: l_upd_instance_rec.PA_PROJECT_TASK_ID := FND_API.G_MISS_NUM;
5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;

Line 5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;

5329: l_upd_instance_rec.IN_TRANSIT_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;

Line 5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;

5330: l_upd_instance_rec.WIP_JOB_ID := FND_API.G_MISS_NUM;
5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;

Line 5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;

5331: l_upd_instance_rec.PO_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;

Line 5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;

5332: l_upd_instance_rec.LAST_OE_ORDER_LINE_ID := FND_API.G_MISS_NUM;
5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;

Line 5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;

5333: l_upd_instance_rec.LAST_OE_RMA_LINE_ID := FND_API.G_MISS_NUM;
5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;

Line 5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;

5334: l_upd_instance_rec.LAST_PO_PO_LINE_ID := FND_API.G_MISS_NUM;
5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;

Line 5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;

5335: l_upd_instance_rec.LAST_OE_PO_NUMBER := FND_API.G_MISS_CHAR;
5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;

Line 5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;

5336: l_upd_instance_rec.LAST_WIP_JOB_ID := FND_API.G_MISS_NUM;
5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;

Line 5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;

5337: l_upd_instance_rec.LAST_PA_PROJECT_ID := FND_API.G_MISS_NUM;
5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;

Line 5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;

5338: l_upd_instance_rec.LAST_PA_TASK_ID := FND_API.G_MISS_NUM;
5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;

Line 5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;

5339: l_upd_instance_rec.LAST_OE_AGREEMENT_ID := FND_API.G_MISS_NUM;
5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;

Line 5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;

5340: l_upd_instance_rec.INSTALL_DATE := FND_API.G_MISS_DATE;
5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;

Line 5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;

5341: l_upd_instance_rec.MANUALLY_CREATED_FLAG := FND_API.G_MISS_CHAR;
5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;

Line 5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;

5342: l_upd_instance_rec.RETURN_BY_DATE := FND_API.G_MISS_DATE;
5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;

Line 5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;

5343: l_upd_instance_rec.ACTUAL_RETURN_DATE := FND_API.G_MISS_DATE;
5344: l_upd_instance_rec.CREATION_COMPLETE_FLAG := FND_API.G_MISS_CHAR;
5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;

Line 5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;

5345: l_upd_instance_rec.COMPLETENESS_FLAG := FND_API.G_MISS_CHAR;
5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;

Line 5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;

5346: l_upd_instance_rec.VERSION_LABEL := FND_API.G_MISS_CHAR;
5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;

Line 5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;

5347: l_upd_instance_rec.VERSION_LABEL_DESCRIPTION := FND_API.G_MISS_CHAR;
5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;

Line 5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;

5348: l_upd_instance_rec.OBJECT_VERSION_NUMBER := p_inst_flex_fld_tbl.l_obj_ver_number;
5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;

Line 5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;

5349: l_upd_instance_rec.LAST_TXN_LINE_DETAIL_ID := FND_API.G_MISS_NUM;
5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;

Line 5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;

5350: l_upd_instance_rec.INSTALL_LOCATION_TYPE_CODE := FND_API.G_MISS_CHAR;
5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;

Line 5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;

5351: l_upd_instance_rec.INSTALL_LOCATION_ID := FND_API.G_MISS_NUM;
5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;

Line 5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;

5352: l_upd_instance_rec.INSTANCE_USAGE_CODE := FND_API.G_MISS_CHAR;
5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;

Line 5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;

5353: l_upd_instance_rec.CHECK_FOR_INSTANCE_EXPIRY := FND_API.G_FALSE;
5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;

Line 5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;

5354: l_upd_instance_rec.PROCESSED_FLAG := FND_API.G_MISS_CHAR;
5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;

Line 5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;

5355: l_upd_instance_rec.CALL_CONTRACTS := FND_API.G_FALSE;
5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;

Line 5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;

5356: l_upd_instance_rec.INTERFACE_ID := FND_API.G_MISS_NUM;
5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;

Line 5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;

5357: l_upd_instance_rec.GRP_CALL_CONTRACTS := FND_API.G_FALSE;
5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;

Line 5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;

5358: l_upd_instance_rec.CONFIG_INST_HDR_ID := FND_API.G_MISS_NUM;
5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;

Line 5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;

5359: l_upd_instance_rec.CONFIG_INST_REV_NUM := FND_API.G_MISS_NUM;
5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;

Line 5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;

5360: l_upd_instance_rec.CONFIG_INST_ITEM_ID := FND_API.G_MISS_NUM;
5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;

Line 5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;

5361: l_upd_instance_rec.CONFIG_VALID_STATUS := FND_API.G_MISS_CHAR;
5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;

Line 5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;

5362: l_upd_instance_rec.INSTANCE_DESCRIPTION := FND_API.G_MISS_CHAR;
5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;

Line 5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;

5363: l_upd_instance_rec.CALL_BATCH_VALIDATION := FND_API.G_FALSE;
5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;

Line 5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;

5364: l_upd_instance_rec.REQUEST_ID := FND_API.G_MISS_NUM;
5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;

Line 5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;

5365: l_upd_instance_rec.PROGRAM_APPLICATION_ID := FND_API.G_MISS_NUM;
5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;

Line 5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;

5366: l_upd_instance_rec.PROGRAM_ID := FND_API.G_MISS_NUM;
5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;

Line 5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;

5367: l_upd_instance_rec.PROGRAM_UPDATE_DATE := FND_API.G_MISS_DATE;
5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;

Line 5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;

5368: l_upd_instance_rec.CASCADE_OWNERSHIP_FLAG := FND_API.G_MISS_CHAR;
5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;

Line 5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;

5369: l_upd_instance_rec.NETWORK_ASSET_FLAG := FND_API.G_MISS_CHAR;
5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;

Line 5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;

5370: l_upd_instance_rec.MAINTAINABLE_FLAG := FND_API.G_MISS_CHAR;
5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;

Line 5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;

5371: l_upd_instance_rec.PN_LOCATION_ID := FND_API.G_MISS_NUM;
5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;
5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;

Line 5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;

5372: l_upd_instance_rec.ASSET_CRITICALITY_CODE := FND_API.G_MISS_CHAR;
5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;
5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;
5380: l_upd_instance_rec.CONTEXT := p_inst_flex_fld_tbl.l_context ;

Line 5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;

5373: l_upd_instance_rec.CATEGORY_ID := FND_API.G_MISS_NUM;
5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;
5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;
5380: l_upd_instance_rec.CONTEXT := p_inst_flex_fld_tbl.l_context ;
5381: l_upd_instance_rec.ATTRIBUTE1 := p_inst_flex_fld_tbl.ATTRIBUTE1 ;

Line 5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;

5374: l_upd_instance_rec.EQUIPMENT_GEN_OBJECT_ID := FND_API.G_MISS_NUM;
5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;
5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;
5380: l_upd_instance_rec.CONTEXT := p_inst_flex_fld_tbl.l_context ;
5381: l_upd_instance_rec.ATTRIBUTE1 := p_inst_flex_fld_tbl.ATTRIBUTE1 ;
5382: l_upd_instance_rec.ATTRIBUTE2 := p_inst_flex_fld_tbl.ATTRIBUTE2 ;

Line 5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;

5375: l_upd_instance_rec.INSTANTIATION_FLAG := FND_API.G_MISS_CHAR;
5376: l_upd_instance_rec.LINEAR_LOCATION_ID := FND_API.G_MISS_NUM;
5377: l_upd_instance_rec.OPERATIONAL_LOG_FLAG := FND_API.G_MISS_CHAR;
5378: l_upd_instance_rec.CHECKIN_STATUS := FND_API.G_MISS_NUM;
5379: l_upd_instance_rec.SUPPLIER_WARRANTY_EXP_DATE := FND_API.G_MISS_DATE;
5380: l_upd_instance_rec.CONTEXT := p_inst_flex_fld_tbl.l_context ;
5381: l_upd_instance_rec.ATTRIBUTE1 := p_inst_flex_fld_tbl.ATTRIBUTE1 ;
5382: l_upd_instance_rec.ATTRIBUTE2 := p_inst_flex_fld_tbl.ATTRIBUTE2 ;
5383: l_upd_instance_rec.ATTRIBUTE3 := p_inst_flex_fld_tbl.ATTRIBUTE3 ;

Line 5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;

5407: l_upd_instance_rec.ATTRIBUTE27 := p_inst_flex_fld_tbl.ATTRIBUTE27;
5408: l_upd_instance_rec.ATTRIBUTE28 := p_inst_flex_fld_tbl.ATTRIBUTE28;
5409: l_upd_instance_rec.ATTRIBUTE29 := p_inst_flex_fld_tbl.ATTRIBUTE29;
5410: l_upd_instance_rec.ATTRIBUTE30 := p_inst_flex_fld_tbl.ATTRIBUTE30;
5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;
5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;

Line 5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;

5408: l_upd_instance_rec.ATTRIBUTE28 := p_inst_flex_fld_tbl.ATTRIBUTE28;
5409: l_upd_instance_rec.ATTRIBUTE29 := p_inst_flex_fld_tbl.ATTRIBUTE29;
5410: l_upd_instance_rec.ATTRIBUTE30 := p_inst_flex_fld_tbl.ATTRIBUTE30;
5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;
5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;

Line 5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;

5409: l_upd_instance_rec.ATTRIBUTE29 := p_inst_flex_fld_tbl.ATTRIBUTE29;
5410: l_upd_instance_rec.ATTRIBUTE30 := p_inst_flex_fld_tbl.ATTRIBUTE30;
5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;
5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;

Line 5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;

5410: l_upd_instance_rec.ATTRIBUTE30 := p_inst_flex_fld_tbl.ATTRIBUTE30;
5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;
5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;

Line 5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;

5411: l_upd_instance_rec.PURCHASE_UNIT_PRICE := FND_API.G_MISS_NUM;
5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;

Line 5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;

5412: l_upd_instance_rec.PURCHASE_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;

Line 5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;

5413: l_upd_instance_rec.PAYABLES_UNIT_PRICE := FND_API.G_MISS_NUM;
5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;

Line 5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;

5414: l_upd_instance_rec.PAYABLES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;

Line 5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;

5415: l_upd_instance_rec.SALES_UNIT_PRICE := FND_API.G_MISS_NUM;
5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;
5423:

Line 5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;

5416: l_upd_instance_rec.SALES_CURRENCY_CODE := FND_API.G_MISS_CHAR;
5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;
5423:
5424: l_transaction_rec.transaction_id := FND_API.G_MISS_NUM ;

Line 5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;

5417: l_upd_instance_rec.OPERATIONAL_STATUS_CODE := FND_API.G_MISS_CHAR;
5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;
5423:
5424: l_transaction_rec.transaction_id := FND_API.G_MISS_NUM ;
5425: l_transaction_rec.transaction_date := sysdate;

Line 5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;

5418: l_upd_instance_rec.DEPARTMENT_ID := fnd_api.g_miss_num;
5419: l_upd_instance_rec.WIP_ACCOUNTING_CLASS := fnd_api.g_miss_char;
5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;
5423:
5424: l_transaction_rec.transaction_id := FND_API.G_MISS_NUM ;
5425: l_transaction_rec.transaction_date := sysdate;
5426: l_transaction_rec.SOURCE_TRANSACTION_DATE := sysdate;

Line 5424: l_transaction_rec.transaction_id := FND_API.G_MISS_NUM ;

5420: l_upd_instance_rec.AREA_ID := fnd_api.g_miss_num;
5421: l_upd_instance_rec.OWNER_PARTY_ID := fnd_api.g_miss_num;
5422: l_upd_instance_rec.SOURCE_CODE := FND_API.G_MISS_CHAR;
5423:
5424: l_transaction_rec.transaction_id := FND_API.G_MISS_NUM ;
5425: l_transaction_rec.transaction_date := sysdate;
5426: l_transaction_rec.SOURCE_TRANSACTION_DATE := sysdate;
5427: l_transaction_rec.transaction_type_id := 55; -- this is transaction id for FIELD SERVICE IN csi_transactions
5428: l_transaction_rec.object_version_number := 1;

Line 5433: ,p_commit => fnd_api.g_false

5429:
5430: csi_item_instance_pub.update_item_instance
5431: (
5432: p_api_version => 1.0
5433: ,p_commit => fnd_api.g_false
5434: ,p_init_msg_list => fnd_api.g_true
5435: ,p_validation_level => fnd_api.G_VALID_LEVEL_NONE
5436: ,p_instance_rec => l_upd_instance_rec
5437: ,p_ext_attrib_values_tbl => l_out_extend_attrib_values_tbl

Line 5434: ,p_init_msg_list => fnd_api.g_true

5430: csi_item_instance_pub.update_item_instance
5431: (
5432: p_api_version => 1.0
5433: ,p_commit => fnd_api.g_false
5434: ,p_init_msg_list => fnd_api.g_true
5435: ,p_validation_level => fnd_api.G_VALID_LEVEL_NONE
5436: ,p_instance_rec => l_upd_instance_rec
5437: ,p_ext_attrib_values_tbl => l_out_extend_attrib_values_tbl
5438: ,p_party_tbl => l_out_party_tbl

Line 5435: ,p_validation_level => fnd_api.G_VALID_LEVEL_NONE

5431: (
5432: p_api_version => 1.0
5433: ,p_commit => fnd_api.g_false
5434: ,p_init_msg_list => fnd_api.g_true
5435: ,p_validation_level => fnd_api.G_VALID_LEVEL_NONE
5436: ,p_instance_rec => l_upd_instance_rec
5437: ,p_ext_attrib_values_tbl => l_out_extend_attrib_values_tbl
5438: ,p_party_tbl => l_out_party_tbl
5439: ,p_account_tbl => l_out_party_account_tbl

Line 5449: IF p_return_status = fnd_api.g_ret_sts_success

5445: ,x_return_status => p_return_status
5446: ,x_msg_count => p_msg_count
5447: ,x_msg_data => p_msg_data
5448: );
5449: IF p_return_status = fnd_api.g_ret_sts_success
5450: THEN
5451: OPEN c_instance_obj(l_upd_instance_rec.INSTANCE_ID);
5452: FETCH c_instance_obj INTO p_obj_ver_no;
5453: CLOSE c_instance_obj;

Line 5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);

5456: ELSIF p_inst_flex_fld_tbl.l_flex_fl_table = 'HZ_PARTIES'
5457: THEN
5458: l_party_update_rec.party_id := p_inst_flex_fld_tbl.l_party_id ;
5459: l_org_update_rec.party_rec := l_party_update_rec;
5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);
5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);

Line 5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);

5457: THEN
5458: l_party_update_rec.party_id := p_inst_flex_fld_tbl.l_party_id ;
5459: l_org_update_rec.party_rec := l_party_update_rec;
5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);
5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);

Line 5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);

5458: l_party_update_rec.party_id := p_inst_flex_fld_tbl.l_party_id ;
5459: l_org_update_rec.party_rec := l_party_update_rec;
5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);
5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);

Line 5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);

5459: l_org_update_rec.party_rec := l_party_update_rec;
5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);
5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);

Line 5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);

5460: l_org_update_rec.party_rec.Attribute_Category := NVL( p_inst_flex_fld_tbl.l_att_catogary , FND_API.G_MISS_CHAR);
5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);

Line 5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);

5461: l_org_update_rec.party_rec.Attribute1 := NVL( p_inst_flex_fld_tbl.Attribute1 , FND_API.G_MISS_CHAR);
5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:

Line 5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);

5462: l_org_update_rec.party_rec.Attribute2 := NVL( p_inst_flex_fld_tbl.Attribute2 , FND_API.G_MISS_CHAR);
5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);

Line 5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);

5463: l_org_update_rec.party_rec.Attribute3 := NVL( p_inst_flex_fld_tbl.Attribute3 , FND_API.G_MISS_CHAR);
5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);

Line 5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);

5464: l_org_update_rec.party_rec.Attribute4 := NVL( p_inst_flex_fld_tbl.Attribute4 , FND_API.G_MISS_CHAR);
5465: l_org_update_rec.party_rec.Attribute5 := NVL( p_inst_flex_fld_tbl.Attribute5 , FND_API.G_MISS_CHAR);
5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);

Line 5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);

5466: l_org_update_rec.party_rec.Attribute6 := NVL( p_inst_flex_fld_tbl.Attribute6 , FND_API.G_MISS_CHAR);
5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);

Line 5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);

5467: l_org_update_rec.party_rec.Attribute7 := NVL( p_inst_flex_fld_tbl.Attribute7 , FND_API.G_MISS_CHAR);
5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);

Line 5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);

5468: l_org_update_rec.party_rec.Attribute8 := NVL( p_inst_flex_fld_tbl.Attribute8 , FND_API.G_MISS_CHAR);
5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);

Line 5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);

5469:
5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);

Line 5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);

5470: l_org_update_rec.party_rec.Attribute9 := NVL( p_inst_flex_fld_tbl.Attribute9 , FND_API.G_MISS_CHAR);
5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);

Line 5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);

5471: l_org_update_rec.party_rec.Attribute10 := NVL( p_inst_flex_fld_tbl.Attribute10 , FND_API.G_MISS_CHAR);
5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);

Line 5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);

5472: l_org_update_rec.party_rec.Attribute11 := NVL( p_inst_flex_fld_tbl.Attribute11 , FND_API.G_MISS_CHAR);
5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);

Line 5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);

5473: l_org_update_rec.party_rec.Attribute12 := NVL( p_inst_flex_fld_tbl.Attribute12 , FND_API.G_MISS_CHAR);
5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:

Line 5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);

5474: l_org_update_rec.party_rec.Attribute13 := NVL( p_inst_flex_fld_tbl.Attribute13 , FND_API.G_MISS_CHAR);
5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);

Line 5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);

5475: l_org_update_rec.party_rec.Attribute14 := NVL( p_inst_flex_fld_tbl.Attribute14 , FND_API.G_MISS_CHAR);
5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);

Line 5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);

5476: l_org_update_rec.party_rec.Attribute15 := NVL( p_inst_flex_fld_tbl.Attribute15 , FND_API.G_MISS_CHAR);
5477: l_org_update_rec.party_rec.Attribute16 := NVL( p_inst_flex_fld_tbl.Attribute16 , FND_API.G_MISS_CHAR);
5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);

Line 5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);

5478: l_org_update_rec.party_rec.Attribute17 := NVL( p_inst_flex_fld_tbl.Attribute17 , FND_API.G_MISS_CHAR);
5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);
5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);

Line 5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);

5479: l_org_update_rec.party_rec.Attribute18 := NVL( p_inst_flex_fld_tbl.Attribute18 , FND_API.G_MISS_CHAR);
5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);
5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);
5487: l_party_object_version_number := p_inst_flex_fld_tbl.l_obj_ver_number;

Line 5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);

5480: l_org_update_rec.party_rec.Attribute19 := NVL( p_inst_flex_fld_tbl.Attribute19 , FND_API.G_MISS_CHAR);
5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);
5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);
5487: l_party_object_version_number := p_inst_flex_fld_tbl.l_obj_ver_number;
5488:

Line 5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);

5481:
5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);
5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);
5487: l_party_object_version_number := p_inst_flex_fld_tbl.l_obj_ver_number;
5488:
5489: HZ_PARTY_V2PUB.update_Organization( p_init_msg_list => fnd_api.g_true,

Line 5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);

5482: l_org_update_rec.party_rec.Attribute20 := NVL( p_inst_flex_fld_tbl.Attribute20 , FND_API.G_MISS_CHAR);
5483: l_org_update_rec.party_rec.Attribute21 := NVL( p_inst_flex_fld_tbl.Attribute21 , FND_API.G_MISS_CHAR);
5484: l_org_update_rec.party_rec.Attribute22 := NVL( p_inst_flex_fld_tbl.Attribute22 , FND_API.G_MISS_CHAR);
5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);
5487: l_party_object_version_number := p_inst_flex_fld_tbl.l_obj_ver_number;
5488:
5489: HZ_PARTY_V2PUB.update_Organization( p_init_msg_list => fnd_api.g_true,
5490: x_return_status => p_return_status,

Line 5489: HZ_PARTY_V2PUB.update_Organization( p_init_msg_list => fnd_api.g_true,

5485: l_org_update_rec.party_rec.Attribute23 := NVL( p_inst_flex_fld_tbl.Attribute23 , FND_API.G_MISS_CHAR);
5486: l_org_update_rec.party_rec.Attribute24 := NVL( p_inst_flex_fld_tbl.Attribute24 , FND_API.G_MISS_CHAR);
5487: l_party_object_version_number := p_inst_flex_fld_tbl.l_obj_ver_number;
5488:
5489: HZ_PARTY_V2PUB.update_Organization( p_init_msg_list => fnd_api.g_true,
5490: x_return_status => p_return_status,
5491: x_msg_count => p_msg_count,
5492: x_msg_data => p_msg_data,
5493: x_profile_id => l_profile_id,

Line 5498: IF p_return_status = fnd_api.g_ret_sts_success

5494: p_organization_rec => l_org_update_rec,
5495: p_party_object_version_number => l_party_object_version_number
5496: );
5497:
5498: IF p_return_status = fnd_api.g_ret_sts_success
5499: THEN
5500: p_obj_ver_no := l_party_object_version_number;
5501: END IF;
5502:

Line 5505: IF p_return_status = fnd_api.g_ret_sts_error THEN

5501: END IF;
5502:
5503: END IF;
5504:
5505: IF p_return_status = fnd_api.g_ret_sts_error THEN
5506: RAISE fnd_api.g_exc_error;
5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN
5508: RAISE fnd_api.g_exc_unexpected_error;
5509: END IF;

Line 5506: RAISE fnd_api.g_exc_error;

5502:
5503: END IF;
5504:
5505: IF p_return_status = fnd_api.g_ret_sts_error THEN
5506: RAISE fnd_api.g_exc_error;
5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN
5508: RAISE fnd_api.g_exc_unexpected_error;
5509: END IF;
5510: EXCEPTION

Line 5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN

5503: END IF;
5504:
5505: IF p_return_status = fnd_api.g_ret_sts_error THEN
5506: RAISE fnd_api.g_exc_error;
5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN
5508: RAISE fnd_api.g_exc_unexpected_error;
5509: END IF;
5510: EXCEPTION
5511: WHEN fnd_api.g_exc_error THEN

Line 5508: RAISE fnd_api.g_exc_unexpected_error;

5504:
5505: IF p_return_status = fnd_api.g_ret_sts_error THEN
5506: RAISE fnd_api.g_exc_error;
5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN
5508: RAISE fnd_api.g_exc_unexpected_error;
5509: END IF;
5510: EXCEPTION
5511: WHEN fnd_api.g_exc_error THEN
5512: ROLLBACK TO set_desc_field_attr;

Line 5511: WHEN fnd_api.g_exc_error THEN

5507: ELSIF p_return_status = fnd_api.g_ret_sts_unexp_error THEN
5508: RAISE fnd_api.g_exc_unexpected_error;
5509: END IF;
5510: EXCEPTION
5511: WHEN fnd_api.g_exc_error THEN
5512: ROLLBACK TO set_desc_field_attr;
5513: p_return_status := fnd_api.g_ret_sts_error;
5514: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5515:

Line 5513: p_return_status := fnd_api.g_ret_sts_error;

5509: END IF;
5510: EXCEPTION
5511: WHEN fnd_api.g_exc_error THEN
5512: ROLLBACK TO set_desc_field_attr;
5513: p_return_status := fnd_api.g_ret_sts_error;
5514: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5515:
5516: WHEN fnd_api.g_exc_unexpected_error THEN
5517: ROLLBACK TO set_desc_field_attr;

Line 5516: WHEN fnd_api.g_exc_unexpected_error THEN

5512: ROLLBACK TO set_desc_field_attr;
5513: p_return_status := fnd_api.g_ret_sts_error;
5514: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5515:
5516: WHEN fnd_api.g_exc_unexpected_error THEN
5517: ROLLBACK TO set_desc_field_attr;
5518: p_return_status := fnd_api.g_ret_sts_unexp_error;
5519: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5520:

Line 5518: p_return_status := fnd_api.g_ret_sts_unexp_error;

5514: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5515:
5516: WHEN fnd_api.g_exc_unexpected_error THEN
5517: ROLLBACK TO set_desc_field_attr;
5518: p_return_status := fnd_api.g_ret_sts_unexp_error;
5519: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5520:
5521: WHEN OTHERS THEN
5522: ROLLBACK TO set_desc_field_attr;

Line 5523: p_return_status := fnd_api.g_ret_sts_unexp_error;

5519: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);
5520:
5521: WHEN OTHERS THEN
5522: ROLLBACK TO set_desc_field_attr;
5523: p_return_status := fnd_api.g_ret_sts_unexp_error;
5524: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
5525: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
5526: END IF;
5527: fnd_msg_pub.count_and_get (p_count => p_msg_count, p_data => p_msg_data);

Line 5572: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN

5568: -- Standard start of API savepoint
5569: SAVEPOINT update_task_attr;
5570:
5571: -- Standard call to check for call compatibility
5572: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
5573: RAISE fnd_api.g_exc_unexpected_error;
5574: END IF;
5575:
5576: -- Initialize message list if p_init_msg_list is set to TRUE

Line 5573: RAISE fnd_api.g_exc_unexpected_error;

5569: SAVEPOINT update_task_attr;
5570:
5571: -- Standard call to check for call compatibility
5572: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version, l_api_name, g_pkg_name) THEN
5573: RAISE fnd_api.g_exc_unexpected_error;
5574: END IF;
5575:
5576: -- Initialize message list if p_init_msg_list is set to TRUE
5577: IF fnd_api.to_boolean (p_init_msg_list) THEN

Line 5577: IF fnd_api.to_boolean (p_init_msg_list) THEN

5573: RAISE fnd_api.g_exc_unexpected_error;
5574: END IF;
5575:
5576: -- Initialize message list if p_init_msg_list is set to TRUE
5577: IF fnd_api.to_boolean (p_init_msg_list) THEN
5578: fnd_msg_pub.initialize;
5579: END IF;
5580:
5581: -- Initialize API return status to success

Line 5582: x_return_status := fnd_api.g_ret_sts_success;

5578: fnd_msg_pub.initialize;
5579: END IF;
5580:
5581: -- Initialize API return status to success
5582: x_return_status := fnd_api.g_ret_sts_success;
5583:
5584: -- Update the Task with the new Task Status Information
5585: jtf_tasks_pub.update_task (
5586: p_api_version => 1.0

Line 5617: IF x_return_status = fnd_api.g_ret_sts_error THEN

5613: , P_ATTRIBUTE15 => ATTRIBUTE15
5614: , P_ATTRIBUTE_CATEGORY => ATTRIBUTE_CATEGORY
5615: );
5616:
5617: IF x_return_status = fnd_api.g_ret_sts_error THEN
5618: RAISE fnd_api.g_exc_error;
5619: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5620: RAISE fnd_api.g_exc_unexpected_error;
5621: END IF;

Line 5618: RAISE fnd_api.g_exc_error;

5614: , P_ATTRIBUTE_CATEGORY => ATTRIBUTE_CATEGORY
5615: );
5616:
5617: IF x_return_status = fnd_api.g_ret_sts_error THEN
5618: RAISE fnd_api.g_exc_error;
5619: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5620: RAISE fnd_api.g_exc_unexpected_error;
5621: END IF;
5622:

Line 5619: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

5615: );
5616:
5617: IF x_return_status = fnd_api.g_ret_sts_error THEN
5618: RAISE fnd_api.g_exc_error;
5619: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5620: RAISE fnd_api.g_exc_unexpected_error;
5621: END IF;
5622:
5623: -- Standard check of p_commit

Line 5620: RAISE fnd_api.g_exc_unexpected_error;

5616:
5617: IF x_return_status = fnd_api.g_ret_sts_error THEN
5618: RAISE fnd_api.g_exc_error;
5619: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5620: RAISE fnd_api.g_exc_unexpected_error;
5621: END IF;
5622:
5623: -- Standard check of p_commit
5624: IF fnd_api.to_boolean (p_commit) THEN

Line 5624: IF fnd_api.to_boolean (p_commit) THEN

5620: RAISE fnd_api.g_exc_unexpected_error;
5621: END IF;
5622:
5623: -- Standard check of p_commit
5624: IF fnd_api.to_boolean (p_commit) THEN
5625: null;
5626: END IF;
5627:
5628: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 5630: WHEN fnd_api.g_exc_error THEN

5626: END IF;
5627:
5628: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5629: EXCEPTION
5630: WHEN fnd_api.g_exc_error THEN
5631: ROLLBACK TO update_task_attr;
5632: x_return_status := fnd_api.g_ret_sts_error;
5633: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5634: WHEN fnd_api.g_exc_unexpected_error THEN

Line 5632: x_return_status := fnd_api.g_ret_sts_error;

5628: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5629: EXCEPTION
5630: WHEN fnd_api.g_exc_error THEN
5631: ROLLBACK TO update_task_attr;
5632: x_return_status := fnd_api.g_ret_sts_error;
5633: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5634: WHEN fnd_api.g_exc_unexpected_error THEN
5635: ROLLBACK TO update_task_attr;
5636: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 5634: WHEN fnd_api.g_exc_unexpected_error THEN

5630: WHEN fnd_api.g_exc_error THEN
5631: ROLLBACK TO update_task_attr;
5632: x_return_status := fnd_api.g_ret_sts_error;
5633: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5634: WHEN fnd_api.g_exc_unexpected_error THEN
5635: ROLLBACK TO update_task_attr;
5636: x_return_status := fnd_api.g_ret_sts_unexp_error;
5637: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5638: WHEN OTHERS THEN

Line 5636: x_return_status := fnd_api.g_ret_sts_unexp_error;

5632: x_return_status := fnd_api.g_ret_sts_error;
5633: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5634: WHEN fnd_api.g_exc_unexpected_error THEN
5635: ROLLBACK TO update_task_attr;
5636: x_return_status := fnd_api.g_ret_sts_unexp_error;
5637: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5638: WHEN OTHERS THEN
5639: x_return_status := fnd_api.g_ret_sts_unexp_error;
5640: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 5639: x_return_status := fnd_api.g_ret_sts_unexp_error;

5635: ROLLBACK TO update_task_attr;
5636: x_return_status := fnd_api.g_ret_sts_unexp_error;
5637: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
5638: WHEN OTHERS THEN
5639: x_return_status := fnd_api.g_ret_sts_unexp_error;
5640: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error) THEN
5641: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
5642: END IF;
5643: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 5731: x_return_status := fnd_api.g_ret_sts_success;

5727:
5728: --end of cursor added access hours validation
5729:
5730: BEGIN
5731: x_return_status := fnd_api.g_ret_sts_success;
5732: l_auto_acc_hrs := fnd_profile.value('CSF_AUTO_POPULATE_ACCESS_HRS');
5733: /*
5734: 1) Check if access hours setups are done for the location
5735: 2) Else, check if access hours setups are done for the ct + ct site combination

Line 5835: IF x_return_status = fnd_api.g_ret_sts_error THEN

5831: /*fnd_message.set_name('CSF','CSF_TASK_ACC_UPDATE_ERROR');
5832: fnd_message.set_token('VALUE',l_task_dtls.task_number);
5833: fnd_msg_pub.add;
5834: Add_Err_Msg;*/
5835: IF x_return_status = fnd_api.g_ret_sts_error THEN
5836: RAISE fnd_api.g_exc_error;
5837: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5838: RAISE fnd_api.g_exc_unexpected_error;
5839: END IF;

Line 5836: RAISE fnd_api.g_exc_error;

5832: fnd_message.set_token('VALUE',l_task_dtls.task_number);
5833: fnd_msg_pub.add;
5834: Add_Err_Msg;*/
5835: IF x_return_status = fnd_api.g_ret_sts_error THEN
5836: RAISE fnd_api.g_exc_error;
5837: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5838: RAISE fnd_api.g_exc_unexpected_error;
5839: END IF;
5840: END IF;

Line 5837: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN

5833: fnd_msg_pub.add;
5834: Add_Err_Msg;*/
5835: IF x_return_status = fnd_api.g_ret_sts_error THEN
5836: RAISE fnd_api.g_exc_error;
5837: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5838: RAISE fnd_api.g_exc_unexpected_error;
5839: END IF;
5840: END IF;
5841: /* VAKULKAR - end - changes to associate access hours to the tasks */

Line 5838: RAISE fnd_api.g_exc_unexpected_error;

5834: Add_Err_Msg;*/
5835: IF x_return_status = fnd_api.g_ret_sts_error THEN
5836: RAISE fnd_api.g_exc_error;
5837: ELSIF x_return_status = fnd_api.g_ret_sts_unexp_error THEN
5838: RAISE fnd_api.g_exc_unexpected_error;
5839: END IF;
5840: END IF;
5841: /* VAKULKAR - end - changes to associate access hours to the tasks */
5842: END IF;-- This end if is for l_auto_acc_hrs check

Line 5884: IF l_dc_task = fnd_api.g_true

5880: open c_task_type;
5881: fetch c_task_type into l_task_type;
5882: close c_task_type;
5883: l_dc_task := csf_tasks_pub.has_field_service_rule(l_task_type);
5884: IF l_dc_task = fnd_api.g_true
5885: THEN
5886: csf_tasks_pub.CREATE_ACC_HRS(
5887: p_task_id => l_task_id
5888: , x_return_status => l_return_status

Line 5892: IF NOT(l_return_status = fnd_api.g_ret_sts_success)

5888: , x_return_status => l_return_status
5889: , x_msg_count => l_msg_count
5890: , x_msg_data => l_msg_data
5891: );
5892: IF NOT(l_return_status = fnd_api.g_ret_sts_success)
5893: THEN
5894: l_return_status := fnd_api.g_ret_sts_unexp_error;
5895: RAISE fnd_api.g_exc_unexpected_error;
5896: END IF;

Line 5894: l_return_status := fnd_api.g_ret_sts_unexp_error;

5890: , x_msg_data => l_msg_data
5891: );
5892: IF NOT(l_return_status = fnd_api.g_ret_sts_success)
5893: THEN
5894: l_return_status := fnd_api.g_ret_sts_unexp_error;
5895: RAISE fnd_api.g_exc_unexpected_error;
5896: END IF;
5897: END IF;
5898: END IF;

Line 5895: RAISE fnd_api.g_exc_unexpected_error;

5891: );
5892: IF NOT(l_return_status = fnd_api.g_ret_sts_success)
5893: THEN
5894: l_return_status := fnd_api.g_ret_sts_unexp_error;
5895: RAISE fnd_api.g_exc_unexpected_error;
5896: END IF;
5897: END IF;
5898: END IF;
5899: x_return_status := nvl( l_return_status

Line 5900: ,fnd_api.g_ret_sts_success );

5896: END IF;
5897: END IF;
5898: END IF;
5899: x_return_status := nvl( l_return_status
5900: ,fnd_api.g_ret_sts_success );
5901: EXCEPTION
5902: WHEN fnd_api.g_exc_unexpected_error THEN
5903: ROLLBACK TO create_achrs_s;
5904: x_return_status := fnd_api.g_ret_sts_unexp_error;

Line 5902: WHEN fnd_api.g_exc_unexpected_error THEN

5898: END IF;
5899: x_return_status := nvl( l_return_status
5900: ,fnd_api.g_ret_sts_success );
5901: EXCEPTION
5902: WHEN fnd_api.g_exc_unexpected_error THEN
5903: ROLLBACK TO create_achrs_s;
5904: x_return_status := fnd_api.g_ret_sts_unexp_error;
5905: if fnd_msg_pub.check_msg_level ( fnd_msg_pub.g_msg_lvl_unexp_error )
5906: then

Line 5904: x_return_status := fnd_api.g_ret_sts_unexp_error;

5900: ,fnd_api.g_ret_sts_success );
5901: EXCEPTION
5902: WHEN fnd_api.g_exc_unexpected_error THEN
5903: ROLLBACK TO create_achrs_s;
5904: x_return_status := fnd_api.g_ret_sts_unexp_error;
5905: if fnd_msg_pub.check_msg_level ( fnd_msg_pub.g_msg_lvl_unexp_error )
5906: then
5907: fnd_msg_pub.add_exc_msg ( g_pkg_name, l_api_name );
5908: end if;

Line 5911: x_return_status := fnd_api.g_ret_sts_unexp_error;

5907: fnd_msg_pub.add_exc_msg ( g_pkg_name, l_api_name );
5908: end if;
5909: WHEN OTHERS THEN
5910: ROLLBACK TO create_achrs_s;
5911: x_return_status := fnd_api.g_ret_sts_unexp_error;
5912: if fnd_msg_pub.check_msg_level ( fnd_msg_pub.g_msg_lvl_unexp_error )
5913: then
5914: fnd_msg_pub.add_exc_msg ( g_pkg_name, l_api_name );
5915: end if;