308:
309: WHEN csi_asset_rec_not_found THEN
310: ROLLBACK TO initiate_capitalization;
311: x_return_status := FND_API.G_RET_STS_ERROR ;
312: fnd_message.set_name('EAM','EAM_CSI_REC_NOT_FOUND');
313: x_msg_data := fnd_message.get;
314: x_msg_count := 1;
315:
316: WHEN cost_not_defined THEN
309: WHEN csi_asset_rec_not_found THEN
310: ROLLBACK TO initiate_capitalization;
311: x_return_status := FND_API.G_RET_STS_ERROR ;
312: fnd_message.set_name('EAM','EAM_CSI_REC_NOT_FOUND');
313: x_msg_data := fnd_message.get;
314: x_msg_count := 1;
315:
316: WHEN cost_not_defined THEN
317: ROLLBACK TO initiate_capitalization;
315:
316: WHEN cost_not_defined THEN
317: ROLLBACK TO initiate_capitalization;
318: x_return_status := FND_API.G_RET_STS_ERROR ;
319: fnd_message.set_name('EAM','EAM_COST_NOT_DEFINED');
320: x_msg_data := fnd_message.get;
321: x_msg_count := 1;
322:
323: WHEN book_type_not_defined THEN
316: WHEN cost_not_defined THEN
317: ROLLBACK TO initiate_capitalization;
318: x_return_status := FND_API.G_RET_STS_ERROR ;
319: fnd_message.set_name('EAM','EAM_COST_NOT_DEFINED');
320: x_msg_data := fnd_message.get;
321: x_msg_count := 1;
322:
323: WHEN book_type_not_defined THEN
324: ROLLBACK TO initiate_capitalization;
322:
323: WHEN book_type_not_defined THEN
324: ROLLBACK TO initiate_capitalization;
325: x_return_status := FND_API.G_RET_STS_ERROR ;
326: fnd_message.set_name('EAM','EAM_BOOK_TYPE_NOT_DEFINED');
327: x_msg_data := fnd_message.get;
328: x_msg_count := 1;
329:
330: WHEN others THEN
323: WHEN book_type_not_defined THEN
324: ROLLBACK TO initiate_capitalization;
325: x_return_status := FND_API.G_RET_STS_ERROR ;
326: fnd_message.set_name('EAM','EAM_BOOK_TYPE_NOT_DEFINED');
327: x_msg_data := fnd_message.get;
328: x_msg_count := 1;
329:
330: WHEN others THEN
331: ROLLBACK TO initiate_capitalization;
329:
330: WHEN others THEN
331: ROLLBACK TO initiate_capitalization;
332: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
333: fnd_message.set_name('EAM','EAM_ATP_SYSTEM_ERROR');
334: x_msg_data := fnd_message.get;
335: x_msg_count := 1;
336:
337: END initiate_capitalization;
330: WHEN others THEN
331: ROLLBACK TO initiate_capitalization;
332: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
333: fnd_message.set_name('EAM','EAM_ATP_SYSTEM_ERROR');
334: x_msg_data := fnd_message.get;
335: x_msg_count := 1;
336:
337: END initiate_capitalization;
338: