A
A
agent11562017-04-02 20:00:43
1C
agent1156, 2017-04-02 20:00:43

How to access the Dynamic List of Items?

How do I access the Form List (Nomenclature Reference) ?
In this code, I am accessing the form of the Element?

&НаКлиенте
Процедура МатериалыМатериалПриИзменении(Элемент)
      От = Элементы.Материалы.ТекущиеДанные;
      От.Цена = МатериалыМатериалПриИзмененииНаСер(От.Материал);
КонецПроцедуры

&НаСервереБезКонтекста
Функция МатериалыМатериалПриИзмененииНаСер(Ссылка)

  Возврат  Ссылка.Цена;

КонецФункции // МатериалыМатериалПриИзмененииНаСер()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2017-04-02
@agent1156

You have one question in the topic about the dynamic list, in the body there are two more questions that are not related to the topic, about the forms of the item list and about the form of the element. And just below is some piece of code, which seems to be copied from the form of one of the production documents, where in the tabular part, when changing in the material column, the value from the card of this material is substituted into the price column.
It's not at all clear what you need. If you want help, please fix your question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question