Skip to content

Codeunit WSB_DCAEmailMgt

Exposes procedures for adding Document Archive files to email messages as attachments.

Properties

Name Value
Access Public

Methods

wgFncAddDocumentArchiveEmailAttachmentsToEmailMessage(Codeunit::System#Email#Email Message@, RecordRef@):Boolean

Adds all Document Archive Files configured for mailing as E-Mail Attachments for the specified source record.

Parameters

Type Name Description
Codeunit "Email Message" vCduEmailMessage The e-mail message
RecordRef vRecRefSourceDoc The source record.

Returns

Type Description
Boolean true iff document archive files were added as attachment

Retrieves the Document Archive Files as E-Mail Attachments for the specified table and system ID.

Parameters

Type Name Description
Guid pSourceSystemID System ID of the record to retrieve the files for.
Integer pSourceTableId Table ID of the record to retrieve the files for.
Record "Email Related Attachment" vRecEmailRelatedAttachments The record set to store the email related attachments in.