SequenceManager.<Sequence name>.BelongsTo

Syntax:

BelongsTo(<Document>, <Filter>)

Parameters:

<Document> (required)

Type: DocumentRef.
Checked document.

<Filter> (optional)

Type: Structure.
A structure that defines filtering by sequence dimensions. The key of the structure defines the sequence dimension that will be used for filtering, and the structure value defines the dimension value. If the dimension is not available in the structure, it will not be used for filtering.

Returned value:

Type: Boolean.
True - document belongs to the sequence; False - otherwise.

Description:

Determines whether the specified document belongs to the sequence with specified dimensions.

Availability:

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

Example:

Filter = New Structure;
Filter.Insert("Article", CurArticle);
BelongsTo = Sequences.ArticlesRegistration.BelongsTo(Doc, Filter);


    

1C:Enterprise Developer's Community