Order.Add

Syntax:

Add(<Description>, <Name>, <Representation>, <Direction>)

Parameters:

<Description> (required)

Type: String.
Description of the order item being added. Name of available field and full path.
For example, if there is an available field called "Product," you can define an order item "Product.CountryOfOrigin.Description.".

<Name> (optional)

Type: String.
Order item name. If not specified, a name is created based on the passed description.

<Representation> (optional)

Type: String.
User display of order item.

<Direction> (optional)

Type: SortDirection.
Sort direction of the order item being added.
Default value: Asc.

Description:

Adds sort item.
Caution: This method is not available for dynamic list filtering (property Order of the objects CatalogList., DocumentList., etc.).

Availability:

Server, thick client, external connection.

Example:

ReportBuilder.Order.Add(FieldName);

    

1C:Enterprise Developer's Community