T
T
topbanana2011-09-11 17:46:25
1C-Bitrix
topbanana, 2011-09-11 17:46:25

Question on 1C:Enterprise 7.7

In the 1C: Enterprise 7.7 system, there is a document that is not posted, but only recorded. Always in the current working day. The document has a text attribute by which you want to sort the documents in the journal. Is it possible to make sure that the document is written not at the end or the beginning of the day, but at some specific time X, such that in the end in the log you get a list of documents sorted by text attribute?

ps For documents created via CreateObject(), there is no problem, but the document is created interactively.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Swordsman, 2011-09-22
@topbanana

Процедура ПриЗаписи()
УстановитьВремя(ТекущееВремя());
КонецПроцедуры

4
4dmonster, 2011-09-23
@4dmonster

Will it work?
AutoTimeDisable();
Syntax:
AutoTimeDisable()
Purpose:
Disable the automatic time setting mode for new documents, while new documents are entered with the time set using the SetTime method.
Note:
For new documents in the form module, you can use the methods for setting the document time auto-formation flag and for setting the time itself. If these methods are used, then the time request dialog is not called and user settings in the system parameters are ignored.
AutoTimeCurrent();
Syntax:
AutoTimeCurrent()
Purpose:
Set the time recording mode to the current time of day for new documents.
Note:
For new documents in the form module, you can use the methods for setting the document time auto-formation flag and for setting the time itself. If these methods are used, then the time request dialog is not called and user settings in the system parameters are ignored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question