DBA Data[Home] [Help]

APPS.GMS_BUDGET_CORE dependencies on GMS_BUDGET_UTILS

Line 395: -- This call is repeated in GMS_BUDGET_UTILS.Verify_Budget_Rules

391:
392: x_created_by := FND_GLOBAL.USER_ID;
393: x_last_update_login := FND_GLOBAL.LOGIN_ID;
394:
395: -- This call is repeated in GMS_BUDGET_UTILS.Verify_Budget_Rules
396: -- as the APIs call that procedure. Using v_emp_id eliminates join
397: -- to fnd_user while inserting record in gms_budget_versions
398:
399: v_emp_id := PA_UTILS.GetEmpIdFromUser(x_created_by );

Line 438: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.Verify_Budget_Rules - Baseline','C');

434: IF ( x_verify_budget_rules = 'Y' )
435: THEN
436:
437: IF L_DEBUG = 'Y' THEN
438: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.Verify_Budget_Rules - Baseline','C');
439: END IF;
440:
441: GMS_BUDGET_UTILS.Verify_Budget_Rules
442: (p_draft_version_id => x_draft_version_id

Line 441: GMS_BUDGET_UTILS.Verify_Budget_Rules

437: IF L_DEBUG = 'Y' THEN
438: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.Verify_Budget_Rules - Baseline','C');
439: END IF;
440:
441: GMS_BUDGET_UTILS.Verify_Budget_Rules
442: (p_draft_version_id => x_draft_version_id
443: , p_mark_as_original => x_mark_as_original
444: , p_event => 'BASELINE'
445: , p_project_id => x_project_id

Line 480: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.get_baselined_version_id','C');

476: -- End R11 rewrite
477: -- ----------------------------------------------------------------------------------
478:
479: IF L_DEBUG = 'Y' THEN
480: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.get_baselined_version_id','C');
481: END IF;
482:
483: GMS_BUDGET_UTILS.get_baselined_version_id(x_project_id,
484: x_award_id,

Line 483: GMS_BUDGET_UTILS.get_baselined_version_id(x_project_id,

479: IF L_DEBUG = 'Y' THEN
480: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling GMS_BUDGET_UTILS.get_baselined_version_id','C');
481: END IF;
482:
483: GMS_BUDGET_UTILS.get_baselined_version_id(x_project_id,
484: x_award_id,
485: x_budget_type_code,
486: x_baselined_version_id,
487: x_err_code,

Line 493: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_code : '||x_err_code ,'C');

489: x_err_stack);
490:
491: if (x_err_code < 0) then
492: IF L_DEBUG = 'Y' THEN
493: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_code : '||x_err_code ,'C');
494: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_stage : '||x_err_stage ,'C');
495: END IF;
496:
497: rollback to before_baseline;

Line 494: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_stage : '||x_err_stage ,'C');

490:
491: if (x_err_code < 0) then
492: IF L_DEBUG = 'Y' THEN
493: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_code : '||x_err_code ,'C');
494: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Call to GMS_BUDGET_UTILS.get_baselined_version_id returned x_err_stage : '||x_err_stage ,'C');
495: END IF;
496:
497: rollback to before_baseline;
498: return;

Line 775: -- Added call to GMS_BUDGET_UTILS.get_valid_period_dates() for Bug:2592747

771:
772: if (x_time_phased_type_code = 'N')
773: and (x_entry_level_code = 'P') then -- Project Level
774:
775: -- Added call to GMS_BUDGET_UTILS.get_valid_period_dates() for Bug:2592747
776:
777: IF L_DEBUG = 'Y' THEN
778: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');
779: END IF;

Line 778: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');

774:
775: -- Added call to GMS_BUDGET_UTILS.get_valid_period_dates() for Bug:2592747
776:
777: IF L_DEBUG = 'Y' THEN
778: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');
779: END IF;
780:
781: gms_budget_utils.get_valid_period_dates(
782: x_err_code => x_err_code,

Line 781: gms_budget_utils.get_valid_period_dates(

777: IF L_DEBUG = 'Y' THEN
778: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');
779: END IF;
780:
781: gms_budget_utils.get_valid_period_dates(
782: x_err_code => x_err_code,
783: x_err_stage => x_err_stage,
784: p_project_id => x_project_id,
785: p_task_id => NULL,

Line 833: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');

829: from pa_projects_all
830: where project_id = x_project_id;
831:
832: IF L_DEBUG = 'Y' THEN
833: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates','C');
834: END IF;
835:
836: for b1_rec in (select t.task_id, resource_assignment_id
837: from pa_tasks t , gms_resource_assignments r

Line 841: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747

837: from pa_tasks t , gms_resource_assignments r
838: where t.task_id = r.task_id
839: and r.budget_version_id = x_dest_version_id) loop
840:
841: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747
842:
843: gms_budget_utils.get_valid_period_dates(
844: x_err_code => x_err_code,
845: x_err_stage => x_err_stage,

Line 843: gms_budget_utils.get_valid_period_dates(

839: and r.budget_version_id = x_dest_version_id) loop
840:
841: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747
842:
843: gms_budget_utils.get_valid_period_dates(
844: x_err_code => x_err_code,
845: x_err_stage => x_err_stage,
846: p_project_id => x_project_id,
847: p_task_id => b1_rec.task_id,

Line 877: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates for draft version','C');

873:
874: end loop;
875:
876: IF L_DEBUG = 'Y' THEN
877: gms_error_pkg.gms_debug('GMS_BUDGET_CORE.BASELINE- Calling gms_budget_utils.get_valid_period_dates for draft version','C');
878: END IF;
879:
880: --following loop is for draft version
881: for b2_rec in (select t.task_id, resource_assignment_id

Line 886: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747

882: from pa_tasks t , gms_resource_assignments r
883: where t.task_id = r.task_id
884: and r.budget_version_id = x_draft_version_id) loop
885:
886: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747
887:
888: gms_budget_utils.get_valid_period_dates(
889: x_err_code => x_err_code,
890: x_err_stage => x_err_stage,

Line 888: gms_budget_utils.get_valid_period_dates(

884: and r.budget_version_id = x_draft_version_id) loop
885:
886: -- Added the call to gms_budget_utils.get_valid_period_dates() for Bug: 2592747
887:
888: gms_budget_utils.get_valid_period_dates(
889: x_err_code => x_err_code,
890: x_err_stage => x_err_stage,
891: p_project_id => x_project_id,
892: p_task_id => b2_rec.task_id,

Line 1051: GMS_BUDGET_UTILS.get_baselined_version_id(x_dest_project_id,

1047: x_err_stage := 'get baselined budget <' || to_char(x_dest_project_id)
1048: || '><' || x_dest_budget_type_code || '>' ;
1049:
1050: -- check if baseline budget already exist
1051: GMS_BUDGET_UTILS.get_baselined_version_id(x_dest_project_id,
1052: x_dest_award_id,
1053: x_dest_budget_type_code,
1054: x_baselined_version_id,
1055: x_err_code,

Line 1093: GMS_BUDGET_UTILS.get_draft_version_id(x_dest_project_id,

1089: x_err_stage := 'delete old draft budget <' || to_char(x_dest_project_id)
1090: || '><' || x_dest_budget_type_code || '>' ;
1091:
1092: -- check if destination draft budget exists
1093: GMS_BUDGET_UTILS.get_draft_version_id(x_dest_project_id,
1094: x_dest_award_id,
1095: x_dest_budget_type_code,
1096: x_dest_version_id,
1097: x_err_code,

Line 1105: -- GMS_BUDGET_UTILS.delete_draft(x_dest_version_id,

1101: if (x_err_code = 0) then
1102: -- draft budget exists, delete it
1103:
1104:
1105: -- GMS_BUDGET_UTILS.delete_draft(x_dest_version_id,
1106:
1107: GMS_BUDGET_PUB.delete_draft_budget(
1108: p_api_version_number => 1.0,
1109: x_err_code => x_err_code,