DBA Data[Home] [Help]

APPS.PO_DOCUMENT_ACTIONS_SV dependencies on FND_API

Line 82: IF NOT FND_API.Compatible_API_Call ( l_api_version ,

78: BEGIN
79: -- Standard Start of API savepoint
80: SAVEPOINT po_request_action_bulk_sp;
81: -- Standard Call to check for call compatibility
82: IF NOT FND_API.Compatible_API_Call ( l_api_version ,
83: p_api_version ,
84: l_api_name ,
85: G_PKG_NAME )
86: THEN

Line 88: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

84: l_api_name ,
85: G_PKG_NAME )
86: THEN
87: x_error_message := 'API version check raised exception';
88: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
89: END IF;
90:
91: -- API body
92: -- First lets get the bulk collects for org_id, l_doc_sub_type,

Line 174: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

170: -- some reason l_return_code is not getting set.
171: -- Doc Manager Rewrite: also check for STATE_FAILED return code
172: IF(l_ret_sts <> 'S') THEN
173: x_error_message := l_error_message;
174: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
175: ELSIF (l_return_code = 'STATE_FAILED') THEN
176: x_error_message := 'Document state check failed.';
177: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
178: ELSE

Line 177: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

173: x_error_message := l_error_message;
174: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
175: ELSIF (l_return_code = 'STATE_FAILED') THEN
176: x_error_message := 'Document state check failed.';
177: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
178: ELSE
179: x_result := 1;
180: END IF;
181:

Line 217: WHEN FND_API.G_EXC_ERROR THEN

213: END LOOP;
214:
215: -- End of API body
216: EXCEPTION
217: WHEN FND_API.G_EXC_ERROR THEN
218: ROLLBACK TO po_request_action_bulk_sp;
219: IF(x_error_message is null) THEN
220: x_error_message := 'In Expected error of po_request_action_bulk';
221: END IF;

Line 223: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

219: IF(x_error_message is null) THEN
220: x_error_message := 'In Expected error of po_request_action_bulk';
221: END IF;
222: x_result := -1;
223: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
224: ROLLBACK TO po_request_action_bulk_sp;
225: IF(x_error_message is null) THEN
226: x_error_message := 'In Unexpected error';
227: END IF;

Line 460: IF l_return_status IN (FND_API.g_ret_sts_SUCCESS,

456: Info_Request := NULL;
457: Document_Status := NULL;
458:
459:
460: IF l_return_status IN (FND_API.g_ret_sts_SUCCESS,
461: FND_API.g_ret_sts_ERROR) THEN
462: IF action IN ('IGC YEAR END RESERVE', 'IGC YEAR END UNRESERVE') THEN
463:
464: -- CBC expects the encumbrance code to commit, unless

Line 461: FND_API.g_ret_sts_ERROR) THEN

457: Document_Status := NULL;
458:
459:
460: IF l_return_status IN (FND_API.g_ret_sts_SUCCESS,
461: FND_API.g_ret_sts_ERROR) THEN
462: IF action IN ('IGC YEAR END RESERVE', 'IGC YEAR END UNRESERVE') THEN
463:
464: -- CBC expects the encumbrance code to commit, unless
465: -- there was a SQL/fatal error