273:
274: --Verify that there are document under category for Document Mapping
275: BEGIN
276:
277: --Standard begin of API savepoint
278: SAVEPOINT Auto_Process_Email_PUB;
279:
280: -- Standard call to check for call compatibility.
281: IF NOT FND_API.Compatible_API_Call(
276:
277: --Standard begin of API savepoint
278: SAVEPOINT Auto_Process_Email_PUB;
279:
280: -- Standard call to check for call compatibility.
281: IF NOT FND_API.Compatible_API_Call(
282: l_api_version_number,
283: p_api_version_number,
284: l_api_name,
824: --==========--
825: --End of API--
826: --==========--
827:
828: --Standard check of p_commit
829: If FND_API.To_Boolean(p_commit) then
830: COMMIT WORK;
831: End if;
832:
829: If FND_API.To_Boolean(p_commit) then
830: COMMIT WORK;
831: End if;
832:
833: --Standard call to get message count and if count is 1 then get message info
834: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count, p_data => x_msg_data);
835:
836: EXCEPTION
837: when NO_DATA_FOUND THEN