How to allow or update item sales only when quantity is available?

How to allow or update item sales only when quantity is available?

To allow or update item sales only when quantity is available, follow the path given:

Inventory-->Stores-->Create Store-->Stock Checking Settings-->Against the respective branch, select the item sales
allowed , only if quantity is available option as Yes by selecting the edit icon.