Codeunit 5440 Default PDF Doc.Handler

Base Application, Microsoft.EServices.EDocument

Source AL, 34 lines

src/Layers/W1/BaseApp/eServices/EDocument/DefaultPDFDocHandler.Codeunit.allines 9 to 24 of 34, Copyright (c) Microsoft Corporation. MIT

codeunit 5440 "Default PDF Doc.Handler" implements IPdfDocumentHandler{    /// <summary>    /// Default handler procedure with integration event.    /// </summary>    /// <param name="DocumentId">Document ID</param>    /// <param name="DocumentType">Document Type</param>    /// <param name="TempAttachmentEntityBuffer">The buffer to store successfully generated report</param>    /// <returns>True if the generated report successfully added to the buffer, otherwise false.</returns>    procedure GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary) DocumentFound: Boolean    var        Handled: Boolean;    begin        OnBeforeGeneratePdfBlobWithDocumentType(DocumentId, DocumentType, TempAttachmentEntityBuffer, DocumentFound, Handled);        if Handled then

All 34 lines

Events 1 in 29

[IntegrationEvent] OnBeforeGeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var DocumentFound: Boolean; var Handled: Boolean)new in 28

Public procedures 1 in 29

GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 28

Changes 3 in 28

List17181920212223242526272829
Object11
Procedures1
Events1
codeunit 5440 "Default PDF Doc.Handler"17-20, 28-29
no longer obsolete, was codeunit 5440 "Business Profile Sync. Runner"
GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Booleannew in 28
added
[IntegrationEvent] OnBeforeGeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary; var DocumentFound: Boolean; var Handled: Boolean)new in 28
added

All 4 changes in 17-20, 28-29