215: END convert_Amount;
216:
217: BEGIN
218:
219: -- Standard Start of API savepoint
220: SAVEPOINT Get_srp_wksht;
221: -- Standard call to check for call compatibility.
222: IF NOT FND_API.Compatible_API_Call (l_api_version, p_api_version,
223: l_api_name, G_PKG_NAME) THEN
217: BEGIN
218:
219: -- Standard Start of API savepoint
220: SAVEPOINT Get_srp_wksht;
221: -- Standard call to check for call compatibility.
222: IF NOT FND_API.Compatible_API_Call (l_api_version, p_api_version,
223: l_api_name, G_PKG_NAME) THEN
224: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
225: END IF;
502: END IF;
503: CLOSE wksht_cur;
504:
505: -- End of API body.
506: -- Standard check of p_commit.
507: IF FND_API.To_Boolean( p_commit ) THEN
508: COMMIT WORK;
509: END IF;
510:
508: COMMIT WORK;
509: END IF;
510:
511: --
512: -- Standard call to get message count and if count is 1, get message info.
513: --
514: FND_MSG_PUB.Count_And_Get
515: (p_count => x_msg_count,
516: p_data => x_msg_data,