DocumentObject.<Document name>.SetTime
Syntax:
Parameters:
<TimeDeterminingMode> (optional)
Sets mode for automatically determining time when writing a new document.
Default value: CurrentOrLast.
<UseJournals> (optional)
Determines whether or not to set time using journals reflecting the given document.
Default value: False.
Description:
Availability:
Note:
Example:
Document = Documents.BudgetaryOperation.CreateDocument(); Document.Date = DocumentDate ; Document.SetNewNumber(); Document.SetTime(AutoTimeMode.CurrentOrLast); |