Codeunit 18122025 EOS Adv Mail Processing
Codeunit 18122025 EOS Adv Mail Processing
Methods
CheckRequest
procedure CheckRequest(var AdvDocRequest: Record "EOS AdvDoc Request"; DocumetEntryNo: Integer)
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
DocumetEntryNo
Integer
CheckRequest
procedure CheckRequest(var AdvDocRequest: Record "EOS AdvDoc Request")
Parameters / Return Value
- AdvDocRequest
Record "EOS AdvDoc Request"
ProcessRequest
procedure ProcessRequest(var AdvDocRequest: Record "EOS AdvDoc Request")
Parameters / Return Value
- AdvDocRequest
Record "EOS AdvDoc Request"
ProcessRequest
procedure ProcessRequest(var AdvDocRequest: Record "EOS AdvDoc Request"; AdvDocProcessingLog: Record "EOS AdvDoc Processing Log")
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
AdvDocProcessingLog
Record "EOS AdvDoc Processing Log"
Events
OnBeforeAdvDocRequestCheck
local procedure OnBeforeAdvDocRequestCheck(var AdvDocRequest: Record "EOS AdvDoc Request"; var Handled: Boolean; DocumetEntryNo: Integer)
This event is raised before the default validity checks of a request
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
Request to check
Handled
Boolean
Return true to skip standard checks for some good reasons
DocumetEntryNo
Integer
Document Entry No. to process (if equal 0 checks all documents)
OnAfterAdvDocRequestCheck
local procedure OnAfterAdvDocRequestCheck(var AdvDocRequest: Record "EOS AdvDoc Request"; DocumetEntryNo: Integer)
This event is raised after all standard request checks. Useful for adding additional checks.
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
Request already checked
DocumetEntryNo
Integer
Document Entry No. to process (if equal 0 checks all documents)
OnBeforeAdvDocRequestProcessing
local procedure OnBeforeAdvDocRequestProcessing(var AdvDocRequest: Record "EOS AdvDoc Request"; AdvDocProcessingLog: Record "EOS AdvDoc Processing Log"; var Handled: Boolean)
This event is raised before executing a request. After that event the execute continues in the sandbox.
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
Request to execute
AdvDocProcessingLog
Record "EOS AdvDoc Processing Log"
Source Log entry. “Entry No.” != 0 means an re-execution from log (manual or asynch by nas)
Handled
Boolean
Return true to completly handle the whole processing.
OnAfterAdvDocRequestProcessing
local procedure OnAfterAdvDocRequestProcessing(var AdvDocRequest: Record "EOS AdvDoc Request"; var AdvDocProcessingLog: Record "EOS AdvDoc Processing Log")
This event is executed after the request processing and after the transaction commit.
Parameters / Return Value
AdvDocRequest
Record "EOS AdvDoc Request"
Processed Request
AdvDocProcessingLog
Record "EOS AdvDoc Processing Log"
This log is already committed and contains execution status and error messages.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.