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 943: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_exp_func_raw_cost,0) = 0) THEN

939:
940: END IF;
941:
942: -- Validating that the called procedure has run without error , if not,then not calling others
943: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_exp_func_raw_cost,0) = 0) THEN
944:
945: -- dbms_output.put_line('in error of raw cost ');
946: /* Commented this for bug 2199203 and write the other one */
947: /* x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE'; */

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

1043: l_msg_data := 'PA_FCST_NO_COST_RATE';
1044: END IF; /* Added for Org forecasting */
1045:
1046: -- Validating that the called procedure has run without error , if not,then not calling others
1047: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(x_exp_func_burdened_cost,0) = 0) THEN
1048:
1049: /* Commented this for bug 2199203 and write the other one */
1050: /* x_burdened_rejct_reason := 'PA_FCST_NO_COST_RATE'; */
1051: x_burdened_rejct_reason := SUBSTR(l_msg_data,1,30);

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

1161:
1162: END IF; -- Added for Org Forecasting
1163:
1164: -- Validating that the called procedure has run without error , if not,then not calling others
1165: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_cost,0) = 0 ) THEN
1166:
1167: -- 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
1168: -- ||' proj rate '||x_projfunc_raw_cost_rate||' proj bur co '||x_projfunc_burdened_cost||' proj bur rate '||x_projfunc_burdened_cost_rate);
1169:

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

1364: END IF; /* End of calling mode if */
1365:
1366:
1367: -- Validating that the called procedure has run without error , if not,then not calling others
1368: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_txn_rev_raw_revenue,0) = 0) THEN
1369:
1370: /* Commented this for bug 2199203 and write the other one */
1371: /* x_rev_rejct_reason := 'PA_FCST_NO_BILL_RATE'; */
1372: x_rev_rejct_reason := SUBSTR(l_msg_data,1,30);

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

1426: -- dbms_output.put_line(' after revenue conversion ');
1427: END IF;
1428:
1429: -- Validating that the called procedure has run without error , if not,then not calling others
1430: IF (l_x_return_status <> FND_API.G_RET_STS_SUCCESS) OR (NVL(l_projfunc_raw_revenue,0) = 0) THEN
1431:
1432: x_rev_rejct_reason := SUBSTR(l_msg_data,1,30);
1433: x_txn_rev_bill_rt := 0;
1434: x_txn_rev_raw_revenue := 0;

Line 1479: x_return_status := FND_API.G_RET_STS_ERROR;

1475: WHEN l_insufficient_parameters THEN
1476: IF g1_debug_mode = 'Y' THEN
1477: PA_DEBUG.Reset_Curr_Function;
1478: END IF;
1479: x_return_status := FND_API.G_RET_STS_ERROR;
1480: x_msg_count := 1;
1481: x_msg_data := 'PA_FCST_INSUFFICIENT_PARA';
1482: x_others_rejct_reason := 'PA_FCST_INSUFFICIENT_PARA';
1483:

Line 1488: x_return_status := FND_API.G_RET_STS_ERROR;

1484: WHEN l_raw_cost_null THEN
1485: IF g1_debug_mode = 'Y' THEN
1486: PA_DEBUG.Reset_Curr_Function;
1487: END IF;
1488: x_return_status := FND_API.G_RET_STS_ERROR;
1489: x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE';
1490: x_exp_func_raw_cost_rate := 0;
1491: x_exp_func_raw_cost := 0;
1492: WHEN l_raw_proj_cost_null THEN

Line 1496: x_return_status := FND_API.G_RET_STS_ERROR;

1492: WHEN l_raw_proj_cost_null THEN
1493: IF g1_debug_mode = 'Y' THEN
1494: PA_DEBUG.Reset_Curr_Function;
1495: END IF;
1496: x_return_status := FND_API.G_RET_STS_ERROR;
1497: x_cost_rejct_reason := 'PA_FCST_NO_COST_RATE';
1498: /* Added for Org Forecasting */
1499: x_projfunc_raw_cost_rate := 0;
1500: x_projfunc_raw_cost := 0;

Line 1524: x_return_status := FND_API.G_RET_STS_ERROR;

1520: WHEN l_raw_revenue_null THEN
1521: IF g1_debug_mode = 'Y' THEN
1522: PA_DEBUG.Reset_Curr_Function;
1523: END IF;
1524: x_return_status := FND_API.G_RET_STS_ERROR;
1525: x_rev_rejct_reason := 'PA_FCST_NO_BILL_RATE';
1526: x_txn_rev_bill_rt := 0;
1527: x_txn_rev_raw_revenue := 0;
1528:

