AccumulationRegisterSelection.<Accumulation register name>.Next

Syntax:

Next()

Returned value:

Type: Boolean.
True - next record is selected; False - end of the selection is reached.

Description:

Obtains the next record from the selection. To tab through register records you should call this method to move to the first record and then keep calling until False value is returned.

Availability:

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

Example:

Registr = AccumulationRegisters.CompanyArticlesBalance;
Selection = Registr.Select();
While 
Selection.Next() Do
    // process selection records
    // ...
EndDo;


    

1C:Enterprise Developer's Community