Table of Contents

Dynamic relations

Configure categories, groups, and calculations used for dynamic product relations

Dynamic relations let you qualify a link between two products, for example to specify packaging or a list of ingredients - see dynamic relations for how relations are created on a product. DynRelationGroups This page covers how the underlying categories, groups, and calculations for dynamic relations are set up.

Note

As of now (release 10.15.4) Dynamic relations needs to be activated through the Feature Management tool. Please be aware that Dynamic relations can still be subject to change.

Categories and groups

Dynamic relations are organized in two levels:

  • A category is the top-level container. It defines the name of the tab that dynamic relations of this category appear under in the product details view.
  • A group belongs to a category and is the label you select when creating a dynamic relation on a product, e.g. ingredients or packaging.

To manage categories and groups, go to Settings > Areas > Products > Relations > Dynamic relations. The list shows each category with its groups nested underneath.

To create a category:

  1. Click New category
  2. Provide a name
  3. Provide a tab name - this is the name shown on the product details view tab where this category's relations and any calculation results appear
  4. Save

To create a group within a category:

  1. Click New group
  2. Provide a name
  3. Select the category the group belongs to
  4. Save

Use the context menu on a category to edit it, sort its groups, or delete it. Use the context menu on a group to edit it, move its existing relations to another group, or delete it.

Calculations

A calculation aggregates a numeric field - for example weight or CO2e - across the target products of a category's dynamic relations. This is useful for compliance reporting, such as summarizing the total weight of packaging materials or ingredients used in a product.

To manage calculations for a category, use the context menu on that category and select Calculations. This opens a list of the calculations already configured for the category, showing their name, method, description, and whether they are active.

To create a calculation:

  1. From the calculations list, click Add calculation
  2. Provide a name
  3. Optionally provide a description
  4. Select a method:
    • Total sum - sums the selected field across all target products in the selected group(s)
    • Sum by product - sums the selected field for each target product individually within the selected group(s)
  5. Optionally select one or more groups - the target products must belong to one of these groups to be included; if none are selected, all groups are included
  6. Select one or more fields - each selected field is summed individually
  7. Make sure the calculation is set to active
  8. Save

Once saved, a calculation runs automatically on a schedule. You can also trigger it manually from the calculations list using the Calculate action, and review past runs using View calculation log.

Calculation results appear as a read-only list on the product details view, on the category's tab, labeled "{group name} - Calculation result(s)".

Note

Deleting a calculation also deletes its previously calculated results.

To top