In my document I have an attribute of composite type which consists of reference to catalog and string. Depending on type of document the form should let choose a catalog item in this field or input a text string. How can I set the default type for this field when the document type is changed?
Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page