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 637: x_return_status := FND_API.G_RET_STS_ERROR;

633: /* Checking error condition. Added for bug 2218386 */
634: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
635: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
636: END IF;
637: x_return_status := FND_API.G_RET_STS_ERROR;
638: x_msg_count := 1;
639: x_msg_data := 'PA_FCST_NO_BILL_RATE';
640: WHEN OTHERS THEN
641: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 641: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

637: x_return_status := FND_API.G_RET_STS_ERROR;
638: x_msg_count := 1;
639: x_msg_data := 'PA_FCST_NO_BILL_RATE';
640: WHEN OTHERS THEN
641: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
642: x_msg_count := 1;
643: x_msg_data := SUBSTR(SQLERRM,1,30);
644:
645: /* ATG Changes */

Line 811: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

807: BEGIN
808:
809: -- Initializing return status with success so that if some unexpected error comes
810: -- , we change its status from succes to error so that we can take necessary step to rectify the problem
811: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
812: l_markup_percentage := NULL; /* Added for Asgmt overide */
813:
814: l_revenue_calculated_flag := 'N'; /* added for bug 2212852 */
815: l_item_quantity := 0; /* added for bug 2212852 */

Line 2332: x_return_status := FND_API.G_RET_STS_ERROR;

2328: /* Checking error condition. Added for bug 2218386 */
2329: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2330: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
2331: END IF;
2332: x_return_status := FND_API.G_RET_STS_ERROR;
2333: x_msg_count := 1;
2334: IF p_called_process IS NULL THEN
2335: x_msg_data := 'PA_FCST_NO_BILL_RATE';
2336: END IF;

Line 2338: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2334: IF p_called_process IS NULL THEN
2335: x_msg_data := 'PA_FCST_NO_BILL_RATE';
2336: END IF;
2337: WHEN OTHERS THEN
2338: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2339: x_msg_count := 1;
2340: x_msg_data := SUBSTR(SQLERRM,1,30);
2341:
2342: /* ATG Changes */

Line 2486: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2482:
2483:
2484: -- Initializing return status with success sothat if some unexpected error comes
2485: -- , we change its status from succes to error sothat we can take necessary step to rectify the problem
2486: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2487:
2488: -------------------------------------------------------------------------------
2489: -- Assigning the denorm raw revenue, rate and Project, Project Functional
2490: -- conversion attributes to local variables

Line 2665: x_return_status := FND_API.G_RET_STS_ERROR;

2661: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2662: PA_UTILS.add_message('PA', 'PA_MISSING_PRJFUNC_CURR');
2663: END IF;
2664:
2665: x_return_status := FND_API.G_RET_STS_ERROR;
2666: x_msg_count := 1;
2667: x_msg_data := 'PA_MISSING_PRJFUNC_CURR';
2668: WHEN l_invalid_txn_curr_code THEN
2669: px_txn_raw_revenue := 0;

Line 2680: x_return_status := FND_API.G_RET_STS_ERROR;

2676: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2677: PA_UTILS.add_message('PA', 'PA_REQUIRE_DENOM_CURR');
2678: END IF;
2679:
2680: x_return_status := FND_API.G_RET_STS_ERROR;
2681: x_msg_count := 1;
2682: x_msg_data := 'PA_REQUIRE_DENOM_CURR';
2683: WHEN l_invalid_proj_curr_code THEN
2684: px_txn_raw_revenue := 0;

Line 2695: x_return_status := FND_API.G_RET_STS_ERROR;

2691: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2692: PA_UTILS.add_message('PA', 'PA_MISSING_PROJ_CURR');
2693: END IF;
2694:
2695: x_return_status := FND_API.G_RET_STS_ERROR;
2696: x_msg_count := 1;
2697: x_msg_data := 'PA_MISSING_PROJ_CURR';
2698: WHEN l_conversion_fail THEN
2699: px_txn_raw_revenue := 0;

Line 2710: x_return_status := FND_API.G_RET_STS_ERROR;

2706: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
2707: PA_UTILS.add_message('PA', l_status||'_BC_PF');
2708: END IF;
2709:
2710: x_return_status := FND_API.G_RET_STS_ERROR;
2711: x_msg_count := 1;
2712: x_msg_data := l_status||'_BC_PF';
2713:
2714: WHEN OTHERS THEN

Line 2715: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2711: x_msg_count := 1;
2712: x_msg_data := l_status||'_BC_PF';
2713:
2714: WHEN OTHERS THEN
2715: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2716: x_msg_count := 1;
2717: x_msg_data := SUBSTR(SQLERRM,1,30);
2718:
2719: /* ATG Changes */

Line 2852: l_x_return_status := FND_API.G_RET_STS_SUCCESS;

2848: l_called_process :=2;
2849: END IF;
2850: -- Initializing return status with success so that if some unexpected error comes
2851: -- , we change its status from succes to error sothat we can take necessary step to rectify the problem
2852: l_x_return_status := FND_API.G_RET_STS_SUCCESS;
2853:
2854: /* Checking if the labor schedule type is indirect then calling other api
2855: otherwise following the steps given below { */
2856:

Line 4044: x_return_status := FND_API.G_RET_STS_ERROR;

4040:
4041: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN
4042: PA_UTILS.add_message('PA', 'PA_FCST_NO_BILL_RATE');
4043: END IF;
4044: x_return_status := FND_API.G_RET_STS_ERROR;
4045: x_msg_count := 1;
4046: IF g1_debug_mode = 'Y' THEN
4047: pa_debug.write_file('LOG','1.SQLERROR ' || SQLCODE);
4048: END IF;

Line 4052: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

4048: END IF;
4049:
4050: WHEN OTHERS THEN
4051: x_raw_revenue:= NULL;
4052: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4053: /* Added the following out parameters for Doosan rate api changes */
4054:
4055: x_bill_rate :=null;
4056: x_markup_percentage :=null;