Scenario 8 - Testing LinkDefinitions with Restrictions with Maximum Number of Products

Send a validation request with LinkDefinitions with a maximum number of products restriction.

Procedure

  1. Create a parent product called Parent1 with ProductComprisedOf a child product called Child1.
  2. Define a record level restriction for Child1 of maximum number of one.
  3. Add group level restriction of maximum number of one.
  4. In the relationship ProductComprisedOf, define a LinkDefinitions value composed by name and address.
  5. Add two pairs of one Parent1 and one Child1 with different values for name and address UDFs to the basket.

Result

This validation is successful because each pair has a maximum of one Child1 and defines the name and address for both products.