DBA Data[Home] [Help]

APPS.PA_FP_COPY_FROM_PKG dependencies on PA_BUDGET_CORE

Line 5808: pa_budget_core.copy(

5804: --EH Changes
5805:
5806: BEGIN
5807:
5808: pa_budget_core.copy(
5809: x_src_version_id => x_budget_version_id,
5810: x_amount_change_pct => 1,
5811: x_rounding_precision => 5,
5812: x_shift_days => nvl(x_delta, 0),

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

5821: IF x_err_stage IS NULL
5822: THEN
5823: x_err_stage := pa_project_core1.get_message_from_stack( 'PA_ERR_BUDGT_CORE_COPY');
5824: END IF;
5825: x_err_stack := x_err_stack||'->pa_budget_core.copy';
5826: -- bug 3163280 rollback to copy_project;
5827: return; -- Application or Oracle error
5828: end if;
5829: EXCEPTION WHEN OTHERS THEN

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

5830: x_err_code := 760;
5831: -- x_err_stage := pa_project_core1.get_message_from_stack( null );
5832: IF x_err_stage IS NULL
5833: THEN
5834: x_err_stage := 'API: '||'pa_budget_core.copy'||
5835: ' SQL error message: '||SUBSTR( SQLERRM,1,1900);
5836: END IF;
5837: -- bug 3163280 rollback to copy_project;
5838: return;

Line 5907: pa_budget_core.baseline(

5903: x_err_stage :=
5904: 'baseline revenue budget for new project'
5905: || x_new_project_id;
5906:
5907: pa_budget_core.baseline(
5908: x_draft_version_id=> x_new_budget_ver_id,
5909: x_mark_as_original=> x_mark_as_original,
5910: x_verify_budget_rules => 'Y',
5911: x_err_code => x_err_code,

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

5964: END IF; -- Added for bug 2986930
5965: END LOOP;
5966: CLOSE C1;
5967:
5968: -- pa_budget_core.get_draft_version_id returns x_err_code = 10
5969: -- when no budget version id is found, which is fine.
5970: IF (x_err_code = 10) THEN
5971: x_err_code := 0;
5972: END IF;

Line 5983: PA_BUDGET_CORE.COPY_BUDGETS_FROM_PROJECT

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

Line 7247: pa_budget_core.shift_periods(

7243: l_err_code := NULL;
7244: l_err_stage := NULL;
7245: l_err_stack := NULL;
7246:
7247: pa_budget_core.shift_periods(
7248: x_start_period_date => i.start_date,
7249: x_periods => p_shift_periods,
7250: x_period_name => l_period_name,
7251: x_period_type => p_period_type,

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

7255: x_err_stage => l_err_stage,
7256: x_err_stack => l_err_stack);
7257: IF l_err_code <> 0 THEN
7258: IF P_PA_DEBUG_MODE = 'Y' THEN
7259: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.shift_periods...';
7260: pa_debug.write('Copy_Budget_Lines: ' || g_module_name,pa_debug.g_err_stage,5);
7261: END IF;
7262:
7263: PA_UTILS.ADD_MESSAGE(p_app_short_name=> 'PA',

Line 7481: pa_budget_core.get_periods(

7477: RAISE;
7478: END;
7479:
7480: --Based on the shift_days check how much shift is required period wise
7481: pa_budget_core.get_periods(
7482: x_start_date1 => l_start_date,
7483: x_start_date2 => l_start_date + l_shift_days,
7484: x_period_type => l_target_time_phased_code,
7485: x_periods => l_periods,

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

7487: x_err_stage => l_err_stage,
7488: x_err_stack => l_err_stack);
7489: IF l_err_code <> 0 THEN
7490: IF P_PA_DEBUG_MODE = 'Y' THEN
7491: pa_debug.g_err_stage := 'Exception raised by pa_budget_core.get_periods...';
7492: pa_debug.write('Copy_Budget_Lines: ' || g_module_name,pa_debug.g_err_stage,5);
7493: END IF;
7494:
7495: PA_UTILS.ADD_MESSAGE(p_app_short_name=> 'PA',