Codeunit WSB_DDCPrintEventPublishers¶
Exposes event publishers to hook into the printing of Document Mail Queue entries.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgEvpOnBeforeFindPrintReportSelections¶
Allows to hook into the moment right before the report selections for printing are retrieved.
Parameters¶
Type | Name | Description |
---|---|---|
Enum "Report Selection Usage" |
pReportSelectionUsage |
The usage of the report selection record. |
Integer |
pSourceTableID |
The table ID of the source entity/account. |
Code[20] |
pSourceNo |
The no. of the source entity/account. |
Record "Report Selections" temporary |
vRecTempReportSelection |
The report selection record as "Report Selections" record. |
Boolean |
vFound |
Set this parameter to true if the report selection record could be found successfully by your extension-subscriber. |
Boolean |
vIsHandled |
Set this parameter to true if your extension-subscriber handles retrieving the report selection. |
wgEvpOnBeforeHandlePrintDocument¶
Allows to hook into the moment right before the document of a queue entry is printed.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecQueueEntry |
The queue entry record. |
Boolean |
vSuccess |
Set this parameter to true if your extension/subscriber handled the printing and printing was successful. |
Boolean |
vIsHandled |
Set this parameter to true if your extension/subscriber handled the printing for the queue entry record. |