Interface IPdfDocumentHandler, source in 29
Source29
src/Layers/W1/BaseApp/eServices/EDocument/IPdfDocumentHandler.Interface.al20 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.EServices.EDocument;
using Microsoft.Integration.Graph;
interface IPdfDocumentHandler
{
/// <summary>
/// Generates a PDF blob for the specified document type
/// </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): Boolean;
}