DataCompositionDetailsItems.Add

Syntax variant: Grouping

Syntax:

Add(<Type>, <Parents>, <GroupingName>)

Parameters:

<Type> (required)

Type: Type.
Type of an element of details.

<Parents> (optional)

Type: Array; Undefined.
Array of parental elements of details.
If parameter value is equal to Undefined, it means that the element has no parents.

<GroupingName> (required)

Type: String.
Name of a grouping for which it is necessary to add an element.

Syntax variant: Field values

Syntax:

Add(<Type>, <Parents>, <FieldValues>)

Parameters:

<Type> (required)

Type: Type.
Type of an element of details.

<Parents> (optional)

Type: Array; Undefined.
Array of parental elements of details.
If parameter value is equal to Undefined, it means that the element has no parents.

<FieldValues> (required)

Type: DataCompositionDetailsFieldValues.
Values of fields for details.

Returned value:

Type: DataCompositionFieldDetailsItem; DataCompositionGroupDetailsItem.

Description:

Adds details item.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community