354:
355: WHEN csi_asset_rec_not_found THEN
356: ROLLBACK TO initiate_capitalization;
357: x_return_status := FND_API.G_RET_STS_ERROR ;
358: fnd_message.set_name('EAM','EAM_CSI_REC_NOT_FOUND');
359: x_msg_data := fnd_message.get;
360: x_msg_count := 1;
361:
362: WHEN cost_not_defined THEN
355: WHEN csi_asset_rec_not_found THEN
356: ROLLBACK TO initiate_capitalization;
357: x_return_status := FND_API.G_RET_STS_ERROR ;
358: fnd_message.set_name('EAM','EAM_CSI_REC_NOT_FOUND');
359: x_msg_data := fnd_message.get;
360: x_msg_count := 1;
361:
362: WHEN cost_not_defined THEN
363: ROLLBACK TO initiate_capitalization;
361:
362: WHEN cost_not_defined THEN
363: ROLLBACK TO initiate_capitalization;
364: x_return_status := FND_API.G_RET_STS_ERROR ;
365: fnd_message.set_name('EAM','EAM_COST_NOT_DEFINED');
366: x_msg_data := fnd_message.get;
367: x_msg_count := 1;
368:
369: WHEN book_type_not_defined THEN
362: WHEN cost_not_defined THEN
363: ROLLBACK TO initiate_capitalization;
364: x_return_status := FND_API.G_RET_STS_ERROR ;
365: fnd_message.set_name('EAM','EAM_COST_NOT_DEFINED');
366: x_msg_data := fnd_message.get;
367: x_msg_count := 1;
368:
369: WHEN book_type_not_defined THEN
370: ROLLBACK TO initiate_capitalization;
368:
369: WHEN book_type_not_defined THEN
370: ROLLBACK TO initiate_capitalization;
371: x_return_status := FND_API.G_RET_STS_ERROR ;
372: fnd_message.set_name('EAM','EAM_BOOK_TYPE_NOT_DEFINED');
373: x_msg_data := fnd_message.get;
374: x_msg_count := 1;
375:
376: WHEN others THEN
369: WHEN book_type_not_defined THEN
370: ROLLBACK TO initiate_capitalization;
371: x_return_status := FND_API.G_RET_STS_ERROR ;
372: fnd_message.set_name('EAM','EAM_BOOK_TYPE_NOT_DEFINED');
373: x_msg_data := fnd_message.get;
374: x_msg_count := 1;
375:
376: WHEN others THEN
377: ROLLBACK TO initiate_capitalization;
375:
376: WHEN others THEN
377: ROLLBACK TO initiate_capitalization;
378: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
379: fnd_message.set_name('EAM','EAM_ATP_SYSTEM_ERROR');
380: x_msg_data := fnd_message.get;
381: x_msg_count := 1;
382:
383: END initiate_capitalization;
376: WHEN others THEN
377: ROLLBACK TO initiate_capitalization;
378: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
379: fnd_message.set_name('EAM','EAM_ATP_SYSTEM_ERROR');
380: x_msg_data := fnd_message.get;
381: x_msg_count := 1;
382:
383: END initiate_capitalization;
384: