31: -- x_tolerances_tbl
32: -- Table containing the tolerances and their values
33: -- x_return_status
34: -- The standard OUT parameter giving return status of the API call.
35: -- FND_API.G_RET_STS_ERROR - for expected error
36: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
37: -- FND_API.G_RET_STS_SUCCESS - for success
38: -- x_msg_count
39: -- The count of number of messages added to the message list in this call
32: -- Table containing the tolerances and their values
33: -- x_return_status
34: -- The standard OUT parameter giving return status of the API call.
35: -- FND_API.G_RET_STS_ERROR - for expected error
36: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
37: -- FND_API.G_RET_STS_SUCCESS - for success
38: -- x_msg_count
39: -- The count of number of messages added to the message list in this call
40: -- x_msg_data
33: -- x_return_status
34: -- The standard OUT parameter giving return status of the API call.
35: -- FND_API.G_RET_STS_ERROR - for expected error
36: -- FND_API.G_RET_STS_UNEXP_ERROR - for unexpected error
37: -- FND_API.G_RET_STS_SUCCESS - for success
38: -- x_msg_count
39: -- The count of number of messages added to the message list in this call
40: -- x_msg_data
41: -- If the count is 1 then x_msg_data contains the message returned
54: l_api_version CONSTANT NUMBER := 1.0;
55:
56: BEGIN
57: -- Standard API initialization
58: IF NOT FND_API.Compatible_API_Call (l_api_version, p_api_version,
59: l_api_name, G_PKG_NAME)
60: THEN
61: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
62: END IF;
57: -- Standard API initialization
58: IF NOT FND_API.Compatible_API_Call (l_api_version, p_api_version,
59: l_api_name, G_PKG_NAME)
60: THEN
61: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
62: END IF;
63:
64: -- Initialize message list if p_init_msg_list is set to TRUE.
65: IF FND_API.to_Boolean( p_init_msg_list ) THEN
61: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
62: END IF;
63:
64: -- Initialize message list if p_init_msg_list is set to TRUE.
65: IF FND_API.to_Boolean( p_init_msg_list ) THEN
66: FND_MSG_PUB.initialize;
67: END IF;
68:
69: -- Initialize API return status to success
66: FND_MSG_PUB.initialize;
67: END IF;
68:
69: -- Initialize API return status to success
70: x_return_status := FND_API.G_RET_STS_SUCCESS;
71:
72: -- Invoke call to retrieve tolerances
73: PO_CO_TOLERANCES_PVT.Get_Tolerances (p_api_version,
74: p_init_msg_list,