Our System is working like this:

Even though there are setting in system option - stock 2 - Allow duplicate Serial no. is untick,

1. Purchase item AAA and serial no 123 (Stock IN)

2. Sales item AAA and serial no 123 (Stock OUT)

3. Purchase again item AAA and serial no 123 (System still allows to stock IN the serial no. as this serial no. already OUT)