SequenceManager.<Sequence name>.Restore

Syntax:

Restore(<PointInTime>, <Filter>)

Parameters:

<PointInTime> (optional)

Type: Date; PointInTime.
A point in time up to which the sequence is restored.
If this parameter is not specified, the sequence is restored to its last document.

<Filter> (optional)

Type: ValueTable.
A set of combinations of dimension values that should be restored in this sequence. It is defined as a table of values that contains corresponding dimension values in its columns. The column names should be the same as the names of the sequence dimensions. If the set of combinations is not specified, the entire sequence will be restored.
If this parameter is not specified, the sequence is restored in all dimensions.

Description:

Restores the sequence up to the specified point in time based on specified dimensions. All documents in this sequence will be reposted for specified dimensions.

Availability:

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

Example:

Moment = New PointOfTime(Doc.Date, Doc.Ref);
Filter = New ValueTable;
Filter.Columns.Add("Goods");
Filter.Add().Article = CurArticle;
Sequences.ArticlesRegistration.Restore(Moment, Filter);


    

1C:Enterprise Developer's Community