86: l_api_version CONSTANT NUMBER := 1.0;
87: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
88:
89: BEGIN
90: -- Standard Start of API savepoint
91: SAVEPOINT eam_org_maint_defaults_pvt;
92:
93: -- Standard call to check for call compatibility.
94: IF NOT fnd_api.compatible_api_call(
89: BEGIN
90: -- Standard Start of API savepoint
91: SAVEPOINT eam_org_maint_defaults_pvt;
92:
93: -- Standard call to check for call compatibility.
94: IF NOT fnd_api.compatible_api_call(
95: l_api_version
96: ,p_api_version
97: ,l_api_name
161: END;
162:
163: -- End of API body.
164:
165: -- Standard check of p_commit.
166: IF fnd_api.to_boolean(p_commit) THEN
167: COMMIT WORK;
168: END IF;
169:
166: IF fnd_api.to_boolean(p_commit) THEN
167: COMMIT WORK;
168: END IF;
169:
170: -- Standard call to get message count and if count is 1, get message info.
171: fnd_msg_pub.count_and_get(p_count => x_msg_count
172: ,p_data => x_msg_data);
173: EXCEPTION
174: WHEN fnd_api.g_exc_error THEN
218: l_api_version CONSTANT NUMBER := 1.0;
219: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
220:
221: BEGIN
222: -- Standard Start of API savepoint
223: SAVEPOINT eam_org_maint_defaults_pvt;
224:
225: -- Standard call to check for call compatibility.
226: IF NOT fnd_api.compatible_api_call(
221: BEGIN
222: -- Standard Start of API savepoint
223: SAVEPOINT eam_org_maint_defaults_pvt;
224:
225: -- Standard call to check for call compatibility.
226: IF NOT fnd_api.compatible_api_call(
227: l_api_version
228: ,p_api_version
229: ,l_api_name
271: END;
272:
273: -- End of API body.
274:
275: -- Standard check of p_commit.
276: IF fnd_api.to_boolean(p_commit) THEN
277: COMMIT WORK;
278: END IF;
279:
276: IF fnd_api.to_boolean(p_commit) THEN
277: COMMIT WORK;
278: END IF;
279:
280: -- Standard call to get message count and if count is 1, get message info.
281: fnd_msg_pub.count_and_get(p_count => x_msg_count
282: ,p_data => x_msg_data);
283: EXCEPTION
284: WHEN fnd_api.g_exc_error THEN
330: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
331: l_count NUMBER;
332:
333: BEGIN
334: -- Standard Start of API savepoint
335: SAVEPOINT eam_org_maint_defaults_pvt;
336:
337: -- Standard call to check for call compatibility.
338: IF NOT fnd_api.compatible_api_call(
333: BEGIN
334: -- Standard Start of API savepoint
335: SAVEPOINT eam_org_maint_defaults_pvt;
336:
337: -- Standard call to check for call compatibility.
338: IF NOT fnd_api.compatible_api_call(
339: l_api_version
340: ,p_api_version
341: ,l_api_name
405: END IF;
406:
407: -- End of API body.
408:
409: -- Standard check of p_commit.
410: IF fnd_api.to_boolean(p_commit) THEN
411: COMMIT WORK;
412: END IF;
413:
410: IF fnd_api.to_boolean(p_commit) THEN
411: COMMIT WORK;
412: END IF;
413:
414: -- Standard call to get message count and if count is 1, get message info.
415: fnd_msg_pub.count_and_get(p_count => x_msg_count
416: ,p_data => x_msg_data);
417: EXCEPTION
418: WHEN fnd_api.g_exc_error THEN