DocumentSelection.<Document name>.Next

Syntax:

Next()

Returned value:

Type: Boolean.
If True, the next document has been selected. False - the end of the selection has been reached.

Description:

Obtains the next document from the selection. To tab through the document list you must use this method for positioning at the first selection document and iterate it for following documents until value False is returned.

Availability:

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

Example:

Selection = Documents.ArticlesReceipt.Select();
While 
Selection.Next() Do
    // process selection records
EndDo;


    

1C:Enterprise Developer's Community