DBA Data[Home] [Help]

APPS.PA_FP_COMMITMENT_AMOUNTS dependencies on PA_DEBUG

Line 4: P_PA_DEBUG_MODE varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');

1: PACKAGE body PA_FP_COMMITMENT_AMOUNTS as
2: /* $Header: PAFPCMTB.pls 120.3 2006/01/13 18:29:51 dkuo noship $ */
3:
4: P_PA_DEBUG_MODE varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
5:
6: PROCEDURE GET_COMMITMENT_AMTS
7: (P_PROJECT_ID IN PA_PROJ_FP_OPTIONS.PROJECT_ID%TYPE,
8: P_BUDGET_VERSION_ID IN PA_BUDGET_VERSIONS.BUDGET_VERSION_ID%TYPE,

Line 195: IF p_pa_debug_mode = 'Y' THEN

191: BEGIN
192: X_MSG_COUNT := 0;
193: X_RETURN_STATUS := FND_API.G_RET_STS_SUCCESS;
194:
195: IF p_pa_debug_mode = 'Y' THEN
196: pa_debug.set_curr_function( p_function => 'GEN_COMMITMENT_AMOUNTS'
197: ,p_debug_mode => p_pa_debug_mode);
198: END IF;
199:

Line 196: pa_debug.set_curr_function( p_function => 'GEN_COMMITMENT_AMOUNTS'

192: X_MSG_COUNT := 0;
193: X_RETURN_STATUS := FND_API.G_RET_STS_SUCCESS;
194:
195: IF p_pa_debug_mode = 'Y' THEN
196: pa_debug.set_curr_function( p_function => 'GEN_COMMITMENT_AMOUNTS'
197: ,p_debug_mode => p_pa_debug_mode);
198: END IF;
199:
200: l_stru_sharing_code := PA_PROJECT_STRUCTURE_UTILS.get_Structure_sharing_code(P_PROJECT_ID=> P_PROJECT_ID);

Line 197: ,p_debug_mode => p_pa_debug_mode);

193: X_RETURN_STATUS := FND_API.G_RET_STS_SUCCESS;
194:
195: IF p_pa_debug_mode = 'Y' THEN
196: pa_debug.set_curr_function( p_function => 'GEN_COMMITMENT_AMOUNTS'
197: ,p_debug_mode => p_pa_debug_mode);
198: END IF;
199:
200: l_stru_sharing_code := PA_PROJECT_STRUCTURE_UTILS.get_Structure_sharing_code(P_PROJECT_ID=> P_PROJECT_ID);
201:

Line 244: IF P_PA_DEBUG_MODE = 'Y' THEN

240: AND NVL(CT.generation_error_flag,'N') = 'N'
241: AND ct.RESOURCE_CLASS = rc.RESOURCE_CLASS_CODE(+);
242:
243: IF l_TXN_SOURCE_ID_tab.count = 0 THEN
244: IF P_PA_DEBUG_MODE = 'Y' THEN
245: PA_DEBUG.Reset_Curr_Function;
246: END IF;
247: RETURN;
248: END IF;

Line 245: PA_DEBUG.Reset_Curr_Function;

241: AND ct.RESOURCE_CLASS = rc.RESOURCE_CLASS_CODE(+);
242:
243: IF l_TXN_SOURCE_ID_tab.count = 0 THEN
244: IF P_PA_DEBUG_MODE = 'Y' THEN
245: PA_DEBUG.Reset_Curr_Function;
246: END IF;
247: RETURN;
248: END IF;
249: --dbms_output.put_line('l_TXN_SOURCE_ID_tab.count: '||l_TXN_SOURCE_ID_tab.count);

Line 271: IF P_PA_DEBUG_MODE = 'Y' THEN

267: l_TXN_WBS_ELEMENT_VER_ID_tab(bb):= null;
268: l_TXN_RBS_ELEMENT_ID_tab(bb) := null;
269: END LOOP;
270:
271: IF P_PA_DEBUG_MODE = 'Y' THEN
272: PA_FP_GEN_AMOUNT_UTILS.FP_DEBUG(
273: P_MSG => 'Before calling PA_RLMI_RBS_MAP_PUB.MAP_RLMI_RBS',
274: P_MODULE_NAME => l_module_name);
275: END IF;

Line 325: IF P_PA_DEBUG_MODE = 'Y' THEN

321: X_TXN_ACCUM_HEADER_ID_TAB =>l_map_txn_accum_header_id_tab,
322: X_RETURN_STATUS => x_return_status,
323: X_MSG_COUNT => x_msg_count,
324: X_MSG_DATA => x_msg_data );
325: IF P_PA_DEBUG_MODE = 'Y' THEN
326: PA_FP_GEN_AMOUNT_UTILS.FP_DEBUG(
327: P_MSG => 'After calling PA_RLMI_RBS_MAP_PUB.MAP_RLMI_RBS: '||
328: x_return_status,
329: P_MODULE_NAME => l_module_name);

