DBA Data[Home] [Help]

APPS.PA_RATE_PVT_PKG dependencies on FND_API

Line 777: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

773: --------------------------------------------
774: -- Initialize the successful return status
775: --------------------------------------------
776:
777: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
778: l_x_process_return_status := FND_API.G_RET_STS_SUCCESS;
779:
780: -------------------------------------------------
781: -- Get the Raw Cost for Transaction Currency

Line 778: l_x_process_return_status := FND_API.G_RET_STS_SUCCESS;

774: -- Initialize the successful return status
775: --------------------------------------------
776:
777: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
778: l_x_process_return_status := FND_API.G_RET_STS_SUCCESS;
779:
780: -------------------------------------------------
781: -- Get the Raw Cost for Transaction Currency
782: -------------------------------------------------

Line 874: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_exp_func_raw_cost,0) = 0) THEN

870:
871: END IF;
872:
873: -- Validating that the called procedure has run without error , if not,then not calling others
874: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_exp_func_raw_cost,0) = 0) THEN
875:
876: -- dbms_output.put_line('in error of raw cost ');
877: /* Commented this for bug 2199203 and write the other one */
878: /* x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE'; */

Line 978: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(x_exp_func_burdened_cost,0) = 0) THEN

974: l_msg_data := 'PA_FCST_NO_COST_RATE';
975: END IF; /* Added for Org forecasting */
976:
977: -- Validating that the called procedure has run without error , if not,then not calling others
978: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(x_exp_func_burdened_cost,0) = 0) THEN
979:
980: /* Commented this for bug 2199203 and write the other one */
981: /* x_burdened_rejct_reason := 'PA_FCST_NO_COST_RATE'; */
982: x_burdened_rejct_reason := SUBSTR(l_msg_data,1,30);

Line 1096: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_cost,0) = 0 ) THEN

1092:
1093: END IF; -- Added for Org Forecasting
1094:
1095: -- Validating that the called procedure has run without error , if not,then not calling others
1096: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_cost,0) = 0 ) THEN
1097:
1098: -- dbms_output.put_line('inside if return status is error of Get_Converted_Cost_Amounts '||l_x_return_status||' proj cost '||x_projfunc_raw_cost
1099: -- ||' proj rate '||x_projfunc_raw_cost_rate||' proj bur co '||x_projfunc_burdened_cost||' proj bur rate '||x_projfunc_burdened_cost_rate);
1100:

Line 1299: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_txn_rev_raw_revenue,0) = 0) THEN

1295: END IF; /* End of calling mode if */
1296:
1297:
1298: -- Validating that the called procedure has run without error , if not,then not calling others
1299: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_txn_rev_raw_revenue,0) = 0) THEN
1300:
1301: /* Commented this for bug 2199203 and write the other one */
1302: /* x_rev_rejct_reason := 'PA_FCST_NO_BILL_RATE'; */
1303: x_rev_rejct_reason := SUBSTR(l_msg_data,1,30);

Line 1361: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_revenue,0) = 0) THEN

1357: -- dbms_output.put_line(' after revenue conversion ');
1358: END IF;
1359:
1360: -- Validating that the called procedure has run without error , if not,then not calling others
1361: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_revenue,0) = 0) THEN
1362:
1363: x_rev_rejct_reason := SUBSTR(l_msg_data,1,30);
1364: x_txn_rev_bill_rt := 0;
1365: x_txn_rev_raw_revenue := 0;

Line 1410: x_return_status := FND_API.G_RET_STS_ERROR;

1406: WHEN l_insufficient_parameters THEN
1407: IF g1_debug_mode = 'Y' THEN
1408: PA_DEBUG.Reset_Curr_Function;
1409: END IF;
1410: x_return_status := FND_API.G_RET_STS_ERROR;
1411: x_msg_count := 1;
1412: x_msg_data := 'PA_FCST_INSUFFICIENT_PARA';
1413: x_others_rejct_reason := 'PA_FCST_INSUFFICIENT_PARA';
1414:

Line 1419: x_return_status := FND_API.G_RET_STS_ERROR;

1415: WHEN l_raw_cost_null THEN
1416: IF g1_debug_mode = 'Y' THEN
1417: PA_DEBUG.Reset_Curr_Function;
1418: END IF;
1419: x_return_status := FND_API.G_RET_STS_ERROR;
1420: x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE';
1421: x_exp_func_raw_cost_rate := 0;
1422: x_exp_func_raw_cost := 0;
1423: WHEN l_raw_proj_cost_null THEN

Line 1427: x_return_status := FND_API.G_RET_STS_ERROR;

1423: WHEN l_raw_proj_cost_null THEN
1424: IF g1_debug_mode = 'Y' THEN
1425: PA_DEBUG.Reset_Curr_Function;
1426: END IF;
1427: x_return_status := FND_API.G_RET_STS_ERROR;
1428: x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE';
1429: /* Added for Org Forecasting */
1430: x_projfunc_raw_cost_rate := 0;
1431: x_projfunc_raw_cost := 0;

Line 1455: x_return_status := FND_API.G_RET_STS_ERROR;

