DocumentSelection.<Document name>.GetObject
Syntax:
Returned value:
Undefined - object is not present in the base (for example, when data exchange is performed or after direct deletion of object, which has references).
Description:
Availability:
Example:
DocModel = Undefined; DocSelection = Documents.WriteoffArticles.Select(BegDate, EndDate); While DocSelection.Next() Do If DocSelection.Posted Then If DocSelection.Organization = Organization Then DocModel = DocSelection.GetObject(); Break; EndIf; EndIf; EndDo; |