Answer the question
In order to leave comments, you need to log in
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
enumeration
ДокОбъект = СсылкаНаДокумент.ПолучитьОбъект();
ДокОбъект.Дата = ДокОбъект.Дата + 1;
ДокОбъект.Записать();
ДокОбъект = СсылкаНаДокумент.ПолучитьОбъект();
ДокОбъект.Дата = ДокОбъект.Заказ.Дата + 1;
ДокОбъект.Записать();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question