Custom presentations for materials and services

Let us use the MaterialServiceType attribute for specifying custom presentations for materials and services in 1C:Enterprise interface.

Material and service presentations are displayed in all fields that refer to MaterialsAndServices catalog items. This includes document tabular section fields, information register fields, accumulation register fields, and more.

As with any catalog item, the default material or service presentation is defined by the Default presentation property. The default property value is As description (fig. 10.4).


Fig. 10.4. Default presentation property of a catalog

That is why the Material or service column in the document tabular section shows the material or service names instead of references (fig. 10.5).


Fig. 10.5. Services document

Let us modify the view of references to MaterialsAndServices catalog items so that they display the item type: material or service.

Next page: In Designer mode
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.