Parent Logic

When you create a generic or Sales Compensation logic, you can base it on another, parent, logic. All the elements of the parent logic will be copied to the new logic and unless you edit the elements, the inheritance is kept – i.e., the elements are updated automatically when the respective elements are updated in the parent logic.

You can decide which of the elements to keep and which ones to modify. You can also add new elements.

This feature is useful, when you, for example, use an accelerator and want to modify or extend its functionality without changing its original configuration.

Important notes:

  • Only one level of inheritance is allowed.

  • The inherited elements should NOT be deleted or their order changed (this is up to the configuration engineer, it is not enforced by the application).

  • Custom, non-inherited elements can be moved or deleted freely.

  • Element overrides can be revoked and their current version taken from the parent logic.

  • Only another generic / Sales Compensation logic can be chosen as a parent.

How to Work with Parent Logic

  1. When creating a logic, select the logic from which you want to copy elements from the Parent Logic drop-down list.

  2. Open the new logic for editing. When you select an element, a notification appears: “This element is inherited”.

  3. Click the Override link.

  4. The element’s code will become editable and in the Override Parent Logic column, a tick will indicate that the element has been modified. The element content is now independent and will not change when the parent element is modified.
    If you want to revoke the changes and make the element inherited again, manually change the value in the Override Parent Logic column from True to False and save the logic. The content of the element will synchronize with its parent element.

Found an issue in documentation? Write to us.

 
Pricefx version 13.1