DBA Data[Home] [Help]

APPS.PA_REVENUE dependencies on FND_API

Line 174: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

170:
171:
172: -- Initializing return status with success sothat if some unexpected error comes
173: -- , we change its status from succes to error sothat we can take necessary step to rectify the problem
174: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
175: l_adjusted_revenue := NULL;
176: l_markup_percentage := NULL; /* Added for Asgmt overide */
177:
178: l_revenue_calculated_flag := 'N'; /* added for bug 2212852 */

Line 628: x_return_status := FND_API.G_RET_STS_ERROR;

624: /* Checking error condition. Added for bug 2218386 */
625: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
626: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
627: END IF;
628: x_return_status := FND_API.G_RET_STS_ERROR;
629: x_msg_count := 1;
630: x_msg_data := 'PA_FCST_NO_BILL_RATE';
631: WHEN OTHERS THEN
632: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 632: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

628: x_return_status := FND_API.G_RET_STS_ERROR;
629: x_msg_count := 1;
630: x_msg_data := 'PA_FCST_NO_BILL_RATE';
631: WHEN OTHERS THEN
632: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
633: x_msg_count := 1;
634: x_msg_data := SUBSTR(SQLERRM,1,30);
635:
636: /* ATG Changes */

Line 802: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

798: BEGIN
799:
800: -- Initializing return status with success so that if some unexpected error comes
801: -- , we change its status from succes to error so that we can take necessary step to rectify the problem
802: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
803: l_markup_percentage := NULL; /* Added for Asgmt overide */
804:
805: l_revenue_calculated_flag := 'N'; /* added for bug 2212852 */
806: l_item_quantity := 0; /* added for bug 2212852 */

Line 2312: x_return_status := FND_API.G_RET_STS_ERROR;

2308: /* Checking error condition. Added for bug 2218386 */
2309: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2310: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
2311: END IF;
2312: x_return_status := FND_API.G_RET_STS_ERROR;
2313: x_msg_count := 1;
2314: IF p_called_process IS NULL THEN
2315: x_msg_data := 'PA_FCST_NO_BILL_RATE';
2316: END IF;

Line 2318: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2314: IF p_called_process IS NULL THEN
2315: x_msg_data := 'PA_FCST_NO_BILL_RATE';
2316: END IF;
2317: WHEN OTHERS THEN
2318: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2319: x_msg_count := 1;
2320: x_msg_data := SUBSTR(SQLERRM,1,30);
2321:
2322: /* ATG Changes */

Line 2466: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2462:
2463:
2464: -- Initializing return status with success sothat if some unexpected error comes
2465: -- , we change its status from succes to error sothat we can take necessary step to rectify the problem
2466: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2467:
2468: -------------------------------------------------------------------------------
2469: -- Assigning the denorm raw revenue, rate and Project, Project Functional
2470: -- conversion attributes to local variables

Line 2645: x_return_status := FND_API.G_RET_STS_ERROR;

2641: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2642: PA_UTILS.add_message('PA', 'PA_MISSING_PRJFUNC_CURR');
2643: END IF;
2644:
2645: x_return_status := FND_API.G_RET_STS_ERROR;
2646: x_msg_count := 1;
2647: x_msg_data := 'PA_MISSING_PRJFUNC_CURR';
2648: WHEN l_invalid_txn_curr_code THEN
2649: px_txn_raw_revenue := 0;

Line 2660: x_return_status := FND_API.G_RET_STS_ERROR;

2656: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2657: PA_UTILS.add_message('PA', 'PA_REQUIRE_DENOM_CURR');
2658: END IF;
2659:
2660: x_return_status := FND_API.G_RET_STS_ERROR;
2661: x_msg_count := 1;
2662: x_msg_data := 'PA_REQUIRE_DENOM_CURR';
2663: WHEN l_invalid_proj_curr_code THEN
2664: px_txn_raw_revenue := 0;

Line 2675: x_return_status := FND_API.G_RET_STS_ERROR;

2671: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2672: PA_UTILS.add_message('PA', 'PA_MISSING_PROJ_CURR');
2673: END IF;
2674:
2675: x_return_status := FND_API.G_RET_STS_ERROR;
2676: x_msg_count := 1;
2677: x_msg_data := 'PA_MISSING_PROJ_CURR';
2678: WHEN l_conversion_fail THEN
2679: px_txn_raw_revenue := 0;

Line 2690: x_return_status := FND_API.G_RET_STS_ERROR;

2686: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2687: PA_UTILS.add_message('PA', l_status||'_BC_PF');
2688: END IF;
2689:
2690: x_return_status := FND_API.G_RET_STS_ERROR;
2691: x_msg_count := 1;
2692: x_msg_data := l_status||'_BC_PF';
2693:
2694: WHEN OTHERS THEN

Line 2695: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2691: x_msg_count := 1;
2692: x_msg_data := l_status||'_BC_PF';
2693:
2694: WHEN OTHERS THEN
2695: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2696: x_msg_count := 1;
2697: x_msg_data := SUBSTR(SQLERRM,1,30);
2698:
2699: /* ATG Changes */

Line 2832: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2828: l_called_process :=2;
2829: END IF;
2830: -- Initializing return status with success so that if some unexpected error comes
2831: -- , we change its status from succes to error sothat we can take necessary step to rectify the problem
2832: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2833:
2834: /* Checking if the labor schedule type is indirect then calling other api
2835: otherwise following the steps given below { */
2836:

Line 4018: x_return_status := FND_API.G_RET_STS_ERROR;

4014:
4015: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
4016: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
4017: END IF;
4018: x_return_status := FND_API.G_RET_STS_ERROR;
4019: x_msg_count := 1;
4020: IF g1_debug_mode = 'Y' THEN
4021: pa_debug.write_file('LOG','1.SQLERROR ' || SQLCODE);
4022: END IF;

Line 4026: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

4022: END IF;
4023:
4024: WHEN OTHERS THEN
4025: x_raw_revenue:= NULL;
4026: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4027: /* Added the following out parameters for Doosan rate api changes */
4028:
4029: x_bill_rate :=null;
4030: x_markup_percentage :=null;