DBA Data[Home] [Help]

APPS.PO_AP_INTEGRATION_PVT dependencies on FND_API

Line 28: -- FND_API.g_ret_sts_success -- if the procedure completed successfully

24: -- Operating unit ID that will be used to retrieve OU-specific invoice
25: -- numbering options
26: --OUT:
27: --x_return_status:
28: -- FND_API.g_ret_sts_success -- if the procedure completed successfully
29: -- FND_API.g_ret_sts_unexp_error -- if an unexpected error occurred
30: --x_msg_data:
31: -- Error message text in case of exception/error
32: --x_buying_company_identifier:

Line 29: -- FND_API.g_ret_sts_unexp_error -- if an unexpected error occurred

25: -- numbering options
26: --OUT:
27: --x_return_status:
28: -- FND_API.g_ret_sts_success -- if the procedure completed successfully
29: -- FND_API.g_ret_sts_unexp_error -- if an unexpected error occurred
30: --x_msg_data:
31: -- Error message text in case of exception/error
32: --x_buying_company_identifier:
33: -- Self-bill buying company identifier from the Purchasing Options of the

Line 58: IF NOT FND_API.compatible_api_call(l_api_version,

54: BEGIN
55: l_progress := '010';
56:
57: -- Standard call to check for call compatibility
58: IF NOT FND_API.compatible_api_call(l_api_version,
59: p_api_version,
60: l_api_name,
61: g_pkg_name) THEN
62: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 62: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

58: IF NOT FND_API.compatible_api_call(l_api_version,
59: p_api_version,
60: l_api_name,
61: g_pkg_name) THEN
62: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
63: END IF;
64:
65: x_return_status:= FND_API.g_ret_sts_success;
66: l_progress := '020';

Line 65: x_return_status:= FND_API.g_ret_sts_success;

61: g_pkg_name) THEN
62: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
63: END IF;
64:
65: x_return_status:= FND_API.g_ret_sts_success;
66: l_progress := '020';
67:
68: -- SQL What: Get invoice number options from PO system parameters
69: -- SQL Why: Need to pass back x_gapless_inv_num_flag and x_buying_company_identifier

Line 76: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

72: FROM PO_SYSTEM_PARAMETERS_ALL
73: WHERE org_id = p_org_id;
74:
75: EXCEPTION
76: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
77: x_gapless_inv_num_flag := 'N';
78: x_buying_company_identifier := NULL;
79: x_return_status := FND_API.g_ret_sts_unexp_error;
80: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,

Line 79: x_return_status := FND_API.g_ret_sts_unexp_error;

75: EXCEPTION
76: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
77: x_gapless_inv_num_flag := 'N';
78: x_buying_company_identifier := NULL;
79: x_return_status := FND_API.g_ret_sts_unexp_error;
80: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,
81: p_encoded => 'F');
82: WHEN OTHERS THEN
83: x_gapless_inv_num_flag := 'N';

Line 85: x_return_status := FND_API.g_ret_sts_unexp_error;

81: p_encoded => 'F');
82: WHEN OTHERS THEN
83: x_gapless_inv_num_flag := 'N';
84: x_buying_company_identifier := NULL;
85: x_return_status := FND_API.g_ret_sts_unexp_error;
86: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
87: FND_MSG_PUB.add_exc_msg(p_pkg_name => g_pkg_name,
88: p_procedure_name => l_api_name,
89: p_error_text => SUBSTRB(SQLERRM, 1, 200)