Parent/child

Parent reference

This field creates a reference to another record. Useful in hierarchical data structures. This field allows the parent to implement List of Children type fields. In edit mode, this field displays as a black text box with text autocomplete, which means that the user must know at least some of the resume name of the parent they're looking for. Most times a simple drop down of options is preferred, in which case the field Lookup: Data item should be used. In most cases it is functionally identical to this field.

Properties

User interface

Field in show mode

image.png

Field in edit mode

image.png

Configuration

image.png

Parent solution: Specify which entity the parent record belongs to.

Allow changes: If this is not checked, the parent cannot be changed later.

Developer info

When writing javascript that reacts to changes in this field type use the following code, instead of onchange.
This snippit wil react as soon as an option is selected instead of when the user exits the field

$("#DATA_SELSKAB").on("autocompleteclose", () => {
    setTimeout(() => {
        // Do stuff
    }, 50)
})

List of children

This displays a list of all children that refer to this via a specific field. This field can be either of type Parent reference or Lookup: Data item

Properties

User interface

Field in show mode

image.png

Field in edit mode

[INSERT IMAGE]

Configuration

image.png

Child solution key: Choose which reference field in which entity that the List of Children field should operate from.

Parameters / sortorders: Normal TS url query. Remember to start with questionmark. Example:

?QUERY_FIELD_1=StatusID&QUERY_OPERATOR_1=1&QUERY_VALUE_1=24&QUERY_FIELD_2=StatusID&QUERY_OPERATOR_2=1&QUERY_VALUE_2=97

Read as "Section" > "Child Entity" > "Child's reference field"

Developer info

List of children (status filter)

Filtered selection of subitems

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

image.png

[Description of configs]

Developer info

List of children (select fields)

Filtered selection of fields including sortorder

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

image.png

[Description of configs]

Developer info

List of children (type filter)

For use with 'Children type selector'

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

image.png

Configuration

image.png

[Eventuel beskrivelse af configs]

Developer info

Children type selector (type filer)

For use with 'List of children (type)'

Properties

User interface

Field in show mode

image.png

Field in edit mode

[INSERT IMAGE]

Configuration

No configuration required for this field type

Developer info

Calc children: Sum

Sum of values in underplaced data

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

Required:

Options:

Developer info

Calc children: Count

Sum of elements in underplaced data

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

[Description of configs]

Developer info

Calc children: Unique

[DESCRIPTION]

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

[Description of configs]

Developer info

Calc children: Minimum

Minimum value in underplaced data

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

[Description of configs]

Developer info

Calc children: Average

Average value in underplaced data

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

[Description of configs]

Developer info

Calc children: Maximum

Maximum value in underplaced data

Properties

User interface

Field in show mode

[INSERT IMAGE]

Due to its nature this field has no special editing mode.

Configuration

image.png

[Description of configs]

Developer info

Many to many relation

[DESCRIPTION]

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

[INSERT IMAGE]

[Eventuel beskrivelse af configs]

Developer info

Parent reference [shared]

[DESCRIPTION]

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

[INSERT IMAGE]

[Eventuel beskrivelse af configs]

Developer info

List of children (grid-editor)

[DESCRIPTION]

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

[INSERT IMAGE]

[Eventuel beskrivelse af configs]

Developer info

List of children [shared]

[DESCRIPTION]

Properties

User interface

Field in show mode

[INSERT IMAGE]

Field in edit mode

[INSERT IMAGE]

Configuration

[INSERT IMAGE]

[Eventuel beskrivelse af configs]

Developer info