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

Table 5062 "Attachment"

Base Application · Microsoft.CRM.Interaction

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC251 procedures removed, 1 events added
  4. BC261 procedures changed, 1 procedures removed
  5. BC271 procedures added, 1 procedures removed
  6. BC28-30unchanged

Neighbourhood 11 connected objects and pages

Table extension 1680 "Attachment Internet Message Id" (extended by)Attachment Internet Message IdCodeunit 419 "File Management" (calls, 17 links)File ManagementCodeunit 4100 "Temp Blob" (calls, 4 links)Temp BlobCodeunit 5052 "AttachmentManagement" (calls, 2 links)AttachmentManagementCodeunit 5069 "Word Template Interactions" (calls, 2 links)Word Template InteractionsCodeunit 9500 "Sequence No. Mgt." (calls, 2 links)Sequence No. Mgt.Codeunit 4030 "Client Type Management" (calls)Client Type ManagementTable 5065 "Interaction Log Entry" (referenced by)Interaction Log EntryTable 5074 "Delivery Sorter" (referenced by)Delivery SorterTable 5077 "Segment Line" (referenced by)Segment LineTable 5196 "To-do Interaction Language" (referenced by)To-do 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

Properties

Property Value
Caption Attachment
DataClassification CustomerContent

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
1 No. Integer — NotBlank
2 Attachment File BLOB —
3 Storage Type Enum “Attachment Storage Type” — enum Enum 5062 “Attachment Storage Type”
4 Storage Pointer Text[250] —
5 File Extension Text[250] —
6 Read Only Boolean —
7 Last Date Modified Date —
8 Last Time Modified Time —
13 Merge Source BLOB —
14 Email Message ID BLOB —
15 Email Entry ID BLOB —
16 Email Message Checksum Integer —
17 Email Message Url BLOB —

Keys

  • Key1: No. (clustered)
  • Key2: Email Message Checksum

Events published

  • OnAfterCopyAttachmentAsFile(var FromAttachment: Record Attachment; var ToAttachment: Record Attachment) (integration)
  • OnBeforeShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text; var IsHandled: Boolean; var Attachment: Record Attachment) (integration)
  • OnBeforeExportAttachmentToServerFile(var Attachment: Record Attachment; ExportToFile: Text; var Result: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeImportAttachmentFromServerFile(var Attachment: Record Attachment; ImportFromFile: Text; var Result: Boolean; IsTemporary: Boolean; Overwrite: Boolean; var IsHandled: Boolean) + BC27 − BC27 (integration)
  • OnShowAttachmentOnAfterCalcAttachmentFile(var Attachment: Record Attachment) (integration)
  • OnBeforeOpenAttachment(var Attachment: Record Attachment; var Caption: Text[260]; IsTemporary: Boolean; LanguageCode: Code[10]; var IsHandled: Boolean) (integration)
  • OnBeforeWizSaveAttachment(var Attachment: Record Attachment; var IsHandled: Boolean) (integration)
  • OnBeforeWizEmbeddAttachment(var Attachment: Record Attachment; FromAttachment: Record Attachment; var IsHandled: Boolean) (integration)
  • OnBeforeConstDiskFileName(var Attachment: Record Attachment; var DiskFileName: Text) + BC25 (integration)

Procedures

  • OpenAttachment(Caption: Text[260]; IsTemporary: Boolean; LanguageCode: Code[10])
  • OpenAttachment(var SegmentLine: Record "Segment Line"; WordCaption: Text)
  • InsertRecord() Δ BC26
  • ShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text)
  • ExportAttachmentToClientFile(var ExportToFile: Text): Boolean
  • ImportAttachmentFromClientFile(ImportFromFile: Text; IsTemporary: Boolean; IsInherited: Boolean): Boolean
  • ExportAttachmentToServerFile(var ExportToFile: Text): Boolean
  • ExportAttachmentToTempBlob(var TempBlob: Codeunit "Temp Blob"): Boolean + BC27: Export the Attachment to the TempBlob Codeunit.
  • ImportAttachmentFromServerFile(ImportFromFile: Text; IsTemporary: Boolean; Overwrite: Boolean): Boolean
  • ImportAttachmentFromStream(InStream: InStream; FileExtension: Text): Integer (internal)
  • RemoveAttachment(Prompt: Boolean): Boolean
  • WizEmbeddAttachment(FromAttachment: Record Attachment)
  • WizSaveAttachment()
  • ConstDiskFileName(): Text
  • LinkToMessage(MessageID: Text; EntryID: Text; RunTrigger: Boolean)
  • Checksum(MessageID: Text): Integer
  • GetMessageID(): Text
  • SetMessageID(MessageID: Text)
  • SetEntryID(EntryID: Text)
  • GetEmailMessageUrl(): Text
  • SetEmailMessageUrl(Url: Text)
  • Read(): Text
  • Write(SourceText: Text)
  • ReadHTMLCustomLayoutAttachment(var ContentBodyText: Text; var CustomLayoutCode: Code[20]): Boolean
  • ReadHTMLCustomLayoutAttachment(var ContentBodyText: Text; var CustomLayoutCode: Code[20]; var ReportLayoutName: Text[250]): Boolean
  • WriteHTMLCustomLayoutAttachment(ContentBodyText: Text; CustomLayoutCode: Code[20])
  • WriteHTMLCustomLayoutAttachment(ContentBodyText: Text; ReportLayoutName: Text[250])
  • IsHTML(): Boolean
  • IsHTMLReady(): Boolean
  • IsHTMLCustomLayout(): Boolean
  • GetServerFileName(DiskFileName: Text): Text
  • SetAttachmentFileFromBlob(TempBlob: Codeunit "Temp Blob")
  • SetAttachmentFileFromStream(InStream: InStream) (internal)

Plus 8 local procedures.

Triggers

OnInsert, OnModify

Referenced by

4 fields in 4 objects relate to this table (TableRelation or CalcFormula).

Extended by

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.

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

Evidence 1 sources