112: -- initialize message list
113: fnd_msg_pub.initialize;
114: END IF;
115:
116: -- Standard call to check for call compatibility.
117: IF NOT fnd_api.compatible_api_call (l_api_version_number,
118: p_api_version,
119: l_api_name,
120: g_pkg_name
494: END IF;
495:
496: -- Api body ends here
497:
498: -- Standard check of p_commit.
499: IF fnd_api.to_boolean (p_commit)
500: THEN
501: COMMIT WORK;
502: END IF;
500: THEN
501: COMMIT WORK;
502: END IF;
503:
504: -- Standard call to get message count and IF count is get message info.
505: fnd_msg_pub.count_and_get (p_count => x_msg_count,
506: p_data => x_msg_data);
507:
508: IF (fnd_log.level_procedure >= l_debug_level)
652: -- initialize message list
653: fnd_msg_pub.initialize;
654: END IF;
655:
656: -- Standard call to check for call compatibility.
657: IF NOT fnd_api.compatible_api_call (l_api_version_number,
658: p_api_version,
659: l_api_name,
660: g_pkg_name
993: END IF;
994:
995: -- Api body ends here
996:
997: -- Standard check of p_commit.
998: IF fnd_api.to_boolean (p_commit)
999: THEN
1000: COMMIT WORK;
1001: END IF;
999: THEN
1000: COMMIT WORK;
1001: END IF;
1002:
1003: -- Standard call to get message count and IF count is get message info.
1004: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1005: p_data => x_msg_data);
1006:
1007: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
1241: -- initialize message list
1242: fnd_msg_pub.initialize;
1243: END IF;
1244:
1245: -- Standard call to check for call compatibility.
1246: IF NOT fnd_api.compatible_api_call (l_api_version_number,
1247: p_api_version,
1248: l_api_name,
1249: g_pkg_name
2034: ----------------------------------------------------------------------------
2035:
2036: -- Api body ends here
2037:
2038: -- Standard check of p_commit.
2039: IF fnd_api.to_boolean (p_commit)
2040: THEN
2041: COMMIT WORK;
2042: END IF;
2040: THEN
2041: COMMIT WORK;
2042: END IF;
2043:
2044: -- Standard call to get message count and IF count is get message info.
2045: fnd_msg_pub.count_and_get (p_count => x_msg_count,
2046: p_data => x_msg_data);
2047:
2048: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
2156: 'Entered CREATE_ITEM_INSTANCE'
2157: );
2158: END IF;
2159:
2160: -- Standard Start of API savepoint
2161: SAVEPOINT create_item_instance;
2162:
2163: -- Standard call to check for call compatibility.
2164: IF NOT fnd_api.compatible_api_call (l_api_version,
2159:
2160: -- Standard Start of API savepoint
2161: SAVEPOINT create_item_instance;
2162:
2163: -- Standard call to check for call compatibility.
2164: IF NOT fnd_api.compatible_api_call (l_api_version,
2165: p_api_version,
2166: -- l_api_name ,
2167: g_pkg_name,
2317: x_instance_id := l_instance_rec.instance_id;
2318: px_instance_rec.instance_id := l_instance_rec.instance_id;
2319: px_instance_rec.instance_number := l_instance_rec.instance_number;
2320:
2321: -- Standard check of p_commit.
2322: IF fnd_api.to_boolean (p_commit)
2323: THEN
2324: COMMIT WORK;
2325: END IF;
2323: THEN
2324: COMMIT WORK;
2325: END IF;
2326:
2327: -- Standard call to get message count and if count is 1, get message info.
2328: fnd_msg_pub.count_and_get (p_count => x_msg_count,
2329: p_data => x_msg_data);
2330:
2331: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)