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)
651: -- initialize message list
652: fnd_msg_pub.initialize;
653: END IF;
654:
655: -- Standard call to check for call compatibility.
656: IF NOT fnd_api.compatible_api_call (l_api_version_number,
657: p_api_version,
658: l_api_name,
659: g_pkg_name
987: END IF;
988:
989: -- Api body ends here
990:
991: -- Standard check of p_commit.
992: IF fnd_api.to_boolean (p_commit)
993: THEN
994: COMMIT WORK;
995: END IF;
993: THEN
994: COMMIT WORK;
995: END IF;
996:
997: -- Standard call to get message count and IF count is get message info.
998: fnd_msg_pub.count_and_get (p_count => x_msg_count,
999: p_data => x_msg_data);
1000:
1001: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
1235: -- initialize message list
1236: fnd_msg_pub.initialize;
1237: END IF;
1238:
1239: -- Standard call to check for call compatibility.
1240: IF NOT fnd_api.compatible_api_call (l_api_version_number,
1241: p_api_version,
1242: l_api_name,
1243: g_pkg_name
2028: ----------------------------------------------------------------------------
2029:
2030: -- Api body ends here
2031:
2032: -- Standard check of p_commit.
2033: IF fnd_api.to_boolean (p_commit)
2034: THEN
2035: COMMIT WORK;
2036: END IF;
2034: THEN
2035: COMMIT WORK;
2036: END IF;
2037:
2038: -- Standard call to get message count and IF count is get message info.
2039: fnd_msg_pub.count_and_get (p_count => x_msg_count,
2040: p_data => x_msg_data);
2041:
2042: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
2150: 'Entered CREATE_ITEM_INSTANCE'
2151: );
2152: END IF;
2153:
2154: -- Standard Start of API savepoint
2155: SAVEPOINT create_item_instance;
2156:
2157: -- Standard call to check for call compatibility.
2158: IF NOT fnd_api.compatible_api_call (l_api_version,
2153:
2154: -- Standard Start of API savepoint
2155: SAVEPOINT create_item_instance;
2156:
2157: -- Standard call to check for call compatibility.
2158: IF NOT fnd_api.compatible_api_call (l_api_version,
2159: p_api_version,
2160: -- l_api_name ,
2161: g_pkg_name,
2300: x_instance_id := l_instance_rec.instance_id;
2301: px_instance_rec.instance_id := l_instance_rec.instance_id;
2302: px_instance_rec.instance_number := l_instance_rec.instance_number;
2303:
2304: -- Standard check of p_commit.
2305: IF fnd_api.to_boolean (p_commit)
2306: THEN
2307: COMMIT WORK;
2308: END IF;
2306: THEN
2307: COMMIT WORK;
2308: END IF;
2309:
2310: -- Standard call to get message count and if count is 1, get message info.
2311: fnd_msg_pub.count_and_get (p_count => x_msg_count,
2312: p_data => x_msg_data);
2313:
2314: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)