V
V
Vyacheslav Shevchenko2018-03-25 20:57:00
1C-Enterprise
Vyacheslav Shevchenko, 2018-03-25 20:57:00

How to add one minute to all selection documents in 1C?

Hello.
For some reason, I have the date of all documents "implementation of inventory and services" less than one minute than "buyer's order".
Why could this happen?
How can I apply the date change to them all at once according to the formula: the date of the current document + 1 minute and spend?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2018-03-25
@WebDev2030

enumeration

ДокОбъект = СсылкаНаДокумент.ПолучитьОбъект(); 
ДокОбъект.Дата = ДокОбъект.Дата + 1; 
ДокОбъект.Записать();

or
change the date by taking the date of the order.
ДокОбъект = СсылкаНаДокумент.ПолучитьОбъект(); 
ДокОбъект.Дата = ДокОбъект.Заказ.Дата + 1; 
ДокОбъект.Записать();

You can put a check or fill in the date when writing the document.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question