Codeunit 260 "Document-Mailing"
Base Application · System.EMail
Across versions
- BC23present
- BC244 procedures removed, 2 events added
- BC251 events added
- BC26unchanged
- BC2713 procedures added, 9 procedures changed
- BC28-30unchanged
Neighbourhood 61 connected objects and pages
Base Application · System.EMail · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Job Queue Entry |
Events published
OnBeforeSendEmail(var TempEmailItem: Record "Email Item" temporary; var IsFromPostedDoc: Boolean; var PostedDocNo: Code[20]; var HideDialog: Boolean; var ReportUsage: Integer; var EmailSentSuccesfully: Boolean; var IsHandled: Boolean; EmailDocName: Text[250]; SenderUserID: Code[50]; EmailScenario: Enum "Email Scenario")(integration)- subscribers: Codeunit 6753 “Send Reminder Event Handler” DeleteFailedEmailsBeforeSendingEmail
OnAfterEmailSentSuccesfully(var TempEmailItem: Record "Email Item" temporary; PostedDocNo: Code[20]; ReportUsage: Integer)(integration)OnAfterEmailSent(var TempEmailItem: Record "Email Item" temporary; PostedDocNo: Code[20]; ReportUsage: Integer; EmailSentSuccesfully: Boolean)+ BC24 (integration)- subscribers: Codeunit 545 “Send Reminder” HandleEmailSent, Codeunit 6753 “Send Reminder Event Handler” UpdateStatusAfterEmailSent
OnBeforeEmailFileInternal(var TempEmailItem: Record "Email Item" temporary; var HtmlBodyFilePath: Text[250]; var EmailSubject: Text[250]; var ToEmailAddress: Text[250]; var PostedDocNo: Code[20]; var EmailDocName: Text[250]; var HideDialog: Boolean; var ReportUsage: Integer; var IsFromPostedDoc: Boolean; var SenderUserID: Code[50]; var EmailScenario: Enum "Email Scenario"; var EmailSentSuccessfully: Boolean; var IsHandled: Boolean)Δ BC27 (integration, obsolete 27.0)OnBeforeEmailItemPreparation(var TempEmailItem: Record "Email Item" temporary; var HtmlBody: Codeunit "Temp Blob"; var EmailSubject: Text[250]; var ToEmailAddress: Text[250]; var PostedDocNo: Code[20]; var EmailDocName: Text[250]; var HideDialog: Boolean; var ReportUsage: Integer; var IsFromPostedDoc: Boolean; var SenderUserID: Code[50]; var EmailScenario: Enum "Email Scenario"; var EmailSentSuccessfully: Boolean; var IsHandled: Boolean)+ BC27 (integration)- subscribers: Codeunit 6753 “Send Reminder Event Handler” AttachRelatedDocumentsBeforeEmailFileInternal
OnBeforeEmailFile(var HideDialog: Boolean)(integration)OnBeforeGetAttachmentFileName(var AttachmentFileName: Text[250]; PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer)(integration)- subscribers: Codeunit 1890 “Reminder Communication” OnBeforeGetAttachmentFileName
OnBeforeGetEmailSubject(PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer; var EmailSubject: Text[250]; var IsHandled: Boolean)(integration)- subscribers: Codeunit 1890 “Reminder Communication” OnBeforeGetEmailSubject
OnBeforeGetToAddressFromCustomer(BillToCustomerNo: Code[20]; var ToAddress: Text[250]; var IsHandled: Boolean)(integration)OnBeforeGetToAddressFromVendor(BuyFromVendorNo: Code[20]; var ToAddress: Text[250]; var IsHandled: Boolean)(integration)OnAfterGetEmailSubject(PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer; var EmailSubject: Text[250])+ BC24 (integration)OnAfterGetAttachmentFileName(var AttachmentFileName: Text[250]; PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer)+ BC25 (integration)
Procedures
EnqueueEmailFile(AttachmentInStream: Instream; AttachmentName: Text; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): Boolean+ BC27 − BC27 (internal)EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyInstream: InStream; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27 (obsolete 27.0: Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.)EmailFile(AttachmentStream: Instream; AttachmentName: Text; var EmailBody: Codeunit "Temp Blob"; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyInstream: Instream; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 + BC27EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 (obsolete 27.0: Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.)EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 (obsolete 27.0: Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.)EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceReference: RecordRef): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; HtmlBodyFilePath: Text[250]; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27 (obsolete 27.0: Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.)EmailFileWithSubjectAndReportUsage(AttachmentStream: InStream; AttachmentName: Text; var HtmlBody: Codeunit "Temp Blob"; EmailSubject: Text[250]; PostedDocNo: Code[20]; ToEmailAddress: Text[250]; EmailDocName: Text[250]; HideDialog: Boolean; ReportUsage: Integer; SourceTables: List of [Integer]; SourceIDs: List of [Guid]; SourceRelationTypes: List of [Integer]): BooleanΔ BC27 + BC27 Δ BC27 + BC27 Δ BC27 + BC27GetToAddressFromCustomer(BillToCustomerNo: Code[20]): Text[250]GetToAddressFromVendor(BuyFromVendorNo: Code[20]): Text[250]GetAttachmentFileName(var AttachmentFileName: Text[250]; PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer)GetEmailBody(PostedDocNo: Code[20]; ReportUsage: Integer; CustomerNo: Code[20]): TextReplaceCustomerNameWithPlaceholder(CustomerNo: Code[20]; BodyText: Text): TextGetEmailSubject(PostedDocNo: Code[20]; EmailDocumentName: Text[250]; ReportUsage: Integer): Text[250]EmailFileFromStream(AttachmentStream: InStream; AttachmentName: Text; Body: Text; Subject: Text; MailTo: Text; HideDialog: Boolean; ReportUsage: Integer): BooleanEmailHtmlFromStream(MailInStream: InStream; ToEmailAddress: Text[250]; Subject: Text; HideDialog: Boolean; ReportUsage: Integer): BooleanEmailFileAndHtmlFromStream(AttachmentStream: InStream; AttachmentName: Text; MailInStream: InStream; ToEmailAddress: Text[250]; Subject: Text; HideDialog: Boolean; ReportUsage: Integer): BooleanEmailFileAndHtmlFromStream(AttachmentStream: InStream; AttachmentName: Text; MailInStream: InStream; ToEmailAddress: Text[250]; Subject: Text; HideDialog: Boolean; ReportUsage: Integer; PostedDocNo: Code[20]; IsFromPostedDoc: Boolean): Boolean
Plus 4 local procedures.
Triggers
OnRun
Relations
- runs on Table 472 “Job Queue Entry”
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” (3 calls:
EmailFileInternal → CreateInStream,EmailFileInternal → HasValue,EmailHtmlFromStream → CreateOutStream) - Codeunit 1630 “Office Management” (2 calls:
EmailFileInternal → AttachAvailable,EmailFileInternal → AttachDocument) - Codeunit 4102 “Temp Blob List” (2 calls:
EmailFileInternal → (object),EmailFileInternal → Get) - Codeunit 8891 “Email Scenario Mapping” (1 call:
EmailFileInternal → FromReportSelectionUsage)
Called by
- Codeunit 452 “Report Distribution Management” (3 calls:
SendAttachment → EmailFile,SendXmlEmailAttachment → GetToAddressFromCustomer,SendXmlEmailAttachmentVendor → GetToAddressFromVendor) - Codeunit 5052 “AttachmentManagement” (2 calls:
SendEmailWithAttachment → EmailFile,SendHTMLEmail → EmailFile) - Table 60 “Document Sending Profile” (2 calls:
SendToEMail → EmailFile,SendToEmailVendor → EmailFile) - Codeunit 1509 “Notification Entry Dispatcher” (1 call:
CreateMailAndDispatch → EmailFile) - Codeunit 20038 “APIV1 - Send Sales Document” (1 call:
SendCreditMemoCancelationEmail → EmailFileWithSubjectAndReportUsage) - Codeunit 2103 “O365 Sales Cancel Invoice” (1 call:
SendInvoiceCancelationEmail → EmailFile) - Codeunit 30038 “APIV2 - Send Sales Document” (1 call:
SendCreditMemoCancelationEmail → EmailFileWithSubjectAndReportUsage) - Codeunit 431 “IC Outbox Export” (1 call:
SendToExternalPartner → EnqueueEmailFile) - Codeunit 4999 “Return Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5001 “Bl. S. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5002 “Bl. P. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5003 “S. Ret. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5004 “Sales Shipment PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5006 “Purch. Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5007 “Purch. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5008 “Return Receipt PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5009 “P. Ret. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5017 “Trans. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5018 “Trans. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5019 “Trans. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5020 “S.Arch.Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5021 “S.Arch.Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5022 “P.Arch.Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5023 “P.Arch.Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5024 “S.Arch.Return PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5025 “P.Arch.Return PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5026 “Asm. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5027 “P.Asm. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5028 “S.Arch.Bl.Ord PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5029 “P.Arch.Bl.Ord PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5030 “Phys.Inv.Ord. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5031 “P.Phys.InvOrd PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5032 “Phys.Inv.Rec. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5033 “P.Phys.InvRec PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5034 “Inv. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5035 “Inv. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5036 “P.Inv. Shpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5037 “P.Inv. Rcpt. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5038 “P.Direct Trans PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5069 “Word Template Interactions” (1 call:
SendMergedDocument → EmailFile) - Codeunit 5441 “Sales Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5444 “Sales Cr.Memo PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5445 “Cust. St. PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5446 “Purch. Invoice PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5447 “Purch. Cr.Memo PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5449 “Sales Quote PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5450 “Sales Invoice PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5453 “Purch. Order PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5454 “Project PDF Doc.Handler” (1 call:
GeneratePdfBlobWithDocumentType → GetAttachmentFileName) - Codeunit 5467 “PDF Document Management” (1 call:
GeneratePdf → GetAttachmentFileName) - and 3 more: data/code/graph/29/calls.json
Deprecations
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFile: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFile that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFileWithSubjectAndReportUsage: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFileWithSubjectAndReportUsage: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.”
- procedure EmailFileWithSubjectAndReportUsage: Pending 27.0 (#if not CLEAN27), “Use procedure EmailFileWithSubjectAndReportUsage that accepts a “Temp Blob” for the html body instead.”
- procedure OnBeforeEmailFileInternal: Pending 27.0 (#if not CLEAN27), “Use new Event OnBeforeEmailItemPreparation instead.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "Document-Mailing"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.