DataSelection.Get

Syntax:

Get()

Returned value:

Type: Data, ObjectDeletion; Undefined.
If the current position of the selection corresponds to a deleted object, a ObjectDeletion type value is returned. If the selection position is located before the first element or after the last element, a Undefined value is returned.

Description:

Reads a data element corresponding to the current selection position from the database, and returns the corresponding object.

Availability:

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

Example:

Sel = ExchangePlans.SelectChanges(Recipient, MessageNo);
While 
Sel.Next() Do
    Object = Sel.Get();
    WriteXML(Record, Object);
EndDo
;


    

1C:Enterprise Developer's Community