LU Tables' Hierarchy and Linking Populations

An LU schema structure displays a hierarchical presentation of data relating to the LU's Root table. Parent-child links in the LU tables are created via their Table Population objects:

  • Each LU table can have one or more Table Population objects. These objects appear as distinct entries beneath the table’s name (i.e., a separate line(s)). A Table Population object can be linked to a parent table by connecting the parent table's output parameter to the child table's input parameter, which is also referred to as an input argument. This linking mechanism applies to all tables, except for the LU's Root table, which does not require a parent-child relationship due to its role as the starting point of the hierarchy.

  • Each Table Population object can be linked to a different parent LU table.

    For example: The ADDRESS LU table is populated with 2 Table Population objects:

    • Population 1 (ADDRESS table) populates the customer’s Billing ADDRESS. The CUSTOMER and ADDRESS tables are linked, and they select the source address records that belong to the CUSTOMER_ID (that originates from the CUSTOMER table, which is the root table in this example).

    image

    image

    • Population 2 populates the Installation ADDRESS of each subscription. The SUBSCRIBER and ADDRESS tables are linked, and they select the source address records that belong to the SUBSCRIBER_ID (which originates from the SUBSCRIBER table).

    image

    image

  • A link from a Table Population object to a parent LU table can be based on several columns, all of which should be linked to the same parent LU table.

    • Example 1: The INVOICE Table Population object can be linked to the BALANCE table by 2 columns: SUBSCRIBER_ID and BALANCE. This is a valid link.

    image

    • Example 2: Linking the INVOICE Table Population object to 2 different LU tables - BALANCE and SUBSCRIBER - is invalid.

    image

    • Example 1: The CASE_NOTE Table Population object can be linked to the CASES table by 2 columns: CASE_ID and NOTE_DATE. This is a valid link.

    image

    • Example 2: Linking the CASE_NOTE Table Population object to 2 different LU tables - CASES and ACTIVITY - is invalid; a validation error will be displayed in the Problems panel when trying to save.

    image

Note: An LU table can be added to an LU schema without a Table Population object. Such table is not populated by the sync of the instance, but rather by a separate transaction.

Table Population's Input Arguments

A population flow template includes a predefined set of Input arguments, defined within the PopulationArgs Actor, which are input parameters set as External.

image

In a table population flow, at least one Input argument must be defined to retrieve data from external systems. The Root table must only have one Input argument, which receives the Instance ID to fetch data specific to that entity. Other tables use Input arguments to receive relevant identifiers from parent tables, which are then used to fetch related data from external systems.

Click for more information about population flows.

Click for more information about an Actor's input parameters.

Input arguments are parameters used to retrieve data in a Table Population object. They define how data is linked to parent tables and fetched from external systems.

These arguments are utilized by 2 types of Source Objects in a Table Population object: DB Query and Root Function.

DB Query

  • A DB query Table Population object can be linked to a parent table via its Input argument fields. Only Input arguments that are defined as True can be linked to parent tables.
  • In the DB query of a Root table, only one field can be defined as True and it is populated by the Instance ID.
  • The other LU tables can have several fields defined as Input arguments.

Root Function

  • Each Root function must have at least one Input parameter.
  • A population can be linked to a parent table via its Input parameters based on a Root function.
  • The Root function of a Root table can have only one Input parameter and it is populated by the Instance ID.

Click for more information about Table Population Types.

Edit the Input Arguments in a DB Query

When creating a DB query, by default, all Input fields are set to True.

To edit an Input argument, do the following:

Clicking on the source object of the Population window (the DB query) opens the Properties pane on the right side of the screen. Verify that the fields that should be linked to the parent table are set to True. Other fields that do not need to be linked to a parent table, can be set to False.

image

Linking Tables

A link can be added in both directions:

  • Child to parent - linking the child table population to a parent table.
  • Parent to child - linking a parent table to a child table population.

You can link them by either dragging a connection line or by using the Tables Connection Assistance pop-up window, as follows:

  1. Click the Population name of the child table.

  2. Connect each Input field to a parent table using one of the following methods:

    • Drag the connection line from this field into the parent table and column.

    • Right-click on this field, select Add link from > parent table > column.
    • Right-click on this field connector, select the source table and then select source table field.

  1. Click the parent table.

  2. Connect each parent column to the child table population using one of the following methods:

    • Click the child table population header and drag a connection line between the parent table's column and the child table's Input field.

    • Right-click, select Add link to > child table population > column.
    • Right-click on a field's output connector, select the target table, the target table population and then the target Input field.

Note: Link all the Input fields of the selected Table Population object to one parent table. A Table Population object cannot be linked to several parent tables.

In complex and large schemas, it is sometimes difficult to track the population link - which table it comes from and/or which tables it goes to.

You can therefore click on the link and see it as an animated dashed line.

In certain scenarios, the connecting columns for a population might not be immediately visible - for instance, when tables include numerous columns that require scrolling for viewing. This could make exploring the schema and understanding table connections less convenient.

You can therefore hover over the population link with your mouse cursor to view a tooltip that provides detailed information about the link, including the source table and columns, the destination table and columns, and the population name.

In the below example, the connecting column in the destination table - RECOMMENDATIONS - is hidden. However, with this tooltip you do not need to scroll down to reveal it.

Either click on the link and press the Delete key on your keyboard, or right-click and select Delete. Click on the link and press the Delete key on your keyboard.

Previous

