801: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
802: IF l_debug = 1 THEN
803: mydebug('Program Update_Inv_lot has failed with a Unexpected exception', 9);
804: END IF;
805: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
806: FND_MESSAGE.SET_TOKEN('PROG_NAME','Update_Inv_lot');
807: fnd_msg_pub.ADD;
808: RAISE l_exc_unexpected_error;
809: END IF;
802: IF l_debug = 1 THEN
803: mydebug('Program Update_Inv_lot has failed with a Unexpected exception', 9);
804: END IF;
805: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
806: FND_MESSAGE.SET_TOKEN('PROG_NAME','Update_Inv_lot');
807: fnd_msg_pub.ADD;
808: RAISE l_exc_unexpected_error;
809: END IF;
810: