DBA Data[Home] [Help]

APPS.PO_CO_TOLERANCES_PVT dependencies on FND_API

Line 46: -- FND_API.G_RET_STS_ERROR - for expected error

42: -- x_tolerances_tbl
43: -- Table containing the tolerances and their values
44: -- x_return_status
45: -- The standard OUT parameter giving return status of the API call.
46: -- FND_API.G_RET_STS_ERROR - for expected error
47: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
48: -- FND_API.G_RET_STS_SUCCESS - for success
49: -- x_msg_count
50: -- The count of number of messages added to the message list in this call

Line 47: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error

43: -- Table containing the tolerances and their values
44: -- x_return_status
45: -- The standard OUT parameter giving return status of the API call.
46: -- FND_API.G_RET_STS_ERROR - for expected error
47: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
48: -- FND_API.G_RET_STS_SUCCESS - for success
49: -- x_msg_count
50: -- The count of number of messages added to the message list in this call
51: -- x_msg_data

Line 48: -- FND_API.G_RET_STS_SUCCESS - for success

44: -- x_return_status
45: -- The standard OUT parameter giving return status of the API call.
46: -- FND_API.G_RET_STS_ERROR - for expected error
47: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
48: -- FND_API.G_RET_STS_SUCCESS - for success
49: -- x_msg_count
50: -- The count of number of messages added to the message list in this call
51: -- x_msg_data
52: -- If the count is 1 then x_msg_data contains the message returned

Line 82: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version,

78: END IF;
79:
80:
81: -- Version check
82: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version,
83: l_api_name, g_pkg_name)
84: THEN
85: RAISE fnd_api.g_exc_unexpected_error;
86: END IF;

Line 85: RAISE fnd_api.g_exc_unexpected_error;

81: -- Version check
82: IF NOT fnd_api.compatible_api_call (l_api_version, p_api_version,
83: l_api_name, g_pkg_name)
84: THEN
85: RAISE fnd_api.g_exc_unexpected_error;
86: END IF;
87:
88: -- Initialize message list if p_init_msg_list is set to TRUE.
89: IF fnd_api.to_boolean(p_init_msg_list ) THEN

Line 89: IF fnd_api.to_boolean(p_init_msg_list ) THEN

85: RAISE fnd_api.g_exc_unexpected_error;
86: END IF;
87:
88: -- Initialize message list if p_init_msg_list is set to TRUE.
89: IF fnd_api.to_boolean(p_init_msg_list ) THEN
90: fnd_msg_pub.initialize;
91: END IF;
92:
93:

Line 95: x_return_status := fnd_api.g_ret_sts_success;

91: END IF;
92:
93:
94: -- Initialize API return status to success
95: x_return_status := fnd_api.g_ret_sts_success;
96:
97: IF(p_change_order_type = po_co_tolerances_grp.g_supp_chg_app OR
98: p_change_order_type = po_co_tolerances_grp.g_rco_req_app OR
99: p_change_order_type = po_co_tolerances_grp.g_rco_int_req_app OR

Line 134: x_return_status := fnd_api.g_ret_sts_error;

130: po_debug.debug_var(l_log_head, l_progress,'Inside IF for type=', p_change_order_type);
131: END IF;
132:
133: ELSE
134: x_return_status := fnd_api.g_ret_sts_error;
135:
136: fnd_message.set_name ('PO', 'PO_TOL_INVALID_CHANGE_TYPE');
137: fnd_msg_pub.add;
138:

Line 153: x_return_status := fnd_api.g_ret_sts_success;

149:
150: EXCEPTION
151: WHEN no_data_found THEN
152: -- returns null when no data exists
153: x_return_status := fnd_api.g_ret_sts_success;
154:
155: WHEN OTHERS THEN
156: x_return_status := fnd_api.g_ret_sts_unexp_error;
157: fnd_message.set_name ('PO', 'PO_UNEXPECTED_ERROR');

Line 156: x_return_status := fnd_api.g_ret_sts_unexp_error;

152: -- returns null when no data exists
153: x_return_status := fnd_api.g_ret_sts_success;
154:
155: WHEN OTHERS THEN
156: x_return_status := fnd_api.g_ret_sts_unexp_error;
157: fnd_message.set_name ('PO', 'PO_UNEXPECTED_ERROR');
158: fnd_msg_pub.add;
159:
160: -- Get message count and if 1, return message data.