Answer the question
In order to leave comments, you need to log in
List of Values, search by value if the type of the value being searched is composite?
I have a composite type in the tabular part (link, string), and there is a function in which I get all the values added to the Directory, how to find matches between the values of the directory and the property of the tabular section?
Answer the question
In order to leave comments, you need to log in
I'll try to clarify a bit if I understood you correctly.
You just need to pull out the matches. To do this, you can unload the column from the PM as an array, something like this
ТЧ.ВыгрузитьКолонку(ИмяКолонки);
. Then pass this array as a parameter to the request that receives all the values of the directory. And already there, in the request, using the condition "Catalog SelectedIn Request. Reference In (& ArrayFrom PM)" to select only those that match.
For the function of searching by value in the list of values, it does not matter how many types are in the composite type of an attribute of some document. The search by value occurs by the full match of the value. If the value is already in the ValueList, then the output is True, otherwise it is False.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question