Item Rule per Location
This feature lets you define rules that determine which items (or product types) are allowed in a given location or location group. A Not Allowed rule prevents posting inventory transactions for the item in the specified location.
Search for the Location Item Rules page using the Business Central search (magnifying glass icon).
| Field | Description |
|---|---|
| Location Type | Specifies whether the rule applies to a single Location or to a Location Group. |
| Location Code | Code of the location or location group, depending on the selected type. |
| Item Type | Specifies whether the rule applies to a single Item or to a Product Type. |
| Item No. | Item number or product type code, depending on the selected type. |
| Code | Free code to classify the rule. |
| Rule | Rule type: blank, Not Allowed or Substitute. Changing the rule clears the Substitute No. field. |
| Substitute No. | Item to use as a substitute. Can be filled in only with the Substitute rule and must differ from the rule's item. |
| Starting Date | Date from which the rule is valid. |
| Ending Date | Date until which the rule is valid. |
| Enabled | Specifies whether the rule is active. |
- Open the Location Item Rules page.
- Create a new line and choose Location Type and Location Code (single location or location group).
- Choose Item Type and Item No. (single item or product type).
- Set Rule = Not Allowed.
- Fill in Code, Starting Date, Ending Date and Enabled as needed.
When an inventory transaction is posted (for example from sales, purchase or transfer documents, or from item journals) with a location specified, the system looks for rules that apply to the item and location, considering in this order:
- the item in the location;
- the item's product type in the location;
- the item in the location group the location belongs to;
- the item's product type in the location group.
If at least one of the rules found is Not Allowed, posting is blocked with the message "Item ... unallowed in ...".