DBA Data[Home] [Help]

APPS.GMF_PROCESS_COST_PUB dependencies on FND_API

Line 59: x_return_status := FND_API.G_RET_STS_SUCCESS;

55: l_cost_component_class_id cm_cmpt_mst.cost_cmpntcls_id%TYPE;
56: l_cost_analysis_code cm_alys_mst.cost_analysis_code%TYPE;
57: l_ret_val NUMBER;
58: BEGIN
59: x_return_status := FND_API.G_RET_STS_SUCCESS;
60:
61: IF (p_inventory_item_id IS NULL OR p_organization_id IS NULL OR p_transaction_date IS NULL) THEN
62: x_return_status := FND_API.G_RET_STS_ERROR;
63: x_msg_data := 'Invalid Parameters';

Line 62: x_return_status := FND_API.G_RET_STS_ERROR;

58: BEGIN
59: x_return_status := FND_API.G_RET_STS_SUCCESS;
60:
61: IF (p_inventory_item_id IS NULL OR p_organization_id IS NULL OR p_transaction_date IS NULL) THEN
62: x_return_status := FND_API.G_RET_STS_ERROR;
63: x_msg_data := 'Invalid Parameters';
64: RETURN;
65: END IF;
66:

Line 88: x_return_status := FND_API.G_RET_STS_ERROR;

84: AND gfp.delete_mark = 0
85: ;
86: EXCEPTION
87: WHEN NO_DATA_FOUND THEN
88: x_return_status := FND_API.G_RET_STS_ERROR;
89: x_msg_data := 'Invalid value for organization parameter or Invalid Cost Type or Invalid Fiscal Policy';
90: RETURN;
91: END;
92: /* If it is a lot cost type then its not supported */

Line 94: x_return_status := FND_API.G_RET_STS_ERROR;

90: RETURN;
91: END;
92: /* If it is a lot cost type then its not supported */
93: IF (l_cost_type = 6) THEN
94: x_return_status := FND_API.G_RET_STS_ERROR;
95: x_msg_data := 'Lot Cost Type is not applicable to retrieve Prior Period Cost';
96: RETURN;
97: END IF;
98:

Line 106: x_return_status := FND_API.G_RET_STS_ERROR;

102: FETCH cur_get_prior_period INTO l_prior_period_end_date;
103: CLOSE cur_get_prior_period;
104:
105: IF (l_prior_period_end_date IS NULL) THEN
106: x_return_status := FND_API.G_RET_STS_ERROR;
107: x_msg_data := 'No Prior Period for current transaction date.';
108: RETURN;
109: END IF;
110:

Line 115: , fnd_api.g_true

111: /* Call get cost routine from here */
112:
113: l_ret_val := GMF_CMCOMMON.Get_Process_Item_Cost (
114: 1.0
115: , fnd_api.g_true
116: , x_return_status
117: , l_msg_count
118: , x_msg_data
119: , p_inventory_item_id