Filter.GetAvailableFields

Syntax:

GetAvailableFields()

Returned value:

Type: CustomFields.

Description:

Obtains the collection of fields available for filter.
Caution: This method is not available for filtering dynamic lists (Filter property of CatalogList., DocumentList. and other objects).

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

AvailableFilterFields = Filter.GetAvailableFields();
Field = AvailableFilterFields.Add("Contractor", "Contractor", 
    New 
TypeDescription("CatalogRef.Contractors"));
Field.Filter = True;
Field = AvailableFilterFields.Add("Nomenclature", "Nomenclature", 
    New 
TypeDescription("CatalogRef.Nomenclature"));
Field.Filter = True;
Filter.SetAvailableFields(AvailableFilterFields);


    

1C:Enterprise Developer's Community