DocumentRef.<Document name>.IsEmpty

Syntax:

IsEmpty()

Returned value:

Type: Boolean.
True indicates that a reference points to no object (empty reference); otherwise it is False.

Description:

Determines whether a reference is empty or not.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (server).

Example:

If SelDocument.IsEmpty() Then
    DoMessageBox("Select a document!");
EndIf
;


    

1C:Enterprise Developer's Community