Extended validations enable an enterprise to perform additional item validations on an order.
The following additional item validations can be performed:
Item validation must be enabled before the system performs extended validations.
By default, extended validation is enabled.
An order can also be validated by calling the validateItemForOrder API.
The effective date range of an item in an order is validated when the order is created, modified, or confirmed. If the system date is outside the effective date range of the item, the system throws an error during item validation. However, if supersession is enabled for the item, the validation is ignored.
The validation ensures that the item in the order is a part of a bundle or a physical kit. Validation occurs when the order is created, modified, or confirmed.
The minimum and maximum quantities of an item in an order are validated on order confirmation. If the quantity of an item in an order falls outside the minimum-maximum range for the item, the system throws an error.
The validation ensures that the status of the item is orderable at the time of order creation and modification. If the status of an item is not Published, the system throws an error.
Customer entitlements for an item in an order are validated when the order is created, modified, or confirmed. If a customer tries to order an item to which the customer is not entitled, the system throws an error during item validation.
An item becomes invalid when one of the following criteria is met: