Toyota?/That's funny.
Yes. It allowed them to track every, even the cheapest parts in a very cheap manner (because the reading was automated and very quick, at any angle, so posed no costly production bottleneck), so could be done at even the smallest manufacturing steps. And that tracking allowed them to address deffective batches of any components way before these poisoned larger subsequent production, or even prevented a slipped part from that deffective batch to poison the folliwing production as well.
All that rigorous tracking was one of the biggest contributors making Toyota enjoying the reputation as the most reliable brands the following two decades.
Unfortunately this led the upper management to cut corners further, plus the competition used that as well improving their reliability too, so the quality became back more equal later on...