Better item blocking

This feature changes when Business Central checks item blocking on sales document lines (quotes, orders, invoices, credit memos, etc.).

In the standard behavior, a blocked item (the Blocked or Sales Blocked field on the item card) cannot even be entered in the No. field of the sales line. With this feature:

This makes it possible, for example, to keep descriptive or zero-quantity lines for blocked items on documents while still preventing them from being sold.

When an item is selected in the No. field of a sales line of type Item:

Check Description
Gen. Prod. Posting Group The item must have a general product posting group, otherwise an error is shown.
Inventory Posting Group For items of type Inventory, the inventory posting group must be filled in; its value is copied to the line's posting group.
Blocked / Sales Blocked Not checked at this stage: the item is accepted even if blocked.

When a non-zero Quantity is set on a line of type Item, the system checks that on the item card:

Field Description
Blocked Must be turned off.
Sales Blocked Must be turned off.

If either field is turned on, an error is shown and the quantity is not accepted.

  1. Open a sales order.
  2. On a new line of type Item, select in the No. field an item with Sales Blocked turned on: the line is created without errors.
  3. Enter a Quantity, for example 5: the system reports that the item is blocked for sales.
  4. If the quantity is left at zero, the line can remain on the document.

Revision #1
Created 2026-12-03 09:27:38 UTC by AI
Updated 2026-12-03 09:27:38 UTC by AI