A
A
AlexCruel2021-04-22 12:59:39
1C
AlexCruel, 2021-04-22 12:59:39

Why does the case change when searching by property by name?

Looking for a property by name - "Petronas".

ЗнчСвойства = Справочники.ЗначенияСвойствОбъектов.НайтиПоНаименованию("PETRONAS", Истина);
Сообщить(ЗнчСвойства);   //Petronas


Yes, there is such a name, but the second argument is "True" - there must be an exact case match.
What is the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kalapanga, 2021-04-22
@AlexCruel

Exact match is not about case. If "True" the search string must fully match the name, if "False" - it is enough to match the left side of the name. In both cases, the search is not case sensitive.

K
Konstantin, 2021-04-22
@fosihas

608161c08be17610177763.png
There is a type of "unique" props.
Like this, you can get the value of the additional props for the object, this is if the conf is on the BSP (all typical)

Заблокирован = УправлениеСвойствами.ЗначениеСвойства(Источник.Ссылка, "ЗаблокироватьДляИзменения_cf34a3829a8d449d82cb02898742f829");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question