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: PA_DEBUG.Log_Message ('p_person_id '||p_person_id||'l_expenditure_org_id '||l_expenditure_org_id); --skkoppul
801: PA_DEBUG.Log_Message ('l_expenditure_organization_id '||l_expenditure_organization_id||' l_labor_cost_mult_name '||l_labor_cost_mult_name);
802: PA_DEBUG.Log_Message ('p_rate_calc_date '||p_rate_calc_date||' l_expenditure_curr_code_burdn '||l_expenditure_curr_code_burdn||' p_quantity'||p_quantity);

Line 862: PA_COST.get_raw_cost (

858: end;
859: end if;
860: -- 12.2 payroll integration .. rbc reqmt
861:
862: PA_COST.get_raw_cost (
863: P_person_id => p_person_id ,
864: P_expenditure_org_id => l_expenditure_org_id ,
865: P_expend_organization_id => l_expenditure_organization_id , /*LCE*/
866: P_labor_Cost_Mult_Name => l_labor_cost_mult_name ,

Line 878: PA_DEBUG.g_err_stage := 'Error in PA_COST.get_raw_cost';

874: x_msg_data => l_msg_data
875: );
876: exception --Bug 7423839
877: when others then
878: PA_DEBUG.g_err_stage := 'Error in PA_COST.get_raw_cost';
879: IF g1_debug_mode = 'Y' THEN
880: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
881: PA_DEBUG.Log_Message(p_message => 'x_msg_count '||x_msg_count || ' l_msg_data '||substr(l_msg_data,1,300)||' ret status '||l_x_return_status);
882: PA_DEBUG.Log_Message(p_message => SQLERRM);

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

888: x_exp_func_raw_cost := l_exp_func_raw_cost; /* Added for Org Forecasting */
889: x_exp_func_curr_code := l_expenditure_curr_code_burdn; /* Added for Org Forecasting */
890:
891: IF g1_debug_mode = 'Y' THEN
892: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.get_raw_cost';
893: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
894: END IF;
895:
896: -- 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 905: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';

901: -- dbms_output.put_line('start of req raw cost '||l_x_return_status);
902:
903:
904: IF g1_debug_mode = 'Y' THEN
905: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';
906: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
907: END IF;
908:
909: PA_COST.requirement_raw_cost(

Line 909: PA_COST.requirement_raw_cost(

905: PA_DEBUG.g_err_stage := 'RT12 : Entering PA_COST.requirement_raw_cost';
906: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
907: END IF;
908:
909: PA_COST.requirement_raw_cost(
910: p_forecast_cost_job_group_id => l_forecast_job_group_id ,
911: p_forecast_cost_job_id => l_forecast_job_id ,
912: p_proj_cost_job_group_id => l_proj_cost_job_grp_id ,
913: px_proj_cost_job_id => l_proj_cost_job_id ,

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

931: x_exp_func_raw_cost := l_exp_func_raw_cost; /* Added for Org Forecasting */
932: x_exp_func_curr_code := l_expenditure_curr_code_burdn; /* Added for Org Forecasting */
933:
934: IF g1_debug_mode = 'Y' THEN
935: PA_DEBUG.g_err_stage := 'RT13 : Leaving PA_COST.requirement_raw_cost';
936: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
937: END IF;
938: -- 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);
939:

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

968: IF (p_calling_mode = 'ASSIGNMENT') THEN
969:
970: -- dbms_output.put_line('start of override '||l_x_return_status);
971: IF g1_debug_mode = 'Y' THEN
972: PA_DEBUG.g_err_stage := 'RT14 : Entering PA_COST.override_exp_organization';
973: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
974: END IF;
975:
976: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,

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

972: PA_DEBUG.g_err_stage := 'RT14 : Entering PA_COST.override_exp_organization';
973: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
974: END IF;
975:
976: PA_COST.override_exp_organization(P_item_date => p_rate_calc_date ,
977: P_person_id => p_person_id ,
978: P_project_id => p_project_id ,
979: P_incurred_by_organz_id => l_expenditure_organization_id ,
980: P_Expenditure_type => l_expenditure_type ,

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

984: x_msg_data => l_msg_data
985: );
986:
987: IF g1_debug_mode = 'Y' THEN
988: PA_DEBUG.g_err_stage := 'RT15 : Leaving PA_COST.override_exp_organization';
989: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
990: END IF;
991:
992: -- dbms_output.put_line('end of override '||l_x_return_status ||' over id '||l_overr_to_organization_id);

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

1002: IF (NVL(l_exp_func_raw_cost,0) <> 0) THEN
1003:
1004: /* Added for Org forecasting */
1005: IF g1_debug_mode = 'Y' THEN
1006: PA_DEBUG.g_err_stage := 'RT16 : Entering PA_COST.get_burdened_cost';
1007: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1008: END IF;
1009:
1010: PA_COST.get_burdened_cost(

Line 1010: PA_COST.get_burdened_cost(

1006: PA_DEBUG.g_err_stage := 'RT16 : Entering PA_COST.get_burdened_cost';
1007: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1008: END IF;
1009:
1010: PA_COST.get_burdened_cost(
1011: p_project_type => l_project_type ,
1012: p_project_id => p_project_id ,
1013: p_task_id => p_task_id ,
1014: p_item_date => p_rate_calc_date ,

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

1032: x_exp_func_burdened_cost := l_exp_func_burdened_cost; /* Added for Org Forecasting */
1033: x_exp_func_curr_code := l_expenditure_currency_code; /* Added for Org Forecasting */
1034:
1035: IF g1_debug_mode = 'Y' THEN
1036: PA_DEBUG.g_err_stage := 'RT17 : Leaving PA_COST.get_burdened_cost';
1037: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1038: END IF;
1039:
1040: -- 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 1067: PA_DEBUG.g_err_stage := 'RT18 : Entering PA_COST.get_proj_raw_burdened_cost';

1063:
1064: -- dbms_output.put_line('start of Get_Converted_Cost_Amounts '||l_x_return_status);
1065:
1066: IF g1_debug_mode = 'Y' THEN
1067: PA_DEBUG.g_err_stage := 'RT18 : Entering PA_COST.get_proj_raw_burdened_cost';
1068: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1069: END IF;
1070:
1071: -- dbms_output.put_line(' error in multi cost 2 '||x_cost_rejct_reason||' amount '||l_exp_func_raw_cost);

Line 1077: PA_COST.Get_Converted_Cost_Amounts(

1073: -- dbms_output.put_line('l_exp_func_raw_cost ' ||l_exp_func_raw_cost);
1074: /* Added for Org Forecasting */
1075: IF (NVL(l_exp_func_raw_cost,0) <> 0) THEN
1076: -- dbms_output.put_line(' inside l_exp_func_raw_cost ' ||l_exp_func_raw_cost);
1077: PA_COST.Get_Converted_Cost_Amounts(
1078: P_exp_org_id => l_expenditure_org_id,
1079: P_proj_org_id => l_project_org_id,
1080: P_project_id => p_project_id,
1081: P_task_id => p_task_id,

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

1146: x_txn_burdned_cst_rt := l_burdened_cost_rate;
1147: x_txn_burdned_cst := l_new_pvdr_acct_burdened_cost;
1148:
1149: -- dbms_output.put_line(' Inside error in multi cost 3 '||x_cost_rejct_reason);
1150: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
1151:
1152: IF g1_debug_mode = 'Y' THEN
1153: PA_DEBUG.g_err_stage := 'RT19 : Leaving PA_COST.get_proj_raw_burdened_cost';
1154: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);

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

1149: -- dbms_output.put_line(' Inside error in multi cost 3 '||x_cost_rejct_reason);
1150: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
1151:
1152: IF g1_debug_mode = 'Y' THEN
1153: PA_DEBUG.g_err_stage := 'RT19 : Leaving PA_COST.get_proj_raw_burdened_cost';
1154: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
1155: END IF;
1156:
1157: -- 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 2528: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.get_raw_cost';

2524:
2525: IF (l_calculate_cost_flag = 'Y') THEN /* Added this if to fix bug 2162965 */
2526: IF ( p_assignment_type = 'A') THEN
2527: IF g1_debug_mode = 'Y' THEN
2528: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.get_raw_cost';
2529: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2530: END IF;
2531:
2532: /* 12.2 payroll intg .. set the globals for HR rates .. */

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

2588: end if;
2589:
2590: /* 12.2 payroll intg .. set globals for HR rates .. end */
2591:
2592: PA_COST.get_raw_cost ( P_person_id => p_person_id ,
2593: P_expenditure_org_id => p_expenditure_org_id ,
2594: P_expend_organization_id => p_expenditure_organization_id, /*LCE*/
2595: P_labor_Cost_Mult_Name => l_labor_cost_mult_name ,
2596: P_Item_date => p_asgn_start_date ,

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

2603: x_msg_data => x_msg_data
2604: );
2605:
2606: IF g1_debug_mode = 'Y' THEN
2607: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.get_raw_cost';
2608: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2609: END IF;
2610:
2611: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS) THEN

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

2609: END IF;
2610:
2611: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
2612: IF g1_debug_mode = 'Y' THEN
2613: PA_DEBUG.g_err_stage := 'RT54 : Entering PA_COST.override_exp_organization';
2614: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2615: END IF;
2616:
2617: PA_COST.override_exp_organization(P_item_date => p_asgn_start_date ,

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

2613: PA_DEBUG.g_err_stage := 'RT54 : Entering PA_COST.override_exp_organization';
2614: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2615: END IF;
2616:
2617: PA_COST.override_exp_organization(P_item_date => p_asgn_start_date ,
2618: P_person_id => p_person_id ,
2619: P_project_id => p_project_id ,
2620: P_incurred_by_organz_id => p_expenditure_organization_id ,
2621: P_Expenditure_type => p_expenditure_type ,

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

2625: x_msg_data => x_msg_data
2626: );
2627:
2628: IF g1_debug_mode = 'Y' THEN
2629: PA_DEBUG.g_err_stage := 'RT55 : Leaving PA_COST.override_exp_organization';
2630: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2631: END IF;
2632:
2633: END IF;

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

2633: END IF;
2634:
2635: ELSIF (p_assignment_type = 'R') THEN
2636: IF g1_debug_mode = 'Y' THEN
2637: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.requirement_raw_cost';
2638: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2639: END IF;
2640: /* Four project functional attributes added for MCB2 */
2641: PA_COST.requirement_raw_cost( p_forecast_cost_job_group_id => l_forecast_job_group_id ,

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

2637: PA_DEBUG.g_err_stage := 'RT52 : Entering PA_COST.requirement_raw_cost';
2638: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2639: END IF;
2640: /* Four project functional attributes added for MCB2 */
2641: PA_COST.requirement_raw_cost( p_forecast_cost_job_group_id => l_forecast_job_group_id ,
2642: p_forecast_cost_job_id => l_forecast_job_id ,
2643: p_proj_cost_job_group_id => l_proj_cost_job_grp_id ,
2644: px_proj_cost_job_id => l_proj_cost_job_id ,
2645: p_item_date => p_asgn_start_date ,

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

2661: l_expenditure_currency_code := NVL(l_expenditure_curr_code_burdn,l_expenditure_currency_code); /* added for Org Fcst */
2662:
2663: IF (NVL(l_raw_cost,0) <> 0 ) THEN
2664:
2665: PA_COST.get_burdened_cost(p_project_type => l_project_type ,
2666: p_project_id => p_project_id ,
2667: p_task_id => p_task_id ,
2668: p_item_date => p_asgn_start_date ,
2669: p_expenditure_type => p_expenditure_type ,

Line 2684: PA_COST.Get_Converted_Cost_Amounts(

2680: x_msg_count => x_msg_count ,
2681: x_msg_data => x_msg_data
2682: );
2683:
2684: PA_COST.Get_Converted_Cost_Amounts(
2685: P_exp_org_id => p_expenditure_org_id,
2686: P_proj_org_id => l_project_org_id,
2687: P_project_id => p_project_id,
2688: P_task_id => p_task_id,

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

2723: );
2724:
2725: END IF;
2726:
2727: /* Deleted this proc PA_COST.get_projfunc_raw_burdened_cost() for Org Forecasting */
2728:
2729: END IF; /* end of calculate cost flag */
2730:
2731: IF (SUBSTR(l_distribution_rule,1,4) = 'WORK' AND l_class_code = 'CONTRACT') THEN

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

2793:
2794:
2795: ELSIF (p_assignment_type = 'R') THEN
2796: IF g1_debug_mode = 'Y' THEN
2797: PA_DEBUG.g_err_stage := 'RT53 : Leaving PA_COST.requirement_raw_cost';
2798: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
2799: END IF;
2800:
2801: PA_REVENUE.requirement_rev_amt(