A
A
AlexCruel2021-03-30 07:08:07
1C
AlexCruel, 2021-03-30 07:08:07

How to specify the exact props for uploading data?

Additional requisite "Manufacturer" from the X2 nomenclature is needed. In fact, it issues additional item item X1.
Is it possible to specify-extract exactly (by code, for example) this attribute?

РеквизитДляЗаписи = ПланыВидовХарактеристик.ДополнительныеРеквизитыИСведения.НайтиПоНаименованию("Производитель");
    НоваяСтрокаЗначений = ТаблицаДопРеквизитов.Добавить();
    НоваяСтрокаЗначений.Свойство = РеквизитДляЗаписи;
    НоваяСтрокаЗначений.Значение = ПроверитьСвойство(СтрокаДанных.Производитель, РеквизитДляЗаписи);

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin, 2021-03-30
@fosihas

1. find an attribute (element of the directory) for the item X2.
2. write down what was found for the item X1

M
Mikhail E, 2021-03-30
@Mikhail_E

You can try something like:

РеквизитДляЗаписи = ПланыВидовХарактеристик.ДополнительныеРеквизитыИСведения.НайтиПоРеквизиту("Имя", ИмяРеквизитаСвойства);

Or any other props that are exactly different from the add. details

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question