LU Tables' Hierarchy and Linking Populations

An LU schema structure displays a hierarchical presentation of data relating to the LU's Root table. Parent-child links in the LU tables are created via their Table Population objects:

  • Each LU table can have one or more Table Population objects. These objects appear as distinct entries beneath the table’s name (i.e., a separate line(s)). A Table Population object can be linked to a parent table by connecting the parent table's output parameter to the child table's input parameter, which is also referred to as an input argument. This linking mechanism applies to all tables, except for the LU's Root table, which does not require a parent-child relationship due to its role as the starting point of the hierarchy.

  • Each Table Population object can be linked to a different parent LU table.

    For example: The ADDRESS LU table is populated with 2 Table Population objects:

    • Population 1 (ADDRESS table) populates the customer’s Billing ADDRESS. The CUSTOMER and ADDRESS tables are linked, and they select the source address records that belong to the CUSTOMER_ID (that originates from the CUSTOMER table, which is the root table in this example).

    image

    image

    • Population 2 populates the Installation ADDRESS of each subscription. The SUBSCRIBER and ADDRESS tables are linked, and they select the source address records that belong to the SUBSCRIBER_ID (which originates from the SUBSCRIBER table).

    image

    image

  • A link from a Table Population object to a parent LU table can be based on several columns, all of which should be linked to the same parent LU table.

    • Example 1: The INVOICE Table Population object can be linked to the BALANCE table by 2 columns: SUBSCRIBER_ID and BALANCE. This is a valid link.

    image

    • Example 2: Linking the INVOICE Table Population object to 2 different LU tables - BALANCE and SUBSCRIBER - is invalid.

    image

    • Example 1: The CASE_NOTE Table Population object can be linked to the CASES table by 2 columns: CASE_ID and NOTE_DATE. This is a valid link.

    image

    • Example 2: Linking the CASE_NOTE Table Population object to 2 different LU tables - CASES and ACTIVITY - is invalid; a validation error will be displayed in the Problems panel when trying to save.

    image

Note: An LU table can be added to an LU schema without a Table Population object. Such table is not populated by the sync of the instance, but rather by a separate transaction.

Table Population's Input Arguments

A population flow template includes a predefined set of Input arguments, defined within the PopulationArgs Actor, which are input parameters set as External.

image

In a table population flow, at least one Input argument must be defined to retrieve data from external systems. The Root table must only have one Input argument, which receives the Instance ID to fetch data specific to that entity. Other tables use Input arguments to receive relevant identifiers from parent tables, which are then used to fetch related data from external systems.

Click for more information about population flows.

Click for more information about an Actor's input parameters.

Input arguments are parameters used to retrieve data in a Table Population object. They define how data is linked to parent tables and fetched from external systems.

These arguments are utilized by 2 types of Source Objects in a Table Population object: DB Query and Root Function.

DB Query

  • A DB query Table Population object can be linked to a parent table via its Input argument fields. Only Input arguments that are defined as True can be linked to parent tables.
  • In the DB query of a Root table, only one field can be defined as True and it is populated by the Instance ID.
  • The other LU tables can have several fields defined as Input arguments.

Root Function

  • Each Root function must have at least one Input parameter.
  • A population can be linked to a parent table via its Input parameters based on a Root function.
  • The Root function of a Root table can have only one Input parameter and it is populated by the Instance ID.

Click for more information about Table Population Types.

Edit the Input Arguments in a DB Query

When creating a DB query, by default, all Input fields are set to True.

To edit an Input argument, do the following:

Clicking on the source object of the Population window (the DB query) opens the Properties pane on the right side of the screen. Verify that the fields that should be linked to the parent table are set to True. Other fields that do not need to be linked to a parent table, can be set to False.

image

Linking Tables

A link can be added in both directions:

  • Child to parent - linking the child table population to a parent table.
  • Parent to child - linking a parent table to a child table population.

You can link them by either dragging a connection line or by using the Tables Connection Assistance pop-up window, as follows:

  1. Click the Population name of the child table.

  2. Connect each Input field to a parent table using one of the following methods:

    • Drag the connection line from this field into the parent table and column.

    • Right-click on this field, select Add link from > parent table > column.
    • Right-click on this field connector, select the source table and then select source table field.

  1. Click the parent table.

  2. Connect each parent column to the child table population using one of the following methods:

    • Click the child table population header and drag a connection line between the parent table's column and the child table's Input field.

    • Right-click, select Add link to > child table population > column.
    • Right-click on a field's output connector, select the target table, the target table population and then the target Input field.

Note: Link all the Input fields of the selected Table Population object to one parent table. A Table Population object cannot be linked to several parent tables.

In complex and large schemas, it is sometimes difficult to track the population link - which table it comes from and/or which tables it goes to.

You can therefore click on the link and see it as an animated dashed line.

In certain scenarios, the connecting columns for a population might not be immediately visible - for instance, when tables include numerous columns that require scrolling for viewing. This could make exploring the schema and understanding table connections less convenient.

You can therefore hover over the population link with your mouse cursor to view a tooltip that provides detailed information about the link, including the source table and columns, the destination table and columns, and the population name.

In the below example, the connecting column in the destination table - RECOMMENDATIONS - is hidden. However, with this tooltip you do not need to scroll down to reveal it.

Either click on the link and press the Delete key on your keyboard, or right-click and select Delete. Click on the link and press the Delete key on your keyboard.

Previous