DBA Data[Home] [Help]

APPS.PA_RATE_PVT_PKG dependencies on PA_COST

Line 404: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,

400: PA_DEBUG.g_err_stage := 'RTS13.1 : Selecting override organization if any .';
401: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
402: END IF;
403:
404: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,
405: P_person_id => p_person_id ,
406: P_project_id => p_project_id ,
407: P_incurred_by_organz_id => l_expenditure_organization_id ,
408: P_Expenditure_type => l_expenditure_type ,

Line 798: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.get_raw_cost';

794:
795: IF ( (p_calling_mode = 'ASSIGNMENT') OR (p_calling_mode = 'UNASSIGNED') ) THEN
796:
797: IF g1_debug_mode = 'Y' THEN
798: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.get_raw_cost';
799: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
800: END IF;
801:
802: -- dbms_output.put_line('pp_person_id '||p_person_id);

Line 803: PA_COST.get_raw_cost (

799: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
800: END IF;
801:
802: -- dbms_output.put_line('pp_person_id '||p_person_id);
803: PA_COST.get_raw_cost (
804: P_person_id => p_person_id ,
805: P_expenditure_org_id => l_expenditure_org_id ,
806: P_expend_organization_id => l_expenditure_organization_id , /*LCE*/
807: P_labor_Cost_Mult_Name => l_labor_cost_mult_name ,

Line 823: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.get_raw_cost';

819: x_exp_func_raw_cost := l_exp_func_raw_cost; /* Added for Org Forecasting */
820: x_exp_func_curr_code := l_expenditure_curr_code_burdn; /* Added for Org Forecasting */
821:
822: IF g1_debug_mode = 'Y' THEN
823: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.get_raw_cost';
824: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
825: END IF;
826:
827: -- dbms_output.put_line('end of get raw cost '||l_x_return_status||' rate '||x_exp_func_raw_cost_rate||' raw cost '||x_exp_func_raw_cost||' Currency '||l_expenditure_currency_code);

Line 836: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';

832: -- dbms_output.put_line('start of req raw cost '||l_x_return_status);
833:
834:
835: IF g1_debug_mode = 'Y' THEN
836: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';
837: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
838: END IF;
839:
840: PA_COST.requirement_raw_cost(

Line 840: PA_COST.requirement_raw_cost(

836: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';
837: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
838: END IF;
839:
840: PA_COST.requirement_raw_cost(
841: p_forecast_cost_job_group_id => l_forecast_job_group_id ,
842: p_forecast_cost_job_id => l_forecast_job_id ,
843: p_proj_cost_job_group_id => l_proj_cost_job_grp_id ,
844: px_proj_cost_job_id => l_proj_cost_job_id ,

Line 866: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.requirement_raw_cost';

862: x_exp_func_raw_cost := l_exp_func_raw_cost; /* Added for Org Forecasting */
863: x_exp_func_curr_code := l_expenditure_curr_code_burdn; /* Added for Org Forecasting */
864:
865: IF g1_debug_mode = 'Y' THEN
866: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.requirement_raw_cost';
867: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
868: END IF;
869: -- dbms_output.put_line('end of req raw cost '||l_x_return_status||' : rate '||x_exp_func_raw_cost_rate||' cost '||x_exp_func_raw_cost||' Currency '||l_expenditure_currency_code);
870:

Line 903: PA_DEBUG.g_err_stage := 'RT14 : Entering PA_COST.override_exp_organization';

899: IF (p_calling_mode = 'ASSIGNMENT') THEN
900:
901: -- dbms_output.put_line('start of override '||l_x_return_status);
902: IF g1_debug_mode = 'Y' THEN
903: PA_DEBUG.g_err_stage := 'RT14 : Entering PA_COST.override_exp_organization';
904: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
905: END IF;
906:
907: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,

Line 907: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,

903: PA_DEBUG.g_err_stage := 'RT14 : Entering PA_COST.override_exp_organization';
904: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
905: END IF;
906:
907: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,
908: P_person_id => p_person_id ,
909: P_project_id => p_project_id ,
910: P_incurred_by_organz_id => l_expenditure_organization_id ,
911: P_Expenditure_type => l_expenditure_type ,

Line 919: PA_DEBUG.g_err_stage := 'RT15 : Leaving PA_COST.override_exp_organization';

915: x_msg_data => l_msg_data
916: );
917:
918: IF g1_debug_mode = 'Y' THEN
919: PA_DEBUG.g_err_stage := 'RT15 : Leaving PA_COST.override_exp_organization';
920: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
921: END IF;
922:
923: -- dbms_output.put_line('end of override '||l_x_return_status ||' over id '||l_overr_to_organization_id);

Line 937: PA_DEBUG.g_err_stage := 'RT16 : Entering PA_COST.get_burdened_cost';

933: IF (NVL(l_exp_func_raw_cost,0) <> 0) THEN
934:
935: /* Added for Org forecasting */
936: IF g1_debug_mode = 'Y' THEN
937: PA_DEBUG.g_err_stage := 'RT16 : Entering PA_COST.get_burdened_cost';
938: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
939: END IF;
940:
941: PA_COST.get_burdened_cost(

Line 941: PA_COST.get_burdened_cost(

937: PA_DEBUG.g_err_stage := 'RT16 : Entering PA_COST.get_burdened_cost';
938: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
939: END IF;
940:
941: PA_COST.get_burdened_cost(
942: p_project_type => l_project_type ,
943: p_project_id => p_project_id ,
944: p_task_id => p_task_id ,
945: p_item_date => p_rate_calc_date ,

Line 967: PA_DEBUG.g_err_stage := 'RT17 : Leaving PA_COST.get_burdened_cost';

963: x_exp_func_burdened_cost := l_exp_func_burdened_cost; /* Added for Org Forecasting */
964: x_exp_func_curr_code := l_expenditure_currency_code; /* Added for Org Forecasting */
965:
966: IF g1_debug_mode = 'Y' THEN
967: PA_DEBUG.g_err_stage := 'RT17 : Leaving PA_COST.get_burdened_cost';
968: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
969: END IF;
970:
971: -- dbms_output.put_line('end of get burden cost '||l_x_return_status||' burden cost '||x_exp_func_burdened_cost||' rate '||x_exp_func_burdened_cost_rate);

Line 998: PA_DEBUG.g_err_stage := 'RT18 : Entering PA_COST.get_proj_raw_burdened_cost';

994:
995: -- dbms_output.put_line('start of Get_Converted_Cost_Amounts '||l_x_return_status);
996:
997: IF g1_debug_mode = 'Y' THEN
998: PA_DEBUG.g_err_stage := 'RT18 : Entering PA_COST.get_proj_raw_burdened_cost';
999: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1000: END IF;
1001:
1002: -- dbms_output.put_line(' error in multi cost 2 '||x_cost_rejct_reason||' amount '||l_exp_func_raw_cost);

Line 1008: PA_COST.Get_Converted_Cost_Amounts(

1004: -- dbms_output.put_line('l_exp_func_raw_cost ' ||l_exp_func_raw_cost);
1005: /* Added for Org Forecasting */
1006: IF (NVL(l_exp_func_raw_cost,0) <> 0) THEN
1007: -- dbms_output.put_line(' inside l_exp_func_raw_cost ' ||l_exp_func_raw_cost);
1008: PA_COST.Get_Converted_Cost_Amounts(
1009: P_exp_org_id => l_expenditure_org_id,
1010: P_proj_org_id => l_project_org_id,
1011: P_project_id => p_project_id,
1012: P_task_id => p_task_id,

Line 1081: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */

1077: x_txn_burdned_cst_rt := l_burdened_cost_rate;
1078: x_txn_burdned_cst := l_new_pvdr_acct_burdened_cost;
1079:
1080: -- dbms_output.put_line(' Inside error in multi cost 3 '||x_cost_rejct_reason);
1081: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
1082:
1083: IF g1_debug_mode = 'Y' THEN
1084: PA_DEBUG.g_err_stage := 'RT19 : Leaving PA_COST.get_proj_raw_burdened_cost';
1085: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);

Line 1084: PA_DEBUG.g_err_stage := 'RT19 : Leaving PA_COST.get_proj_raw_burdened_cost';

1080: -- dbms_output.put_line(' Inside error in multi cost 3 '||x_cost_rejct_reason);
1081: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
1082:
1083: IF g1_debug_mode = 'Y' THEN
1084: PA_DEBUG.g_err_stage := 'RT19 : Leaving PA_COST.get_proj_raw_burdened_cost';
1085: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1086: END IF;
1087:
1088: -- dbms_output.put_line('end of Get_Converted_Cost_Amounts '||l_x_return_status||' proj cost '||x_projfunc_raw_cost||' proj rate '||x_projfunc_raw_cost_rate

Line 2459: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.get_raw_cost';

2455:
2456: IF (l_calculate_cost_flag = 'Y') THEN /* Added this if to fix bug 2162965 */
2457: IF ( p_assignment_type = 'A') THEN
2458: IF g1_debug_mode = 'Y' THEN
2459: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.get_raw_cost';
2460: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2461: END IF;
2462:
2463: PA_COST.get_raw_cost ( P_person_id => p_person_id ,

Line 2463: PA_COST.get_raw_cost ( P_person_id => p_person_id ,

2459: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.get_raw_cost';
2460: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2461: END IF;
2462:
2463: PA_COST.get_raw_cost ( P_person_id => p_person_id ,
2464: P_expenditure_org_id => p_expenditure_org_id ,
2465: P_expend_organization_id => p_expenditure_organization_id, /*LCE*/
2466: P_labor_Cost_Mult_Name => l_labor_cost_mult_name ,
2467: P_Item_date => p_asgn_start_date ,

Line 2478: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.get_raw_cost';

2474: x_msg_data => x_msg_data
2475: );
2476:
2477: IF g1_debug_mode = 'Y' THEN
2478: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.get_raw_cost';
2479: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2480: END IF;
2481:
2482: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS) THEN

Line 2484: PA_DEBUG.g_err_stage := 'RT54 : Entering PA_COST.override_exp_organization';

2480: END IF;
2481:
2482: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
2483: IF g1_debug_mode = 'Y' THEN
2484: PA_DEBUG.g_err_stage := 'RT54 : Entering PA_COST.override_exp_organization';
2485: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2486: END IF;
2487:
2488: PA_COST.override_exp_organization(P_item_date => p_asgn_start_date ,

Line 2488: PA_COST.override_exp_organization(P_item_date => p_asgn_start_date ,

2484: PA_DEBUG.g_err_stage := 'RT54 : Entering PA_COST.override_exp_organization';
2485: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2486: END IF;
2487:
2488: PA_COST.override_exp_organization(P_item_date => p_asgn_start_date ,
2489: P_person_id => p_person_id ,
2490: P_project_id => p_project_id ,
2491: P_incurred_by_organz_id => p_expenditure_organization_id ,
2492: P_Expenditure_type => p_expenditure_type ,

Line 2500: PA_DEBUG.g_err_stage := 'RT55 : Leaving PA_COST.override_exp_organization';

2496: x_msg_data => x_msg_data
2497: );
2498:
2499: IF g1_debug_mode = 'Y' THEN
2500: PA_DEBUG.g_err_stage := 'RT55 : Leaving PA_COST.override_exp_organization';
2501: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2502: END IF;
2503:
2504: END IF;

Line 2508: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.requirement_raw_cost';

2504: END IF;
2505:
2506: ELSIF (p_assignment_type = 'R') THEN
2507: IF g1_debug_mode = 'Y' THEN
2508: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.requirement_raw_cost';
2509: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2510: END IF;
2511: /* Four project functional attributes added for MCB2 */
2512: PA_COST.requirement_raw_cost( p_forecast_cost_job_group_id => l_forecast_job_group_id ,

Line 2512: PA_COST.requirement_raw_cost( p_forecast_cost_job_group_id => l_forecast_job_group_id ,

2508: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.requirement_raw_cost';
2509: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2510: END IF;
2511: /* Four project functional attributes added for MCB2 */
2512: PA_COST.requirement_raw_cost( p_forecast_cost_job_group_id => l_forecast_job_group_id ,
2513: p_forecast_cost_job_id => l_forecast_job_id ,
2514: p_proj_cost_job_group_id => l_proj_cost_job_grp_id ,
2515: px_proj_cost_job_id => l_proj_cost_job_id ,
2516: p_item_date => p_asgn_start_date ,

Line 2536: PA_COST.get_burdened_cost(p_project_type => l_project_type ,

2532: l_expenditure_currency_code := NVL(l_expenditure_curr_code_burdn,l_expenditure_currency_code); /* added for Org Fcst */
2533:
2534: IF (NVL(l_raw_cost,0) <> 0 ) THEN
2535:
2536: PA_COST.get_burdened_cost(p_project_type => l_project_type ,
2537: p_project_id => p_project_id ,
2538: p_task_id => p_task_id ,
2539: p_item_date => p_asgn_start_date ,
2540: p_expenditure_type => p_expenditure_type ,

Line 2555: PA_COST.Get_Converted_Cost_Amounts(

2551: x_msg_count => x_msg_count ,
2552: x_msg_data => x_msg_data
2553: );
2554:
2555: PA_COST.Get_Converted_Cost_Amounts(
2556: P_exp_org_id => p_expenditure_org_id,
2557: P_proj_org_id => l_project_org_id,
2558: P_project_id => p_project_id,
2559: P_task_id => p_task_id,

Line 2598: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */

2594: );
2595:
2596: END IF;
2597:
2598: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
2599:
2600: END IF; /* end of calculate cost flag */
2601:
2602: IF (SUBSTR(l_distribution_rule,1,4) = 'WORK' AND l_class_code = 'CONTRACT') THEN

Line 2667: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.requirement_raw_cost';

2663:
2664:
2665: ELSIF (p_assignment_type = 'R') THEN
2666: IF g1_debug_mode = 'Y' THEN
2667: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.requirement_raw_cost';
2668: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2669: END IF;
2670:
2671: PA_REVENUE.requirement_rev_amt(