91: l_api_version CONSTANT NUMBER := 1.0;
92: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
93:
94: BEGIN
95: -- Standard Start of API savepoint
96: SAVEPOINT eam_org_maint_defaults_pvt;
97:
98: -- Standard call to check for call compatibility.
99: IF NOT fnd_api.compatible_api_call(
94: BEGIN
95: -- Standard Start of API savepoint
96: SAVEPOINT eam_org_maint_defaults_pvt;
97:
98: -- Standard call to check for call compatibility.
99: IF NOT fnd_api.compatible_api_call(
100: l_api_version
101: ,p_api_version
102: ,l_api_name
176: END;
177:
178: -- End of API body.
179:
180: -- Standard check of p_commit.
181: IF fnd_api.to_boolean(p_commit) THEN
182: COMMIT WORK;
183: END IF;
184:
181: IF fnd_api.to_boolean(p_commit) THEN
182: COMMIT WORK;
183: END IF;
184:
185: -- Standard call to get message count and if count is 1, get message info.
186: fnd_msg_pub.count_and_get(p_count => x_msg_count
187: ,p_data => x_msg_data);
188: EXCEPTION
189: WHEN fnd_api.g_exc_error THEN
238: l_api_version CONSTANT NUMBER := 1.0;
239: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
240:
241: BEGIN
242: -- Standard Start of API savepoint
243: SAVEPOINT eam_org_maint_defaults_pvt;
244:
245: -- Standard call to check for call compatibility.
246: IF NOT fnd_api.compatible_api_call(
241: BEGIN
242: -- Standard Start of API savepoint
243: SAVEPOINT eam_org_maint_defaults_pvt;
244:
245: -- Standard call to check for call compatibility.
246: IF NOT fnd_api.compatible_api_call(
247: l_api_version
248: ,p_api_version
249: ,l_api_name
296: END;
297:
298: -- End of API body.
299:
300: -- Standard check of p_commit.
301: IF fnd_api.to_boolean(p_commit) THEN
302: COMMIT WORK;
303: END IF;
304:
301: IF fnd_api.to_boolean(p_commit) THEN
302: COMMIT WORK;
303: END IF;
304:
305: -- Standard call to get message count and if count is 1, get message info.
306: fnd_msg_pub.count_and_get(p_count => x_msg_count
307: ,p_data => x_msg_data);
308: EXCEPTION
309: WHEN fnd_api.g_exc_error THEN
360: l_full_name CONSTANT VARCHAR2(60) := g_pkg_name || '.' || l_api_name;
361: l_count NUMBER;
362:
363: BEGIN
364: -- Standard Start of API savepoint
365: SAVEPOINT eam_org_maint_defaults_pvt;
366:
367: -- Standard call to check for call compatibility.
368: IF NOT fnd_api.compatible_api_call(
363: BEGIN
364: -- Standard Start of API savepoint
365: SAVEPOINT eam_org_maint_defaults_pvt;
366:
367: -- Standard call to check for call compatibility.
368: IF NOT fnd_api.compatible_api_call(
369: l_api_version
370: ,p_api_version
371: ,l_api_name
445: END IF;
446:
447: -- End of API body.
448:
449: -- Standard check of p_commit.
450: IF fnd_api.to_boolean(p_commit) THEN
451: COMMIT WORK;
452: END IF;
453:
450: IF fnd_api.to_boolean(p_commit) THEN
451: COMMIT WORK;
452: END IF;
453:
454: -- Standard call to get message count and if count is 1, get message info.
455: fnd_msg_pub.count_and_get(p_count => x_msg_count
456: ,p_data => x_msg_data);
457: EXCEPTION
458: WHEN fnd_api.g_exc_error THEN