DBA Data[Home] [Help]

APPS.PO_SHARED_PROC_GRP dependencies on FND_API

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

41: -- p_destination_type_code VARCHAR2
42: -- : Destination Type Code specified on the distribution
43: --OUT:
44: --x_return_status
45: -- FND_API.g_ret_sts_success - if the procedure completed successfully
46: -- FND_API.g_ret_sts_error - if an error occurred
47: -- FND_API.g_ret_sts_unexp_error - unexpected error occurred
48: --x_is_shared_proc_scenario
49: -- 'Y' if it is a shared procurement scenario.

Line 46: -- FND_API.g_ret_sts_error - if an error occurred

42: -- : Destination Type Code specified on the distribution
43: --OUT:
44: --x_return_status
45: -- FND_API.g_ret_sts_success - if the procedure completed successfully
46: -- FND_API.g_ret_sts_error - if an error occurred
47: -- FND_API.g_ret_sts_unexp_error - unexpected error occurred
48: --x_is_shared_proc_scenario
49: -- 'Y' if it is a shared procurement scenario.
50: -- 'N' otherwise.

Line 47: -- FND_API.g_ret_sts_unexp_error - unexpected error occurred

43: --OUT:
44: --x_return_status
45: -- FND_API.g_ret_sts_success - if the procedure completed successfully
46: -- FND_API.g_ret_sts_error - if an error occurred
47: -- FND_API.g_ret_sts_unexp_error - unexpected error occurred
48: --x_is_shared_proc_scenario
49: -- 'Y' if it is a shared procurement scenario.
50: -- 'N' otherwise.
51: --Testing:

Line 76: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version,

72: l_return_status VARCHAR2(1);
73: l_is_shared_proc_scenario BOOLEAN;
74: BEGIN
75: -- Standard call to check for call compatibility
76: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version,
77: l_api_name, g_pkg_name) THEN
78: RAISE FND_API.g_exc_unexpected_error;
79: END IF;
80:

Line 78: RAISE FND_API.g_exc_unexpected_error;

74: BEGIN
75: -- Standard call to check for call compatibility
76: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version,
77: l_api_name, g_pkg_name) THEN
78: RAISE FND_API.g_exc_unexpected_error;
79: END IF;
80:
81: -- Start standard API initialization
82: IF FND_API.to_boolean(p_init_msg_list) THEN

Line 82: IF FND_API.to_boolean(p_init_msg_list) THEN

78: RAISE FND_API.g_exc_unexpected_error;
79: END IF;
80:
81: -- Start standard API initialization
82: IF FND_API.to_boolean(p_init_msg_list) THEN
83: FND_MSG_PUB.initialize;
84: END IF;
85:
86: -- Derive the Ship-to-OU ID from the p_ship_to_inv_org_id

Line 93: IF (l_return_status <> FND_API.g_ret_sts_success) THEN

89: x_coa_id => l_ship_to_ou_coa_id, -- OUT
90: x_ou_id => l_ship_to_ou_id, -- OUT
91: x_return_status => l_return_status); -- OUT
92:
93: IF (l_return_status <> FND_API.g_ret_sts_success) THEN
94: APP_EXCEPTION.raise_exception(
95: exception_type => 'SHARED_PROC_EXCEPTION',
96: exception_code => 0,
97: exception_text => 'PO_SHARED_PROC_PVT.' ||

Line 116: x_return_status := FND_API.g_ret_sts_success;

112: ELSE
113: x_is_shared_proc_scenario := 'N';
114: END IF;
115:
116: x_return_status := FND_API.g_ret_sts_success;
117:
118: EXCEPTION
119: WHEN FND_API.g_exc_error THEN
120: x_return_status := FND_API.g_ret_sts_error;

Line 119: WHEN FND_API.g_exc_error THEN

115:
116: x_return_status := FND_API.g_ret_sts_success;
117:
118: EXCEPTION
119: WHEN FND_API.g_exc_error THEN
120: x_return_status := FND_API.g_ret_sts_error;
121: WHEN FND_API.g_exc_unexpected_error THEN
122: x_return_status := FND_API.g_ret_sts_unexp_error;
123: WHEN OTHERS THEN

Line 120: x_return_status := FND_API.g_ret_sts_error;

116: x_return_status := FND_API.g_ret_sts_success;
117:
118: EXCEPTION
119: WHEN FND_API.g_exc_error THEN
120: x_return_status := FND_API.g_ret_sts_error;
121: WHEN FND_API.g_exc_unexpected_error THEN
122: x_return_status := FND_API.g_ret_sts_unexp_error;
123: WHEN OTHERS THEN
124: x_return_status := FND_API.g_ret_sts_unexp_error;

Line 121: WHEN FND_API.g_exc_unexpected_error THEN

117:
118: EXCEPTION
119: WHEN FND_API.g_exc_error THEN
120: x_return_status := FND_API.g_ret_sts_error;
121: WHEN FND_API.g_exc_unexpected_error THEN
122: x_return_status := FND_API.g_ret_sts_unexp_error;
123: WHEN OTHERS THEN
124: x_return_status := FND_API.g_ret_sts_unexp_error;
125: FND_MSG_PUB.add_exc_msg(p_pkg_name => g_pkg_name,

Line 122: x_return_status := FND_API.g_ret_sts_unexp_error;

118: EXCEPTION
119: WHEN FND_API.g_exc_error THEN
120: x_return_status := FND_API.g_ret_sts_error;
121: WHEN FND_API.g_exc_unexpected_error THEN
122: x_return_status := FND_API.g_ret_sts_unexp_error;
123: WHEN OTHERS THEN
124: x_return_status := FND_API.g_ret_sts_unexp_error;
125: FND_MSG_PUB.add_exc_msg(p_pkg_name => g_pkg_name,
126: p_procedure_name => l_api_name);

Line 124: x_return_status := FND_API.g_ret_sts_unexp_error;

120: x_return_status := FND_API.g_ret_sts_error;
121: WHEN FND_API.g_exc_unexpected_error THEN
122: x_return_status := FND_API.g_ret_sts_unexp_error;
123: WHEN OTHERS THEN
124: x_return_status := FND_API.g_ret_sts_unexp_error;
125: FND_MSG_PUB.add_exc_msg(p_pkg_name => g_pkg_name,
126: p_procedure_name => l_api_name);
127: END check_shared_proc_scenario;
128: