Codeunit WSB_DigiDocProcessQueueDDC¶
Codeunit to process (filtered or selected) records and skip entries with errors. If any errors occur, they will be stored in table DigiDocMessage.
Properties¶
Name | Value |
---|---|
Access | Public |
TableNo | WSB_DigiDocQueue |
Methods¶
wlEvpOnAfterQueueProcess¶
Allows for hooking into the moment after the queue entry has been processed.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
wlEvpOnAfterQueueValidate¶
Allows for hooking into validation of the queue entry. This event triggers after the validation has completed.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
Boolean |
vError |
Set this parameter to true if your extension discovered an error via additional validation steps. |
wlEvpOnAfterRunOutputFormatSpecificValidationsForQueueEntry¶
Allows to hook into the moment right after output-format-/DigiFormat-specific validations have been run for a queue entry.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
Boolean |
vError |
Set this parameter to true if an error was detected by your custom validations. |
wlEvpOnBeforeProduceOutputForDocumentMailQueueEntry¶
Allows for hooking into the moment before the output for the queue entry will be produced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
wlEvpOnBeforeQueueProcess¶
Allows for hooking into the moment before the queue entry is processed.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
wlEvpOnBeforeQueueValidate¶
Allows for hooking into validation of the queue entry. This event triggers right before the validation of the queue entry is performed.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
Boolean |
vError |
Set this to true if an error was found during custom validation by your extension. |
Boolean |
vIsHandled |
Set this to true if the validation is fully done by your extension, replacing the default validation. |
wlEvpOnBeforeRunOutputFormatSpecificValidationsForQueueEntry¶
Allows to hook into the moment right before output-format-/DigiFormat-specific validations are being run for a queue entry. Also allows to override the output-format-specific validation by setting the vIsHandled parameter to true.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
Boolean |
vError |
Set this parameter to true if an error was detected by your custom validations. |
Boolean |
vIsHandled |
Set this parameter to true if your custom code overrides the output-format-specific validations that should be run for this queue entry. |
wlEvpOnProduceOutputForDocumentMailQueueEntryOnCaseElse¶
Allows for handling custom Document Mail Queue output formats.
Parameters¶
Type | Name | Description |
---|---|---|
Record "WSB_DigiDocQueue" |
vRecDigiDocQueue |
The queue entry. |
Boolean |
vIsHandled |
Set this parameter to true if the output format is handled by your extension. |
Boolean |
vIsSuccess |
Set this parameter to true if the output was successfully produced/handled by your extension. |