Get a collection of unique Clients (both from the Clients and Accounts collections) for a Document.

<para> If this Client is contained in the Clients collection then it will have a 'Direct' flag set to True. </para> <para> The item's Accounts collection will contain only Accounts linked to this Security Statement for which this Client is to receive documents. </para> <para> This will attempt to handle Joint Clients cleanly i.e. only have a single entry (for the first Client) but include an Addressee and Salutation which refers to all joins (if entered this way on the Account). </para>

Syntax

finSecurityStmt.GetClientsForDocument(documentId, debtorAdvice)

Parameters

NameTypeOptionalByRefDescription
documentId String The Document Id.
debtorAdvice Boolean Indicates whether this should be sent to all Debtors regardless of whether they are configured to receive documents.

Return Value

finSecurityStmtDocumentClients

A finSecurityStmtDocumentClients object.

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