I
I
Ivan Melnikov2019-03-19 09:30:47
1C-Enterprise
Ivan Melnikov, 2019-03-19 09:30:47

How to get the fields of the created or modified document from the event handler "Processing Posting", assigned for subscribing to the event?

1C 8.3, SCP 1.3 (regular application).
How can I get the value of the fields of the newly created or modified document from the "Processing Posting" event handler (located in the common module) assigned to subscribe to the event for the "Invoice Request" document?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Kinash, 2019-03-19
@immelnikoff

One of the parameters of this procedure from the common module (always the first one, it seems) is the changed object. Using it Links can be calculated - is it a new one or editing an existing one. If editing, then through the Link you can get the value of the details BEFORE changing.

I
iBird Rose, 2016-12-01
@letehaha

it is better to use input text instead of span. so that a person can also enter the quantity with his hands. but otherwise yes. everything is correct. everything is done that way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question