Codeunit 6148 "E-Document Helper"
EDocument · Microsoft.eServices.EDocument
Across versions
- BC23-28not present
- BC29-30present
EDocument · Microsoft.eServices.EDocument · BC29-30 · source at ea08af5e · facts from BC29
Procedures
GetEDocumentBlob(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob")GetInboundPdfPreviewEntryNo(SourceRecordId: RecordId): Integer: Returns the inbound PDF preview (unstructured E-Doc. Data Storage entry) for a posted purchase document that originated from an E-Document, matching by the document’s RecordId. Returns 0 when the document has no linked PDF preview.GetInboundPdfPreviewEntryNo(SourceRecordId: RecordId; EDocumentLink: Guid): Integer: Returns the inbound PDF preview (unstructured E-Doc. Data Storage entry) for a purchase document that originated from an E-Document. The E-Document is located by its SystemId (open documents that carry an “E-Document Link”) or, as a fallback, by the document’s RecordId (posted documents). Returns 0 …IsElectronicDocument(var RecRef: RecordRef): Boolean: Use it to check if the source document is an E-Document.IsElectronicDocument(var RecRef: RecordRef; var DocumentSendingProfile: Record "Document Sending Profile"): BooleanGetServicesInWorkflow(Workflow: Record Workflow; var EDocumentService: Record "E-Document Service"): Boolean: Returns the EDocuments services used in a workflow. E-Document service record has code filter set.AllowEDocumentCoreHttpCalls(): Use it to set allow EDocument CoreHttpCalls.GetEdocumentService(Edocument: Record "E-Document"; var EdocumentService: Record "E-Document Service"): Use it to get E-Document Service for an Edocument.EnsureInboundEDocumentHasService(var EDocument: Record "E-Document"): Boolean(internal)OpenDraftPage(var EDocument: Record "E-Document")
Plus 1 local procedures.
Recent changes
- 2026-07-09 #9145 [E-Document] Show PDF preview factbox on purchase invoice pages (main, BC30, feature)
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "E-Document Helper"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.