Codeunit 5467 "PDF Document Management"
Base Application · Microsoft.EServices.EDocument
Across versions
- BC23present
- BC241 procedures removed
- BC251 procedures added
- BC26-27unchanged
- BC281 procedures added
- BC29-30unchanged
Neighbourhood 47 connected objects and pages
Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29
Procedures
GeneratePdf(DocumentId: Guid; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): BooleanGeneratePdfBlobWithDocumentType(ParentId: Guid; DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean+ BC25GeneratePdfBlobWithDocumentType(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean+ BC25AddToTempAttachmentEntityBuffer(DocumentId: Guid; DocumentType: Enum "Attachment Entity Buffer Document Type"; TempBlob: Codeunit "Temp Blob"; Name: Text[250]; var TempAttachmentEntityBuffer: Record "Attachment Entity Buffer" temporary): Boolean+ BC28 (internal): Inits and adds generated report to the buffer
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4100 “Temp Blob” (2 calls:
AddToTempAttachmentEntityBuffer → CreateInStream,AddToTempAttachmentEntityBuffer → HasValue) - Codeunit 260 “Document-Mailing” (1 call:
GeneratePdf → GetAttachmentFileName) - Codeunit 5477 “Sales Invoice Aggregator” (1 call:
GeneratePdf → GetSalesInvoiceHeaderFromId) - Codeunit 5508 “Graph Mgt - Sal. Cr. Memo Buf.” (1 call:
GeneratePdf → GetSalesCrMemoHeaderFromId) - Codeunit 5529 “Purch. Inv. Aggregator” (1 call:
GeneratePdf → GetPurchaseInvoiceHeaderFromId)
Called by
- Codeunit 4999 “Return Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5001 “Bl. S. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5002 “Bl. P. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5003 “S. Ret. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5004 “Sales Shipment PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5006 “Purch. Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5007 “Purch. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5008 “Return Receipt PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5009 “P. Ret. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5017 “Trans. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5018 “Trans. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5019 “Trans. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5020 “S.Arch.Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5021 “S.Arch.Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5022 “P.Arch.Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5023 “P.Arch.Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5024 “S.Arch.Return PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5025 “P.Arch.Return PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5026 “Asm. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5027 “P.Asm. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5028 “S.Arch.Bl.Ord PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5029 “P.Arch.Bl.Ord PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5030 “Phys.Inv.Ord. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5031 “P.Phys.InvOrd PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5032 “Phys.Inv.Rec. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5033 “P.Phys.InvRec PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5034 “Inv. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5035 “Inv. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5036 “P.Inv. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5037 “P.Inv. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5038 “P.Direct Trans PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5441 “Sales Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5444 “Sales Cr.Memo PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5445 “Cust. St. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5446 “Purch. Invoice PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5447 “Purch. Cr.Memo PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5449 “Sales Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5450 “Sales Invoice PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5453 “Purch. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Codeunit 5454 “Project PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → AddToTempAttachmentEntityBuffer) - Page 20057 “APIV1 - PDF Document” (1 call:
OnFindRecord → GeneratePdf) - Page 30056 “APIV2 - PDF Document” (1 call:
OnFindRecord → GeneratePdfBlobWithDocumentType)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. 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: "PDF Document Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.