DBA Data[Home] [Help]

APPS.PA_BUDGET_CORE dependencies on PA_BUDGET_UTILS

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

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

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

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

Line 433: PA_BUDGET_UTILS.Verify_Budget_Rules

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

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

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

Line 525: pa_budget_utils.get_baselined_version_id(

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

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

895: RETURN;
896: NULL;
897: END;
898:
899: x_err_stage:= 'Calling PA_BUDGET_UTILS.summerize_project_totals';
900: print_msg(x_err_stage);
901: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
902: x_err_code,
903: x_err_stage,

Line 901: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,

897: END;
898:
899: x_err_stage:= 'Calling PA_BUDGET_UTILS.summerize_project_totals';
900: print_msg(x_err_stage);
901: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
902: x_err_code,
903: x_err_stage,
904: x_err_stack);
905: print_msg('End of summerize_project_totals:errCode['||x_err_code||']ErrStage['||x_err_stage||']');

Line 993: pa_budget_utils.get_baselined_version_id(

989:
990: x_err_stage := 'getting baselined budget <' || to_char(p_dest_project_id)
991: || '><' || p_dest_budget_type_code || '>' ;
992:
993: pa_budget_utils.get_baselined_version_id(
994: x_project_id => p_dest_project_id,
995: x_budget_type_code => p_dest_budget_type_code,
996: x_budget_version_id => l_baselined_version_id,
997: x_err_code => x_err_code,

Line 1029: pa_budget_utils.get_draft_version_id(

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

Line 1518: PA_BUDGET_UTILS.summerize_project_totals(l_dest_version_id,

1514: 275, null, null) ;
1515:
1516: -- End copying attachments
1517:
1518: PA_BUDGET_UTILS.summerize_project_totals(l_dest_version_id,
1519: x_err_code,
1520: x_err_stage,
1521: x_err_stack);
1522:

Line 1617: pa_budget_utils.get_baselined_version_id(

1613: || '><' || x_dest_budget_type_code || '>' ;
1614:
1615:
1616:
1617: pa_budget_utils.get_baselined_version_id(
1618: x_project_id => x_dest_project_id,
1619: x_budget_type_code => x_dest_budget_type_code,
1620: x_budget_version_id => x_baselined_version_id,
1621: x_err_code => x_err_code,

Line 1658: pa_budget_utils.get_draft_version_id(

1654: || '><' || x_dest_budget_type_code || '>' ;
1655:
1656: -- check if destination draft budget exists
1657:
1658: pa_budget_utils.get_draft_version_id(
1659: x_project_id => x_dest_project_id,
1660: x_budget_type_code => x_dest_budget_type_code,
1661: x_budget_version_id => x_dest_version_id,
1662: x_err_code => x_err_code,

Line 1670: PA_BUDGET_UTILS.delete_draft(x_dest_version_id,

1666:
1667:
1668: if (x_err_code = 0) then
1669: -- draft budget exists, delete it
1670: PA_BUDGET_UTILS.delete_draft(x_dest_version_id,
1671: x_err_code,
1672: x_err_stage,
1673: x_err_stack);
1674: end if;

Line 1926: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,

1922: 275, null, null) ;
1923:
1924: -- End copying attachments
1925:
1926: PA_BUDGET_UTILS.summerize_project_totals(x_dest_version_id,
1927: x_err_code,
1928: x_err_stage,
1929: x_err_stack);
1930: