DBA Data[Home] [Help]

APPS.PA_FP_COPY_FROM_PKG dependencies on PA_BUDGET_CORE

Line 5820: pa_budget_core.copy(

5816: --EH Changes
5817:
5818: BEGIN
5819:
5820: pa_budget_core.copy(
5821: x_src_version_id => x_budget_version_id,
5822: x_amount_change_pct => 1,
5823: x_rounding_precision => 5,
5824: x_shift_days => nvl(x_delta, 0),

Line 5837: x_err_stack := x_err_stack||'->pa_budget_core.copy';

5833: IF x_err_stage IS NULL
5834: THEN
5835: x_err_stage := pa_project_core1.get_message_from_stack( 'PA_ERR_BUDGT_CORE_COPY');
5836: END IF;
5837: x_err_stack := x_err_stack||'->pa_budget_core.copy';
5838: -- bug 3163280 rollback to copy_project;
5839: return; -- Application or Oracle error
5840: end if;
5841: EXCEPTION WHEN OTHERS THEN

Line 5846: x_err_stage := 'API: '||'pa_budget_core.copy'||

5842: x_err_code := 760;
5843: -- x_err_stage := pa_project_core1.get_message_from_stack( null );
5844: IF x_err_stage IS NULL
5845: THEN
5846: x_err_stage := 'API: '||'pa_budget_core.copy'||
5847: ' SQL error message: '||SUBSTR( SQLERRM,1,1900);
5848: END IF;
5849: -- bug 3163280 rollback to copy_project;
5850: return;

Line 5920: pa_budget_core.baseline(

5916: x_err_stage :=
5917: 'baseline revenue budget for new project'
5918: || x_new_project_id;
5919:
5920: pa_budget_core.baseline(
5921: x_draft_version_id=> x_new_budget_ver_id,
5922: x_mark_as_original=> x_mark_as_original,
5923: x_verify_budget_rules => 'Y',
5924: x_err_code => x_err_code,

Line 5981: -- pa_budget_core.get_draft_version_id returns x_err_code = 10

5977: END IF; -- Added for bug 2986930
5978: END LOOP;
5979: CLOSE C1;
5980:
5981: -- pa_budget_core.get_draft_version_id returns x_err_code = 10
5982: -- when no budget version id is found, which is fine.
5983: IF (x_err_code = 10) THEN
5984: x_err_code := 0;
5985: END IF;

Line 5996: PA_BUDGET_CORE.COPY_BUDGETS_FROM_PROJECT

5992: fromsource project or template. This api takes care of the upgraded
5993: budget versions and takes care of all the business rules that relate
5994: to new financial planning module. This api would be called from
5995: PA_PROJECT_CORE!.COPY_PROJECT after call to
5996: PA_BUDGET_CORE.COPY_BUDGETS_FROM_PROJECT
5997: Bug# - 2981655 - Please see bug for the complete discussion about
5998: this bug. The core is, when copy_project is done with copy_budget_flag
5999: as N, we still have to copy the header level informations
6000: pa_proj_fp_options, pa_fp_txn_currencies, period profile information.

Line 7264: pa_budget_core.shift_periods(

7260: l_err_code := NULL;
7261: l_err_stage := NULL;
7262: l_err_stack := NULL;
7263:
7264: pa_budget_core.shift_periods(
7265: x_start_period_date => i.start_date,
7266: x_periods => p_shift_periods,
7267: x_period_name => l_period_name,
7268: x_period_type => p_period_type,

Line 7276: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.shift_periods...';

7272: x_err_stage => l_err_stage,
7273: x_err_stack => l_err_stack);
7274: IF l_err_code <> 0 THEN
7275: IF P_PA_DEBUG_MODE = 'Y' THEN
7276: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.shift_periods...';
7277: pa_debug.write('Copy_Budget_Lines: ' || g_module_name,pa_debug.g_err_stage,5);
7278: END IF;
7279:
7280: PA_UTILS.ADD_MESSAGE(p_app_short_name=> 'PA',

Line 7500: pa_budget_core.get_periods(

7496: RAISE;
7497: END;
7498:
7499: --Based on the shift_days check how much shift is required period wise
7500: pa_budget_core.get_periods(
7501: x_start_date1 => l_start_date,
7502: x_start_date2 => l_start_date + l_shift_days,
7503: x_period_type => l_target_time_phased_code,
7504: x_periods => l_periods,

Line 7510: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.get_periods...';

7506: x_err_stage => l_err_stage,
7507: x_err_stack => l_err_stack);
7508: IF l_err_code <> 0 THEN
7509: IF P_PA_DEBUG_MODE = 'Y' THEN
7510: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.get_periods...';
7511: pa_debug.write('Copy_Budget_Lines: ' || g_module_name,pa_debug.g_err_stage,5);
7512: END IF;
7513:
7514: PA_UTILS.ADD_MESSAGE(p_app_short_name=> 'PA',