Get the Source Object to use for a Document. This will be from either this Workflow Item or the Workflow's Target object.

Syntax

finWorkflowItem.GetSourceObjectForDocument(sourceObject, [documentPk])

Parameters

NameTypeOptionalByRefDescription
sourceObject Object ByRef The Source Object, e.g., the Workflow's Account or Account's Main Client or the Source Object of this Workflow Item. This will vary based on the Document Type.
documentPk Integer Optional The primary key of a Document or zero to use the Document defined on this Workflow Item. If omitted, a value of 0 is assumed.

Return Value

Boolean

An Boolean value indicating success.

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