Line 1535: x_return_status := FND_API.G_RET_STS_ERROR;

1531: WHEN l_burdened_cost_null THEN
1532: IF g1_debug_mode = 'Y' THEN
1533: PA_DEBUG.Reset_Curr_Function;
1534: END IF;
1535: x_return_status := FND_API.G_RET_STS_ERROR;
1536: x_burdened_rejct_reason := 'PA_FCST_NO_COST_RATE';
1537: x_exp_func_burdened_cost_rate := 0;
1538: x_exp_func_burdened_cost := 0;
1539:

Line 1594: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1590: x_txn_rev_raw_revenue := null;
1591:
1592:
1593:
1594: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1595: x_error_msg := SUBSTR(SQLERRM,1,30);
1596: /* Checking error condition. Added for bug 2218386 */
1597: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
1598: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG',

Line 2522: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2518: --------------------------------------------
2519: -- Initialize the successful return status
2520: --------------------------------------------
2521:
2522: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2523: l_Schedule_type := 'COST';
2524:
2525: IF (l_calculate_cost_flag = 'Y') THEN /* Added this if to fix bug 2162965 */
2526: IF ( p_assignment_type = 'A') THEN

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

Line 2907: x_return_status := FND_API.G_RET_STS_ERROR;

2903: WHEN l_insufficient_parameters THEN
2904: IF g1_debug_mode = 'Y' THEN
2905: PA_DEBUG.Reset_Curr_Function;
2906: END IF;
2907: x_return_status := FND_API.G_RET_STS_ERROR;
2908: x_msg_count := 1;
2909: x_msg_data := 'PA_FCST_INSUFFICIENT_PARA';
2910: WHEN l_job_not_found THEN
2911: IF g1_debug_mode = 'Y' THEN

Line 2914: x_return_status := FND_API.G_RET_STS_ERROR;

2910: WHEN l_job_not_found THEN
2911: IF g1_debug_mode = 'Y' THEN
2912: PA_DEBUG.Reset_Curr_Function;
2913: END IF;
2914: x_return_status := FND_API.G_RET_STS_ERROR;
2915: x_msg_count := 1;
2916: x_msg_data := 'PA_FCST_NO_JOB_FOUND';
2917: WHEN OTHERS THEN
2918: IF g1_debug_mode = 'Y' THEN

Line 2930: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2926: x_rev_currency_code := null;
2927: x_markup_percentage := null;
2928:
2929:
2930: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2931: x_msg_data := SUBSTR(SQLERRM,1,30);
2932: /* Checking error condition. Added for bug 2218386 */
2933: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2934: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG', /* Moved this here to fix bug 2434663 */

Line 3170: x_return_status := FND_API.G_RET_STS_SUCCESS;

3166: PA_DEBUG.g_err_stage := 'RT40 : Entering PA_RATE_PVT_PKG.Calc_Rate_Amount';
3167: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
3168: END IF;
3169:
3170: x_return_status := FND_API.G_RET_STS_SUCCESS;
3171: IF g1_debug_mode = 'Y' THEN
3172: PA_DEBUG.g_err_stage := 'RTS1 : Checking tab count '||TO_CHAR(NVL(p_rate_calc_date_tab.count,0));
3173: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
3174:

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

3523: -- dbms_output.put_line(' I am in CALC RATE AMT ERROR : '||l_J ||x_cst_rejct_reason_tab(l_J));
3524: -- dbms_output.put_line(' I am in CALC RATE AMT ERROR 1 : '||l_J ||x_cst_rejct_reason_tab(l_J));
3525: -- dbms_output.put_line(' I am in CALC RATE AMOUNT ERROR : '||'l_cost_rejct_reason : '||x_cst_rejct_reason_tab(l_J));
3526: -- -- 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));
3527: IF ( l_return_status = FND_API.G_RET_STS_ERROR ) THEN
3528: x_return_status := l_return_status;
3529: END IF;
3530: END IF; /* End of other rejection if }*/
3531: END IF; /* } End of if date is null */

Line 3551: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3547: WHEN OTHERS THEN
3548: IF g1_debug_mode = 'Y' THEN
3549: PA_DEBUG.Reset_Curr_Function;
3550: END IF;
3551: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3552: x_error_msg := SUBSTR(SQLERRM,1,30);
3553: /* Checking error condition. Added for bug 2218386 */
3554: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
3555: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_RATE_PVT_PKG',