Create an unsaved Account Log linked to this Workflow.

The Log Subject will be set to the Document's Description.

Syntax

finWorkflowExecutor.CreateAccountDocumentLog(documentId, recordCreatedLog, accountPk, [workflowItemPk], [publishImmediately], [source])

Parameters

NameTypeOptionalByRefDescription
documentId String The Document Id.
recordCreatedLog Boolean Indicates whether to record this Log in the CreatedLogs collection. If False, a Script can use the CreatedLogsAddAccountApp method to manually record the Log.
accountPk Integer The primary key of the Account.
workflowItemPk Integer Optional The primary key of the Workflow Item to link to or zero. If omitted, a value of 0 is assumed.
publishImmediately Boolean Optional Indicates whether, if possible, this Log should be published immediately, i.e., when calling the PublishLogs method. If omitted, a value of False is assumed.
source isefinLogSource Optional If omitted, a value of isefinLogSource.Workflow is assumed.

Return Value

finAccountLog

A finAccountLog object.

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