CatalogRef.<Catalog 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:
NomencratureTypes = Enums.NomencratureTypes; If ArticleRefernce.NomencratureType = NomencratureTypes.EmptyRef() Then Object = ArticleRefernce.GetObject(); Object.NomencratureType = NomencratureTypes.Article; Try Object.Write(); Except DoMessageBox("Can't write object - """ + Object + """ |" + ErrorDescription(),60); EndTry; EndIf; |