DBA Data[Home] [Help]

APPS.PA_BUDGET_CORE dependencies on PA_BUDGET_UTILS

Line 361: -- This call is repeated in PA_BUDGET_UTILS.Verify_Budget_Rules

357: x_created_by := FND_GLOBAL.USER_ID;
358: --x_created_by := ( to_number(fnd_profile.value('USER_ID')));
359: x_last_update_login := FND_GLOBAL.LOGIN_ID;
360:
361: -- This call is repeated in PA_BUDGET_UTILS.Verify_Budget_Rules
362: -- as the APIs call that procedure. Using v_emp_id eliminates join
363: -- to fnd_user while inserting record in pa_budget_versions
364:
365: v_emp_id := PA_UTILS.GetEmpIdFromUser(x_created_by );

Line 429: x_err_stage := 'Calling PA_BUDGET_UTILS.Verify_Budget_Rules';

425: --
426:
427: IF ( x_verify_budget_rules = 'Y' )
428: THEN
429: x_err_stage := 'Calling PA_BUDGET_UTILS.Verify_Budget_Rules';
430: print_msg(x_err_stage);
431: PA_BUDGET_UTILS.Verify_Budget_Rules
432: (p_draft_version_id => x_draft_version_id
433: , p_mark_as_original => x_mark_as_original

Line 431: PA_BUDGET_UTILS.Verify_Budget_Rules

427: IF ( x_verify_budget_rules = 'Y' )
428: THEN
429: x_err_stage := 'Calling PA_BUDGET_UTILS.Verify_Budget_Rules';
430: print_msg(x_err_stage);
431: PA_BUDGET_UTILS.Verify_Budget_Rules
432: (p_draft_version_id => x_draft_version_id
433: , p_mark_as_original => x_mark_as_original
434: , p_event => 'BASELINE'
435: , p_project_id => x_project_id

Line 521: x_err_stage := 'Calling pa_budget_utils.get_baselined_version_id';

517: -- End R11 rewrite
518: -- ----------------------------------------------------------------------------------
519:
520:
521: x_err_stage := 'Calling pa_budget_utils.get_baselined_version_id';
522: print_msg(x_err_stage);
523: pa_budget_utils.get_baselined_version_id(
524: x_project_id => x_project_id,
525: x_budget_type_code => x_budget_type_code,

Line 523: pa_budget_utils.get_baselined_version_id(

519:
520:
521: x_err_stage := 'Calling pa_budget_utils.get_baselined_version_id';
522: print_msg(x_err_stage);
523: pa_budget_utils.get_baselined_version_id(
524: x_project_id => x_project_id,
525: x_budget_type_code => x_budget_type_code,
526: x_budget_version_id => x_baselined_version_id,
527: x_err_code => x_err_code,

Line 895: x_err_stage:= 'Calling PA_BUDGET_UTILS.summerize_project_totals';

891: RETURN;
892: NULL;
893: END;
894:
895: x_err_stage:= 'Calling PA_BUDGET_UTILS.summerize_project_totals';
896: print_msg(x_err_stage);
897: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
898: x_err_code,
899: x_err_stage,

Line 897: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,

893: END;
894:
895: x_err_stage:= 'Calling PA_BUDGET_UTILS.summerize_project_totals';
896: print_msg(x_err_stage);
897: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
898: x_err_code,
899: x_err_stage,
900: x_err_stack);
901: print_msg('End of summerize_project_totals:errCode['||x_err_code||']ErrStage['||x_err_stage||']');

Line 989: pa_budget_utils.get_baselined_version_id(

985:
986: x_err_stage := 'getting baselined budget <' || to_char(p_dest_project_id)
987: || '><' || p_dest_budget_type_code || '>' ;
988:
989: pa_budget_utils.get_baselined_version_id(
990: x_project_id => p_dest_project_id,
991: x_budget_type_code => p_dest_budget_type_code,
992: x_budget_version_id => l_baselined_version_id,
993: x_err_code => x_err_code,

Line 1025: pa_budget_utils.get_draft_version_id(

1021: x_err_stage := 'getting old draft budget <' || to_char(p_dest_project_id)
1022: || '><' || p_dest_budget_type_code || '>' ;
1023:
1024: -- check if destination draft budget exists
1025: pa_budget_utils.get_draft_version_id(
1026: x_project_id => p_dest_project_id,
1027: x_budget_type_code => p_dest_budget_type_code,
1028: x_budget_version_id => l_dest_version_id,
1029: x_err_code => x_err_code,

Line 1514: PA_BUDGET_UTILS.summerize_project_totals(l_dest_version_id,

1510: 275, null, null) ;
1511:
1512: -- End copying attachments
1513:
1514: PA_BUDGET_UTILS.summerize_project_totals(l_dest_version_id,
1515: x_err_code,
1516: x_err_stage,
1517: x_err_stack);
1518:

Line 1613: pa_budget_utils.get_baselined_version_id(

1609: || '><' || x_dest_budget_type_code || '>' ;
1610:
1611:
1612:
1613: pa_budget_utils.get_baselined_version_id(
1614: x_project_id => x_dest_project_id,
1615: x_budget_type_code => x_dest_budget_type_code,
1616: x_budget_version_id => x_baselined_version_id,
1617: x_err_code => x_err_code,

Line 1654: pa_budget_utils.get_draft_version_id(

1650: || '><' || x_dest_budget_type_code || '>' ;
1651:
1652: -- check if destination draft budget exists
1653:
1654: pa_budget_utils.get_draft_version_id(
1655: x_project_id => x_dest_project_id,
1656: x_budget_type_code => x_dest_budget_type_code,
1657: x_budget_version_id => x_dest_version_id,
1658: x_err_code => x_err_code,

Line 1666: PA_BUDGET_UTILS.delete_draft(x_dest_version_id,

1662:
1663:
1664: if (x_err_code = 0) then
1665: -- draft budget exists, delete it
1666: PA_BUDGET_UTILS.delete_draft(x_dest_version_id,
1667: x_err_code,
1668: x_err_stage,
1669: x_err_stack);
1670: end if;

Line 1922: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,

1918: 275, null, null) ;
1919:
1920: -- End copying attachments
1921:
1922: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
1923: x_err_code,
1924: x_err_stage,
1925: x_err_stack);
1926: