...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfCreateNestedAggrByIndex (aggrId : AGGREATE OF GENERIC;
index : INTEGER)
newAggrId : AGGREATE OF GENERIC;
|
The xpfCreateNestedAggrByIndex function creates an aggregate instance and sets the created aggregate as an element in an already existing aggregate instance, i.e., a nested aggregate is the result of this operation. The already existing aggregate, <aggrId>, will be the parent aggregate of the new created aggregate, aggregateID returned in the <newAggrId> argument, and the new created aggregate will be a child aggregate of the already existing aggregate. The position of the new aggregate in the parent aggregate is specified by an aggregate element <index>. If an aggregate is already existing in this position in the parent aggregate, this existing aggregate will be deleted before the new one is created and inserted in the parent aggregate.
This function is equivalent to the EDMinterface function sdaiCreateNestedAggrByIndex.
See also xpxCreateNestedAggrByIndex.
Arguments
...
Type | Name | Comment |
AGGREATE OF GENERIC | aggrId | comments |
INTEGER | index |
Return Value
...
Type | Name | Comment |
AGGREATE OF GENERIC | newAggrId | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|