Answer the question
In order to leave comments, you need to log in
How to add the value of an additional attribute?
Good evening
U 11.4. started the type of nomenclature, it indicated additional. attribute (common for the entire nomenclature)
You need to programmatically add the value of this attribute (if it is not in the list) and select this value in the nomenclature.
--------------------------------
Answer the question
In order to leave comments, you need to log in
I have already found a common module ManageProperties, nothing comes out. I execute the code on the server.
ТабЗнач = Новый ТаблицаЗначений;
ТабЗнач.Колонки.Добавить("Свойство");
ТабЗнач.Колонки.Добавить("Значение");
НоваяСтрока = ТабЗнач.Добавить();
НоваяСтрока.Свойство = ПланыВидовХарактеристик.ДополнительныеРеквизитыИСведения.НайтиПоРеквизиту("Заголовок","Размер");
НоваяСтрока.Значение = "68-74-80-80";
УправлениеСвойствами.ЗаписатьСвойстваУОбъекта(Ном, ТабЗнач);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question