Skip to content

Codeunit WSB_DigiDocQueueEntryMgt

Provides functionality for handling and mailing Document Mail Queue Entries.

Properties

Name Value
Access Public

Methods

wlEvpOnAfterGetSourceName

Modify the source name (customer name or vendor name)

Parameters

Type Name Description
Integer pSourceType
Code[20] pSourceNo
Text vSourceName

wlEvpOnBeforeSendEmailDirectly

You can override of manupulate the sendig of e-mails here

Parameters

Type Name Description
Record "WSB_DigiDocQueue" vRecDigiDocEntry
Enum "Report Selection Usage" pReportUsage
Boolean pFoundBody
Boolean pFoundAttachment
Text[250] pDefaultEmailAddress
Record "Report Selections" temporary vRecTempAttachReportSelections
Record "Custom Report Selection" vRecCustomReportSelection
Integer pEmailBodyReportID
Code[20] pEmailBodyReportLayoutCode
Integer pReportId
Boolean vAllEmailsWereSuccessful
Boolean vIsHandled

wlEvpOnSendEmailDirectlyOnBeforeQueueEntryInsert

Record is initialized and filled but not yet inserted

Parameters

Type Name Description
Record "WSB_DigiDocQueue" vRecDigiDocEntry
Enum "Report Selection Usage" pReportUsage
Boolean pFoundBody
Boolean pFoundAttachment
Text[250] pDefaultEmailAddress
Record "Report Selections" temporary vRecTempAttachReportSelections
Record "Custom Report Selection" vRecCustomReportSelection
Integer pEmailBodyReportID
Code[20] pEmailBodyReportLayoutCode
Integer pReportId
Boolean vAllEmailsWereSuccessful