392: ELSIF l_return_status = fnd_api.g_ret_sts_unexp_error THEN
393: IF g_debug = 1 THEN
394: mydebug('Program Create_Inv_lot has failed with a Unexpected exception');
395: END IF;
396: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
397: FND_MESSAGE.SET_TOKEN('PROG_NAME','Create_Inv_lot');
398: fnd_msg_pub.ADD;
399: RAISE g_exc_unexpected_error;
400: END IF;
393: IF g_debug = 1 THEN
394: mydebug('Program Create_Inv_lot has failed with a Unexpected exception');
395: END IF;
396: FND_MESSAGE.SET_NAME('INV','INV_PROGRAM_ERROR');
397: FND_MESSAGE.SET_TOKEN('PROG_NAME','Create_Inv_lot');
398: fnd_msg_pub.ADD;
399: RAISE g_exc_unexpected_error;
400: END IF;
401: