I'm not a serial number expert but I would think there might be some user exits available on the serial number side.
That is, when the serial number is saved, look for an exit that allows you to go find the related inspection lot and update the inspection lot instead of trying to modify it during creation.
Maybe IQSM0004? A serial number guru might be able to help you with this.
FF