Codeunit 6133 E-Document Background Jobs

E-Document Core, Microsoft.eServices.EDocument

Source AL, 253 lines

src/Apps/W1/EDocument/App/src/Processing/EDocumentBackgroundJobs.Codeunit.allines 11 to 26 of 253, Copyright (c) Microsoft Corporation. MIT

codeunit 6133 "E-Document Background Jobs"{    Access = Internal;    Permissions =            tabledata "E-Document" = m,            tabledata "E-Document Service" = m,            tabledata "Job Queue Entry" = im;    procedure StartEdocumentCreatedFlow(EDocument: Record "E-Document")    begin        EDocument."Job Queue Entry ID" := ScheduleEDocumentJob(Codeunit::"E-Document Created Flow", EDocument.RecordId(), 0);        EDocument.Modify();    end;    procedure ScheduleMessageSend(EDocumentMessage: Record "E-Document Message")    begin

All 253 lines

Events 1 in 29

[InternalEvent] OnBeforeScheduleEDocumentJob(CodeunitId: Integer; JobRecordId: RecordId)new in 29

Public procedures 14 in 29

StartEdocumentCreatedFlow(EDocument: Record "E-Document")new in 23
RemoveJob(JobId: Guid)new in 23
ScheduleGetResponseJob()new in 25
ScheduleGetResponseJob(SkipSchedulingIfJobExists: Boolean)new in 25
ScheduleRecurrentBatchJob(var EDocumentService: Record "E-Document Service")new in 26
ScheduleRecurrentImportJob(var EDocumentService: Record "E-Document Service")new in 26

All 21 procedures in 23-29

Changes 8 in 29

List17181920212223242526272829
Procedures487
Events1
ScheduleMessageSend(EDocumentMessage: Record "E-Document Message")new in 29
added
SchedulePaymentOccurrence(EDocPaymentOccurrence: Record "E-Doc. Payment Occurrence")new in 29
added
TrySchedulePaymentOccurrence(EDocPaymentOccurrence: Record "E-Doc. Payment Occurrence"): Booleannew in 29
added
internal EnsurePaymentOccurrenceDispatcher()new in 29
added
TryScheduleMessageSend(EDocumentMessage: Record "E-Document Message"): Booleannew in 29
added
ScheduleMessageResponse(EDocumentMessage: Record "E-Document Message")new in 29
added

All 20 changes in 23-29