Mechanism of Properties (Characteristics) and Categories

Extension of the data composition system query language enables you to instruct the data composition system where to search for types and characteristic values for a specific database object.

This information can be specified using additional characteristics of metadata object.

If information on characteristics is specified both in a query (using the CHARACTERISTICS structure) and in a metadata dialog, the CHARACTERISTICS structure has a higher priority.

Syntax:

CHARACTERISTICS
         TYPE (<Type Name>)
         CHARACTERISTICTYPES <Table name | (>Query merger<)
         OPTIONFIELD <Field>
         NAMEFIELD <Field>
         [FIELDOFVALUETYPE <Field>]
         CHARACTERISTICVALUES <Table name | (>Query merger<)
         OBJECTFIELD <Field>
         TYPEFIELD <Field>
         [VALUEFIELD <Field>]

The TYPE is followed by <Type name> – name of the type the characteristics are defined for.

CHARACTERISTICTYPES is followed by <Table name | (>Query merger<) – name of the table or query text used to obtain the characteristic types.

OPTIONFIELD is followed by <Field> – name of the field in a table or CHARACTERISTICTYPES query that contains the option of the characteristic type.

NAMEFIELD is followed by <Field> – name of the field in a table or CHARACTERISTICTYPES query that contains the name of the characteristic.

FIELDOFVALUETYPE is followed by <Field> – name of the field in a table or CHARACTERISTICTYPES query that contains the type of the characteristic value.

CHARACTERISTICVALUES is followed by <Table name | (>Query merger<) – name of the table or query used to obtain the characteristic values.

OBJECTFIELD is followed by <Field> – name of the field in a table or CHARACTERISTICVALUES query that contains the object the characteristic is specified for.

TYPEFIELD is followed by <Field> – name of the field in a table or CHARACTERISTICVALUES query that contains the type of the characteristic.

VALUEFIELD is followed by <Field> – name of the field in a table or CHARACTERISTICVALUES query that contains the value of the characteristic.

1C:Enterprise Developer's Community