A
A
AlexCruel2021-04-17 10:31:36
1C
AlexCruel, 2021-04-17 10:31:36

How to get a code for the selected item group after opening the form?

ОткрытьФорму("Справочник.Номенклатура.ФормаВыбораГруппы");


The selection form opens. I press the "Select" button - how to get the group code? Or a link. That is, return the value of the selection.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Anton, 2021-04-17
@Fragster

The form must be in selection mode (this is either set in its properties, or passed to the Form Parameters parameter in the opening function) (you can, of course, send the selection event by code, but why?), then you need to pass the control to the "owner" parameter, in which the selected value should be placed, or specify the parameter DescriptionNotificationOnClosing, to the handler of which the selected value will be returned.
If you need a multiple choice (aka "selection"), then you need to catch the NotificationOfChoice in the "parent" form.
In principle, in the syntax assistant, all parameters are described

V
VitalyChaikin, 2021-04-19
@VitalyChaikin

See
https://its.1c.ru/db/metod8dev/content/2222/hdoc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question