Create a Document Log and optionally Publish it immediately.

<para> If this is an Account Email Document and UseDocumentExecute is True, this will initiate the Document Execute process. </para> <para> The Publish Status will be set to 'Open' if the PublishOnUtcDate Property is not set. If it is, the Publish Status will be set to 'To Send'. </para>

Syntax

finDocumentCreate.ExecuteCreateLog([publish], [publishError], [warning], [emailSent])

Parameters

NameTypeOptionalByRefDescription
publish Boolean Optional Indicates whether to immediately Publish the Log (if possible). If omitted, a value of False is assumed.
publishError Boolean Optional ByRef Indicates wether there was an error publishing the Log. If omitted, a value of False is assumed.
warning String Optional ByRef Any Warning that was produced such as a Fee not being able to be charged to a 'Closed' Account.
emailSent Boolean Optional ByRef Indicates whether an Email was Sent when publishing the Log. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finDocumentCreate
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0