DataCompositionAutoSelectedField

Properties:

Parent
Use

Description:

Automatic selected field. Prior to use it is converted into a set of selected fields.
Content of this field set depends on which structure element the expanded auto field belongs to. We will call it "this structure element". The set is formed in the following way:
  • In chart groupings resources are not selected, but all parent settings structure elements are traversed and from their selected fields groping fields are selected, if "Hierarchy Only" grouping was set by this field;
  • In groupings with "Detail records" type (grouping, table grouping, chart grouping) from main selected settings fields, to which this grouping belongs, all used fields are selected except fields, used in upper groupings and their properties. In case of this grouping is "Hierarchy Only" type, then her fields and properties will be used by system during selection fields set generation. In chart grouping resources are not selected;
  • In chart auto selected field is replaced by resource first met on traversal described above;
  • In table auto selected field is replaced by set of resource elements, used by parent elements.

If the field is already included in these selected fields, it is not added for a second time.
If one element of the settings structure contains DataCompositionAutoGroupField, DataCompositionAutoSelectedField and DataCompositionAutoOrderItem, they are converted in the following order:
1. DataCompositionAutoGroupField;
2. DataCompositionAutoSelectedField;
3. DataCompositionAutoOrderItem.

Availability:

Thin client, web-client, server, thick client, external connection.
The given object may be serialized to/from XML. Can be used in attributes of managed form. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.1/data-composition-system/settings} namespace. XDTO type name: SelectedItemAuto.

    

1C:Enterprise Developer's Community