DocumentRef.<Document name>

Properties:

<Attribute name>
<Common attribute name>
<Tabular section name>
DataVersion
Date
DeletionMark
Number
Posted
Ref

Methods:

Copy
GetForm
GetObject
IsEmpty
Metadata
PointInTime
UUID

Constructors:

Main

Description:

Used to provide reference to the document in other objects attributes and variables of a script. This object does not contain tools for reading, modifying, adding and deleting a document, but it can be used to obtain document attributes and other information regarding the document. When calling document properties, reading all document data from the database will be performed, but during multiple calling of one document it will be optimized regardless of the call method.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (server).
Exchange with server is possible. Serializable. The given object may be serialized to/from XML. Can be used in attributes of managed form. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.1/data/enterprise/current-config} namespace. XDTO type name: DocumentRef..

    

1C:Enterprise Developer's Community