Scenario 8 - Testing LinkDefinitions with Restrictions with Maximum Number of Products
Send a validation request with LinkDefinitions with a maximum number of product restrictions.
- Procedure
- Create a parent product called Parent1 with ProductComprisedOf a child product called Child1.
- Define a record level restriction for Child1 of the maximum number of
one
. - Add group-level restriction of the maximum number of
one
. - In the relationship ProductComprisedOf, define a LinkDefinitions value composed by name and address.
- Add two pairs of one Parent1 and one Child1 with different values for name and address UDFs to the basket.
ResultThis validation is
successful because each pair has a maximum of one Child1 and defines the name
and address for both products.