Codeunit 6468 Serv. Doc. Exchange Mgt.

Base Application, Microsoft.EServices.EDocument

Source AL, 451 lines

src/Layers/W1/BaseApp/Service/EServices/EDocument/ServDocExchangeMgt.Codeunit.allines 10 to 25 of 451, Copyright (c) Microsoft Corporation. MIT

codeunit 6468 "Serv. Doc. Exchange Mgt."{    var        DocExchServiceMgt: Codeunit "Doc. Exch. Service Mgt.";        AlreadyUsedInDocHdrErr: Label 'The incoming document has already been assigned to %1 %2 (%3).', Comment = '%1=document type, %2=document number, %3=table name, e.g. Sales Header.';        CannotResendErr: Label 'You cannot send this electronic document because it is already delivered or in progress.';        DocumentTypeEnumErr: Label '%1 Document Type %2 enum cannot be converted to %3 Document Type enum.', Comment = '%1 - Sales, %2 - Invoice, %3 - Service';        NotSupportedSalesErr: Label 'Sales documents of type %1 are not supported.', Comment = '%1 will be Sales/Purchase Header. %2 will be invoice, Credit Memo.';        SalesTxt: Label 'Sales';    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Doc. Exch. Links", 'OnBeforeUpdateDocumentRecord', '', true, false)]    local procedure OnBeforeUpdateDocumentRecord(DocRecRef: RecordRef; DocIdentifier: Text; DocOrigIdentifier: Text; var IsHandled: Boolean)    begin        case DocRecRef.Number of            Database::"Service Invoice Header":                begin

All 451 lines

Events 1 in 29

[IntegrationEvent] OnGetServiceIncomingDocumentType(ServiceDocumentType: Enum "Service Document Type"; var IncomingDocumentType: Enum "Incoming Document Type"; var IsHandled: Boolean)new in 25

Public procedures 2 in 29

SetServiceDoc(var ServiceHeader: Record "Service Header"; var IncomingDocument: Record "Incoming Document")new in 25
GetServiceIncomingDocumentType(ServiceDocumentType: Enum "Service Document Type"): Enum "Incoming Document Type"new in 25

All 4 procedures in 25-29