codeunitRelationship Managementofficial - Microsoftderived - from the source, no model text

Codeunit 5052 "AttachmentManagement"

Base Application · Microsoft.CRM.Interaction

Across versions

  1. BC23-25present
  2. BC261 procedures added, 1 procedures removed
  3. BC273 procedures added, 3 procedures removed
  4. BC28-30unchanged

Neighbourhood 14 connected objects and pages

Codeunit 419 "File Management" (calls, 9 links)File ManagementCodeunit 5321 "Exchange Web Services Server" (calls, 6 links)Exchange Web Services ServerCodeunit 5069 "Word Template Interactions" (calls, 5 links)Word Template InteractionsCodeunit 4100 "Temp Blob" (calls, 4 links)Temp BlobCodeunit 5051 "SegManagement" (calls, 3 links)SegManagementCodeunit 6300 "Azure AD Mgt." (calls, 3 links)Azure AD Mgt.Codeunit 260 "Document-Mailing" (calls, 2 links)Document-MailingTable 5062 "Attachment" (calls, 2 links)AttachmentTable 5080 "To-do" (calls, 2 links)To-doTable 5196 "To-do Interaction Language" (calls, 2 links)To-do Interaction LanguageTable 5076 "Segment Header" (calls)Segment HeaderTable 5077 "Segment Line" (calls)Segment LineTable 5103 "Interaction Tmpl. Language" (calls)Interaction Tmpl. LanguageTable 5104 "Segment Interaction Language" (calls)Segment Interaction Language

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.CRM.Interaction · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterSend(var DeliverySorter: Record "Delivery Sorter"; var DeliverySorterHTML: Record "Delivery Sorter"; var DeliverySorterWord: Record "Delivery Sorter"; var DeliverySorterOther: Record "Delivery Sorter"; var InteractionLogEntry: Record "Interaction Log Entry") (integration)
  • OnBeforeDeliverEmailWithAttachment(var DeliverySorter: Record "Delivery Sorter"; var IsHandled: Boolean; var InteractionLogEntry: Record "Interaction Log Entry") (integration)
  • OnBeforeDeliverHTMLEmail(var DeliverySorter: Record "Delivery Sorter"; var InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean) (integration)
  • OnBeforeInteractionEMail(var InteractionLogEntry: Record "Interaction Log Entry"; var EMailAddress: Text[80]; var IsHandled: Boolean) (integration)
  • OnBeforeSend(var DeliverySorter: Record "Delivery Sorter"; var IsHandled: Boolean) (integration)
  • OnBeforeSetDeliveryState(var InteractLogEntry: Record "Interaction Log Entry"; var IsSent: Boolean) (integration)
  • OnDeliverEmailWithAttachmentOnBeforeSendEmail(var DeliverySorter: Record "Delivery Sorter"; var InteractionLogEntry: Record "Interaction Log Entry"; AttachmentFileFullName: Text; EmailBodyFilePath: Text) Δ BC27 (integration, obsolete 27.0)
  • OnDeliverHTMLEmailOnBeforeSendEmail(var DeliverySorter: Record "Delivery Sorter"; Attachment: Record Attachment; var InteractionLogEntry: Record "Interaction Log Entry"; EmailBodyFilePath: Text) Δ BC27 (integration, obsolete 27.0)
  • OnProcessDeliverySorterHtml(var DeliverySorter: Record "Delivery Sorter"; var TempDeliverySorter: Record "Delivery Sorter" temporary; Attachment: Record Attachment; I: Integer) (integration)
  • OnProcessDeliverySorterOther(var DeliverySorter: Record "Delivery Sorter"; var TempDeliverySorter: Record "Delivery Sorter" temporary; Attachment: Record Attachment; I: Integer) (integration)
  • OnProcessDeliverySorterWord(var DeliverySorter: Record "Delivery Sorter"; var TempDeliverySorter: Record "Delivery Sorter" temporary; Attachment: Record Attachment; I: Integer) (integration)
  • OnConvertCorrespondenceTypeElse(CorrespondenceType: Option; var ReturnType: Enum "Correspondence Type"; var IsHandled: Boolean) (integration)
  • OnSetDeliveryStateOnBeforeModifyInteractLogEntry(var InteractionLogEntry: Record "Interaction Log Entry"; IsSent: Boolean) (integration)
  • OnBeforeProcessDeliverySorter(var DeliverySorter: Record "Delivery Sorter"; var TempDeliverySorterHtml: Record "Delivery Sorter" temporary; var TempDeliverySorterWord: Record "Delivery Sorter" temporary; var TempDeliverySorterOther: Record "Delivery Sorter" temporary; var IsHandled: Boolean) (integration)
  • OnInsertAttachmentOnAfterAttachmentInserted(var Attachment: Record Attachment; AttachmentNo: Integer; var FromAttachment: Record Attachment; var IsHandled: Boolean) (integration)

Procedures

  • InsertAttachment(AttachmentNo: Integer): Integer
  • Send(var DeliverySorter: Record "Delivery Sorter")
  • SendUsingExchange(var DeliverySorter: Record "Delivery Sorter")
  • InteractionEMail(var InteractionLogEntry: Record "Interaction Log Entry"): Text[80]
  • GenerateHTMLContent(var Attachment: Record Attachment; SegmentLine: Record "Segment Line"): Boolean
  • LoadHTMLContent(var Attachment: Record Attachment; SegmentLine: Record "Segment Line"): Text
  • ConvertCorrespondenceType(CorrespondenceType: Option "Same as Entry","Hard Copy",Email): Enum "Correspondence Type" + BC26

Plus 21 local procedures.

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.

Called by

Deprecations

  • procedure OnDeliverEmailWithAttachmentOnBeforeSendEmail: Pending 27.0 (#if not CLEAN27), “Parameter AttachmentFileFullName and EmailBodyFilePath will be removed”
  • procedure OnDeliverHTMLEmailOnBeforeSendEmail: Pending 27.0 (#if not CLEAN27), “Parameter EmailBodyFilePath will be removed”

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: "AttachmentManagement"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources