Skip to content
Light
English

How to block orders without stock?

To block a sale without stock, define what happens when the quantity goes over the balance. Showing the stock number and blocking the sale are separate choices. In the app and in Demander Web there is no combination that hides the balance and still blocks the sale. That combination exists only in the Online Store.

In Company Settings, under Additional settings, group Additional modules, Stock control defines which balance the order uses:

  • Product stock: a single balance, the one on the product record.
  • Stock by branch: the product balance at the order branch.
  • Ready delivery stock: the ready delivery balance of that seller and that order type.

On Order Type, Stock tab, Stock control type can use another source. The company setting applies to the type marked According to the company setting.

In Demander Web, the block on selling without stock applies only with Product stock.

Stock Control

Still in Company Settings, Order tab, What behavior should the system have regarding the products stock balance? applies to the app and to Demander Web.

Option Shows the balance on the order On the sale
Do not display and do not validate the stock balance No Allows any quantity
Display the stock balance, but do not validate or warn Yes Allows any quantity
Block the sale if the stock balance is not enough Yes Does not allow a sale above the balance
Warn the seller if the stock balance is not enough Yes Warns and allows the sale

Block the sale and Warn the seller only block or warn when, on the order type, Validate stock balance is checked. That field is on the Stock tab of the order type.

There is no option that hides the number and, at the same time, blocks the sale. To block, choose Block the sale if the stock balance is not enough and keep Validate stock balance on the order type. To only show the number, choose Display the stock balance, but do not validate or warn.

Hide products without stock, in the additional settings of the Order group, removes products with zero or negative balance from search. It does not replace the sale block. It does not apply to ready delivery: in that case use Hide products without available ready delivery stock. It also has no effect when the company is set to Do not display and do not validate.

The Online Store does not use the field on the Order tab. In Company Settings, store settings, Show product stock in the Online Store has four options:

Option Shows the quantity On the sale
Does not display and does not validate stock No Allows any quantity
Only displays stock but does not validate Yes Allows an order above stock and shows a warning
Displays stock and validates Yes Does not allow an order above stock
Does not display stock but validates No Does not allow an order above stock

The quantity is shown only to the logged-in customer. Hide products without stock in the online store hides a product with zero or negative balance from the store. It is independent of showing or validating the quantity.

For the source of the balance and the layouts, see Stock concept.