Ok, in real life situation looks like that.
During final inspection of a product I'm scanning in the serial number, and ticking check boxes confirming visual, functional and printout inspection. That's my database.
Now, the production has their own database that monitors every single product...