QuerySchemaIndexExpressions.Add

Syntax variant: Add an expession

Syntax:

Add(<Expression>)

Parameters:

<Expression> (required)

Type: QuerySchemaExpression; String.
Query schema expression or string expression.

Description of method variant:

It adds a new expression of the totals based on the query schema expression. If the expression contains an error, an exception is outputted with the error text.

Syntax variant: Add a column

Syntax:

Add(<Column>)

Parameters:

<Column> (required)

Type: QuerySchemaColumn.
Query schema column.

Description of method variant:

It adds a new expression of the totals based on the query schema column.

Syntax variant: Add by string

Syntax:

Add(<ColumnOrExpression>)

Parameters:

<ColumnOrExpression> (required)

Type: String.
Name of column or expression.

Description of method variant:

First, search for a column is performed by the passed string. If the column is not found, an expression from selectable fields is searched. If the column or expression is found, it is added to the collection; otherwise, an exception with error text is generated.

Returned value:

Type: QuerySchemaIndexExpression.

Description:

Adds a new collection item and returns it.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community