DataCompositionDetailsProcess.Execute

Syntax:

Execute(<DetailsId>, <ExecutedAction>, <AvailableAction>, <AdditionalMenuItems>)

Parameters:

<DetailsId> (required)

Type: DataCompositionDetailsID.
The identifier of processable details.

<ExecutedAction> (optional)

Details processing returns in the parameter the value of executed action.

<AvailableAction> (optional)

Type: Array.
Available processing actions. Array elements should consist of enumeration values DataCompositionDetailsProcessingAction
If this parameter is not specified, all actions are permitted.

<AdditionalMenuItems> (optional)

Type: ValueList.
Allows transferring additional actions to details processing.
Based on the value list, the menu items will be created and added to the standard ones. In case of the list of values is a value of list element, the submenu will be created from it. In case of the additional action is selected, the corresponding value from the list will be set to the "Executed action" parameter.

Returned value:

Type: DataCompositionSettings; DataCompositionUserSettings; Undefined.
Undefined - in case detailed data processing has not caused settings change.
If custom elements are used in settings (see the UserSettingID property of various objects) and settings change affects only the custom elements, DataCompositionUserSettings will be returned, otherwise DataCompositionSettings will be returned.

Description:

Interactive selection of detailed data processing actions provides a user with a set of available actions as a menu, and requests addition information if necessary.
Menu contains possible operations with details: Details, Open, Filter, Order, Group, Format. For all operations except details the program tries to select most probable parametrization based on details data.
Open - selects fields of given details item which have values of npn-primitive type and are not enumerations. If details item does not have fields with set values (of any type), details parent item fields are used.
Filter - selects fields of given details item which have values, are available for use in the main filter or in the filters of structure items and have available Equal or In group comparison types for fields with hierarchical values. If details item does not have fields with set values (of any type), details parent items fields are used.
Order - selects fields of a given details item available for use in ordering. If details item does not have fields with set values (of any type), details parent items fields are used.
Group - selects fields of a given details item available for use in groupings and not used in the upper level groupings. If details item does not have fields with set values (of any type), details parent items fields are used.
Format - selects fields of given details item which have values, are available for use in the additional filter and have available Equal or In group comparison types for fields with hierarchical values. If details item does not have fields with set values (of any type), details parent items fields are used.
Details - operation not available if the given details item is Detailed records, unless it contains resource fields.

Availability:

Thick client.

    

1C:Enterprise Developer's Community