Creating Limit Rule for Delivery (6.2)
Let’s create a Limit Rule to restrict the number of products in one delivery.
-
The Order Split setting created in Workshop 5.1 automatically splits one delivery if there are products with different combinations of families and brands.
-
The Limit Rule must restrict the number of products in a single delivery based on the combinations of families and brands.
So, according to the Order Split record, products with the same family and brand will be placed in the same delivery. But according to the Limit Rule record, if the total number of such products is less than the minimum quantity or higher than the maximum quantity, you will get a validation error.
To create a Limit Rule:
-
Go to the Limit Rules tab and click New.
-
Select the Delivery record type and click Next.
-
Enter the following:
-
Sales Organization: Default Sales Org.
-
Min Quantity: 1.
-
Max Quantity: 100.
-
Order Type: Order.
-
Delivery Criteria Path: specify the Delivery fields as criteria to apply a limit rule: Brand__c,Family__c.
-
-
Click Save.
The Limit Rule is created.