Line 348: IF p_pa_debug_mode = 'Y' THEN

344: p_msg_name => 'PA_INVALID_MAPPING_ERR');
345: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
346: END IF;
347:
348: IF p_pa_debug_mode = 'Y' THEN
349: pa_fp_gen_amount_utils.fp_debug
350: (p_msg => 'Before calling pa_fp_gen_budget_amt_pub.create_res_asg',
351: p_module_name => l_module_name,
352: p_log_level => 5);

Line 369: IF p_pa_debug_mode = 'Y' THEN

365: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
366: END IF;
367:
368: --dbms_output.put_line('Return status after calling PA_FP_GEN_BUDGET_AMT_PUB.CREATE_RES_ASG: '||X_RETURN_STATUS);
369: IF p_pa_debug_mode = 'Y' THEN
370: pa_fp_gen_amount_utils.fp_debug
371: (p_msg => 'Status after calling pa_fp_gen_budget_amt_pub.create_res_asg'
372: ||x_return_status,
373: p_module_name => l_module_name,

Line 377: IF p_pa_debug_mode = 'Y' THEN

373: p_module_name => l_module_name,
374: p_log_level => 5);
375: END IF;
376:
377: IF p_pa_debug_mode = 'Y' THEN
378: pa_fp_gen_amount_utils.fp_debug
379: (p_msg => 'Before calling pa_fp_gen_budget_amt_pub.update_res_asg',
380: p_module_name => l_module_name,
381: p_log_level => 5);

Line 398: IF p_pa_debug_mode = 'Y' THEN

394: IF X_RETURN_STATUS <> FND_API.G_RET_STS_SUCCESS THEN
395: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
396: END IF;
397: --dbms_output.put_line('Return status after calling PA_FP_GEN_BUDGET_AMT_PUB.UPDATE_RES_ASG: '||X_RETURN_STATUS);
398: IF p_pa_debug_mode = 'Y' THEN
399: pa_fp_gen_amount_utils.fp_debug
400: (p_msg => 'Status after calling pa_fp_gen_budget_amt_pub.update_res_asg'
401: ||x_return_status,
402: p_module_name => l_module_name,

Line 532: IF P_PA_DEBUG_MODE = 'Y' THEN

528: 'OPEN_COMMITMENTS'
529: );
530: --dbms_output.put_line('calc_tmp2 table count: '||sql%rowcount);
531:
532: IF P_PA_DEBUG_MODE = 'Y' THEN
533: PA_DEBUG.Reset_Curr_Function;
534: END IF;
535:
536: EXCEPTION

Line 533: PA_DEBUG.Reset_Curr_Function;

529: );
530: --dbms_output.put_line('calc_tmp2 table count: '||sql%rowcount);
531:
532: IF P_PA_DEBUG_MODE = 'Y' THEN
533: PA_DEBUG.Reset_Curr_Function;
534: END IF;
535:
536: EXCEPTION
537: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN