A
A
Andrey2018-07-09 11:12:12
1C-Enterprise
Andrey, 2018-07-09 11:12:12

How to change the closing date of a shift in 1C 8.3?

I'm trying to change the closing date of the shift through the "universal selection and processing of documents" ... but I'm almost zero in this ...
I write in the "arbitrary algorithm" column:
Object. End of Cash Shift = 07/08/2018 20:26:19;
Object.Write();
Throws an error:
{ExternalProcessing.GenericProcessingObjects.Form.ArbitraryAlgorithm.Form(27)}: Compilation error evaluating expression or executing code fragment: {(1,39)}: Unrecognized operator

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2018-07-09
@scr_by

Date using function:

Объект.ОкончаниеКассовойСмены = Дата(2018, 7, 8, 20, 26, 19);
Объект.Записать();

or as a literal (quotes are required):
Объект.ОкончаниеКассовойСмены = '2018-07-08 20:26:19';
Объект.Записать();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question