H
H
Happier2018-03-11 22:08:27
1C
Happier, 2018-03-11 22:08:27

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

1 answer(s)
H
Happier, 2018-03-11
@Happier

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 question

Ask a Question

731 491 924 answers to any question