IRstuff, I think you misunderstood what is the problem.
There is no need to scan barcode in the oven, but the code itself will be damaged there.
Dskarupa, if the parts are in some reasonable pattern and do not displace when in the oven, try to find a way to remember each part's location and reapply the barcode after passing the oven.