To track units with a serial number, turn serials on in settings and on the document types you use, enter them on an incoming document, then select them when you sell.

Open Settings → Inventory/Products/Services and enable Serial numbers. Then, on each document type you will use, set Serial numbers = Yes so the line column appears.

On an incoming document (purchase), add the product on the line and open the Serial numbers window from the line column or with F5. Type or scan the serial and press Entry (Enter). The line quantity follows the serials you recorded.

On a sale, open Serial numbers again, pick from the available list (or scan), and save. On the product card, in the serials area, you can see the history and the sales document.

For the full document workflow (available list, warnings, and extra options) see: Entering and using serial numbers on documents in EMDI.