210: END LOOP;
211: END;
212: END IF;
213:
214: -- Standard check of p_commit
215: IF FND_API.To_Boolean(p_commit) THEN
216: COMMIT WORK;
217: END IF;
218:
215: IF FND_API.To_Boolean(p_commit) THEN
216: COMMIT WORK;
217: END IF;
218:
219: -- Standard call to get message count and if count is 1, get message info.
220: FND_MSG_PUB.Count_And_Get(
221: p_count => x_msg_count,
222: p_data => x_msg_data
223: );
311:
312:
313: BEGIN
314:
315: -- Standard Start of API savepoint
316: SAVEPOINT prepareMessageComponentII_pvt;
317:
318: -- Standard call to check for call compatibility.
319: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version_number, l_api_name, G_PKG_NAME)
314:
315: -- Standard Start of API savepoint
316: SAVEPOINT prepareMessageComponentII_pvt;
317:
318: -- Standard call to check for call compatibility.
319: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version_number, l_api_name, G_PKG_NAME)
320: then
321: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
322: END IF;
414: END;
415: END IF;
416:
417: --------- end of codes -------------------
418: -- Standard check of p_commit
419: IF FND_API.To_Boolean(p_commit) THEN
420: COMMIT WORK;
421: END IF;
422: