See how to configure Nex so that you don't allow the sale of out-of-stock products.
1. Go to PRODUCTS menu.

2. Click on the GEAR icon.

3. Select the option 4. BLOCK NEGATIVE INVENTORY SALES.

4. Click on OK - F2.

Done! Nex will not allow the sale of products with insufficient balance in stock.