1451: WHEN l_raw_revenue_null THEN
1452: IF g1_debug_mode = 'Y' THEN
1453: PA_DEBUG.Reset_Curr_Function;
1454: END IF;
1455: x_return_status := FND_API.G_RET_STS_ERROR;
1456: x_rev_rejct_reason := 'PA_FCST_NO_BILL_RATE';
1457: x_txn_rev_bill_rt := 0;
1458: x_txn_rev_raw_revenue := 0;
1459:

Line 1466: x_return_status := FND_API.G_RET_STS_ERROR;

1462: WHEN l_burdened_cost_null THEN
1463: IF g1_debug_mode = 'Y' THEN
1464: PA_DEBUG.Reset_Curr_Function;
1465: END IF;
1466: x_return_status := FND_API.G_RET_STS_ERROR;
1467: x_burdened_rejct_reason := 'PA_FCST_NO_COST_RATE';
1468: x_exp_func_burdened_cost_rate := 0;
1469: x_exp_func_burdened_cost := 0;
1470:

Line 1525: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1521: x_txn_rev_raw_revenue := null;
1522:
1523:
1524:
1525: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1526: x_error_msg := SUBSTR(SQLERRM,1,30);
1527: /* Checking error condition. Added for bug 2218386 */
1528: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
1529: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG',

Line 2453: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2449: --------------------------------------------
2450: -- Initialize the successful return status
2451: --------------------------------------------
2452:
2453: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2454: l_Schedule_type := 'COST';
2455:
2456: IF (l_calculate_cost_flag = 'Y') THEN /* Added this if to fix bug 2162965 */
2457: IF ( p_assignment_type = 'A') THEN

Line 2482: IF (l_x_return_status = FND_API.G_RET_STS_SUCCESS) 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
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;

Line 2777: x_return_status := FND_API.G_RET_STS_ERROR;

2773: WHEN l_insufficient_parameters THEN
2774: IF g1_debug_mode = 'Y' THEN
2775: PA_DEBUG.Reset_Curr_Function;
2776: END IF;
2777: x_return_status := FND_API.G_RET_STS_ERROR;
2778: x_msg_count := 1;
2779: x_msg_data := 'PA_FCST_INSUFFICIENT_PARA';
2780: WHEN l_job_not_found THEN
2781: IF g1_debug_mode = 'Y' THEN

Line 2784: x_return_status := FND_API.G_RET_STS_ERROR;

2780: WHEN l_job_not_found THEN
2781: IF g1_debug_mode = 'Y' THEN
2782: PA_DEBUG.Reset_Curr_Function;
2783: END IF;
2784: x_return_status := FND_API.G_RET_STS_ERROR;
2785: x_msg_count := 1;
2786: x_msg_data := 'PA_FCST_NO_JOB_FOUND';
2787: WHEN OTHERS THEN
2788: IF g1_debug_mode = 'Y' THEN

Line 2800: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2796: x_rev_currency_code := null;
2797: x_markup_percentage := null;
2798:
2799:
2800: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2801: x_msg_data := SUBSTR(SQLERRM,1,30);
2802: /* Checking error condition. Added for bug 2218386 */
2803: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2804: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG', /* Moved this here to fix bug 2434663 */

Line 3040: x_return_status := FND_API.G_RET_STS_SUCCESS;

3036: PA_DEBUG.g_err_stage := 'RT40 : Entering PA_RATE_PVT_PKG.Calc_Rate_Amount';
3037: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
3038: END IF;
3039:
3040: x_return_status := FND_API.G_RET_STS_SUCCESS;
3041: IF g1_debug_mode = 'Y' THEN
3042: PA_DEBUG.g_err_stage := 'RTS1 : Checking tab count '||TO_CHAR(NVL(p_rate_calc_date_tab.count,0));
3043: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
3044:

Line 3389: IF ( l_return_status = FND_API.G_RET_STS_ERROR ) THEN

3385: -- dbms_output.put_line(' I am in CALC RATE AMT ERROR : '||l_J ||x_cst_rejct_reason_tab(l_J));
3386: -- dbms_output.put_line(' I am in CALC RATE AMT ERROR 1 : '||l_J ||x_cst_rejct_reason_tab(l_J));
3387: -- dbms_output.put_line(' I am in CALC RATE AMOUNT ERROR : '||'l_cost_rejct_reason : '||x_cst_rejct_reason_tab(l_J));
3388: -- -- dbms_output.put_line(' I am in CALC RATE AMOUNT TXN : '||'txn bill : '||x_txn_rev_bill_rt_tab(l_J)||'txn revenue : '||x_txn_rev_raw_revenue_tab(l_J)||' txn cost : '||x_txn_raw_cst_tab(l_J)||' txn burden cost :'||x_txn_burdned_cst_tab(l_J));
3389: IF ( l_return_status = FND_API.G_RET_STS_ERROR ) THEN
3390: x_return_status := l_return_status;
3391: END IF;
3392: END IF; /* End of other rejection if }*/
3393: END IF; /* } End of if date is null */

Line 3413: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3409: WHEN OTHERS THEN
3410: IF g1_debug_mode = 'Y' THEN
3411: PA_DEBUG.Reset_Curr_Function;
3412: END IF;
3413: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3414: x_error_msg := SUBSTR(SQLERRM,1,30);
3415: /* Checking error condition. Added for bug 2218386 */
3416: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
3417: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG',