167: RAISE FND_API.G_EXC_ERROR;
168: end if;
169:
170: -- Validate the serial uniqueness specified in the MTL Parameters
171: eam_asset_number_pvt.serial_check(
172: p_api_version => 1.0,
173: x_return_status => l_return_status,
174: x_msg_count => errCount,
175: x_msg_data => errMsg,
270: RAISE FND_API.G_EXC_ERROR;
271: END IF;
272: END IF;
273:
274: eam_asset_number_pvt.create_asset
275: (
276: P_API_VERSION => P_API_VERSION
277: ,p_init_msg_list => p_init_msg_list
278: ,p_commit => p_commit
659: RAISE FND_API.G_EXC_ERROR;
660: end if;
661: end if;
662:
663: EAM_ASSET_NUMBER_PVT.update_asset
664: (
665: P_API_VERSION => 1.0
666: ,P_INSTANCE_ID => l_instance_id
667: ,P_INSTANCE_DESCRIPTION => P_DESCRIPTIVE_TEXT