Codeunit 6135 E-Document WorkFlow Processing

E-Document Core, Microsoft.eServices.EDocument

Source AL, 572 lines

src/Apps/W1/EDocument/App/src/Workflow/EDocumentWorkFlowProcessing.Codeunit.allines 18 to 33 of 572, Copyright (c) Microsoft Corporation. MIT

codeunit 6135 "E-Document WorkFlow Processing"{    Permissions =        tabledata "E-Document" = m,        tabledata "E-Doc. Mapping Log" = i;    internal procedure IsServiceUsedInActiveWorkflow(EDocumentService: Record "E-Document Service"): Boolean    var        Workflow: Record Workflow;        WorkflowStep: Record "Workflow Step";        WorkflowStepArgument: Record "Workflow Step Argument";    begin        Workflow.SetRange(Enabled, true);        if Workflow.FindSet() then            repeat                WorkflowStep.SetRange("Workflow Code", Workflow.Code);

All 572 lines

Events 1 in 29

[IntegrationEvent] OnBatchSendWithCustomBatchMode(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; var IsHandled: Boolean)new in 23

Public procedures 3 in 29

DoesFlowHasEDocService(var EDocServices: Record "E-Document Service"; WorkfLowCode: Code[20]): Booleannew in 23changed in 28
GetServicesFromEntryPointResponseInWorkflow(WorkFlow: Record Workflow; var EDocumentService: Record "E-Document Service"): Booleannew in 27changed in 28
GetEDocumentFromRecordRef(var RecordRef: RecordRef; var EDocument: Record "E-Document"): Booleannew in 27

All 14 procedures in 23-29

Changes 2 in 28

List17181920212223242526272829
Procedures2102
DoesFlowHasEDocService(var EDocServices: Record "E-Document Service"; WorkfLowCode: Code[20]): Booleannew in 23changed in 28
changed, was internal DoesFlowHasEDocService(var EDocServices: Record "E-Document Service"; WorkfLowCode: Code[20]): Boolean
GetServicesFromEntryPointResponseInWorkflow(WorkFlow: Record Workflow; var EDocumentService: Record "E-Document Service"): Booleannew in 27changed in 28
changed, was internal GetServicesFromEntryPointResponseInWorkflow(WorkFlow: Record Workflow; var EDocumentService: Record "E-Document Service"): Boolean

All 14 changes in 23-29