Hierarchical business object

Adds a hierarchical position level to the custom entity.

Here, the fields, indices and extensions can be defined as for a repeatable entity:


images/download/attachments/78263395/image2021-9-22_10-4-54-version-1-modificationdate-1632297895585-api-v2.png


At header level, the following fields are created for this purpose and cannot be used elsewhere:

Name

Description

numberOfPackages

Number of packages (integer)

lineItems

Flat list of hierarchical positions

Furthermore, the following names are otherwise occupied:

Name

Description

lineItemTree

Line items as a tree structure


The following fields are predefined at line item level:

Name

Type

parentId

The ID of the parent custom entity

lineItemId

The line item number (e.g. '1.1.3')

parentLineItemId

The parent line item number (e.g. '1.1')

referencedLineItemId

A possibly referenced line item number (e.g. 'O1')

numberOfPackages

Number of packages (integer)

aggregateNumberOfPackages

Aggregated number of packages (integer)


Furthermore, the following names are documented elsewhere:

Name

Description

weakTreeNode

Line item in the tree structure

index

Index of the tree structure

parentIndex

Parent index of the tree structure

parentBto

Transient reference to the parent custom entity