Answer the question
In order to leave comments, you need to log in
How to upload the results of a query over a COM connection to a tree of values in 1C 8.3?
There is a request and an output in a tree of values.
If you execute the same query in the local database, there are no problems, it unloads it into the tree and displays it in the form.
If the same query, but without QueryResult Bypass . By Grouping By Hierarchy - uploads to the Value Table and also displays it on the form. But I need with groups, and here is an error:
Ошибка при вызове метода контекста (Выгрузить)
Дерево = Запрос.Выполнить().Выгрузить(ОбходРезультатаЗапроса.ПоГруппировкамСИерархией);
по причине:
Произошла исключительная ситуация (1C:Enterprise 8.3.9.1818): Несоответствие типов (параметр номер ‘1’)
Answer the question
In order to leave comments, you need to log in
The system enumeration BypassRequestResult should be used not from the current base/configuration/platform, but the one that exists at the second end of the COM connection. The same applies to the DocumentWriteMode enumeration and other system enumerations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question