63:
64: l_rows_processed NUMBER;
65:
66: BEGIN
67: -- Standard start of API savepoint
68: SAVEPOINT Get_Invoices_PVT;
69:
70: -- Standard call to check for call compatibility
71: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
66: BEGIN
67: -- Standard start of API savepoint
68: SAVEPOINT Get_Invoices_PVT;
69:
70: -- Standard call to check for call compatibility
71: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
72: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
73: END IF;
74:
250: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
251: END IF;
252: END IF;
253:
254: -- Standard check of p_commit
255: IF FND_API.To_Boolean(p_commit) THEN
256: COMMIT WORK;
257: END IF;
258:
255: IF FND_API.To_Boolean(p_commit) THEN
256: COMMIT WORK;
257: END IF;
258:
259: -- Standard call to get message count and if count is 1, get message info
260: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count, p_data => x_msg_data);
261:
262: EXCEPTION
263: WHEN FND_API.G_EXC_ERROR THEN