Mandatory substitution
This feature lets you specify that an item must always be replaced by another item (for example because it is discontinued or replaced by a new code). When the original item is entered on a sales order, the system automatically replaces it with the substitute item if the customer accepts substitutions; otherwise it blocks the entry.
On the Item Substitution Entry page (opened from the item card with the Substitutions action) a new field is available:
| Field | Description |
|---|---|
| Mandatory | Specifies that the item must always be replaced by the substitute item on the line. |
Rules:
- Mandatory and Interchangeable cannot both be enabled on the same line.
- Only one mandatory substitution can exist for the same item (and variant): if one already exists to a different item, the message "Already substituted by …" is shown.
- Mandatory substitutions can be chained (A replaced by B, B replaced by C): the system follows the chain to the last item. If the chain loops back to an item already met, a "Recursive mandatory substitution" error is raised.
On the Customer Card, Shipping FastTab, the following field is available:
| Field | Description |
|---|---|
| Allow Substitutions | Specifies that the customer accepts ordered items being replaced by substitute items. |
When an item with a mandatory substitution is entered on a sales order line:
- if the customer has Allow Substitutions enabled, the line item is automatically replaced by the final substitute item: description and unit of measure (the new item's base unit) are updated and the variant is cleared;
- if the customer does not allow substitutions, the error "Item … is mandatory substituted by …" is shown and the item cannot be entered.
Mandatory substitution applies only to sales orders, not to other document types.
During the availability check of order lines, if the mandatory substitution cannot be applied the line quantity is set to zero (and, where used, the default unavailability reason code for unsellable items is assigned). In addition, the search for substitute items when availability is insufficient is performed only for customers with Allow Substitutions enabled.
When demand replenishment is calculated, any mandatory substitute item is shown for each item. The Item Replenishment Factbox contains the Substitute field, which shows whether the item is the mandatory substitute of other items; clicking the value opens the list of mandatory substitutions involving it.