DocumentJournalSelection.<Document journal name>.Next

Syntax:

Next()

Returned value:

Type: Boolean.
True - the next document is selected; False - the end of selection is 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 = DocumentJournal.BankExtracts.Select();
While 
Selection.Next() Do
    // process selection records
EndDo;


    

1C:Enterprise Developer's Community