Table 5062 Attachment

Base Application, Microsoft.CRM.Interaction
List17181920212223242526272829
Fields1
Procedures4462111
Events1223512

In 27 2 added, 1 gone

ExportAttachmentToTempBlob(var TempBlob: Codeunit "Temp Blob"): Booleannew in 27
added
[IntegrationEvent] OnBeforeImportAttachmentFromServerFile(var Attachment: Record Attachment; ImportFromFile: Text; var Result: Boolean; var IsHandled: Boolean)gone after 26
gone
[IntegrationEvent] OnBeforeImportAttachmentFromServerFile(var Attachment: Record Attachment; ImportFromFile: Text; var Result: Boolean; IsTemporary: Boolean; Overwrite: Boolean; var IsHandled: Boolean)new in 27
added

In 26 1 gone

CheckCorrespondenceType(CorrespondenceType: Enum "Correspondence Type"): Text[80]gone after 25
gone

In 25 1 gone, 1 added

DisplayInOutlook()gone after 24
gone
[IntegrationEvent] OnBeforeConstDiskFileName(var Attachment: Record Attachment; var DiskFileName: Text)new in 25
added

In 23 5 added, 2 gone

ReadHTMLCustomLayoutAttachment(var ContentBodyText: Text; var CustomLayoutCode: Code[20]; var ReportLayoutName: Text[250]): Booleannew in 23
added
WriteHTMLCustomLayoutAttachment(ContentBodyText: Text; ReportLayoutName: Text[250])new in 23
added
[IntegrationEvent] OnBeforeRunAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; IsVisible: Boolean; Handler: Boolean; var iSHandled: Boolean)gone after 22
gone
[IntegrationEvent] OnRunAttachmentOnBeforeWordManagementRunMergedDocument(var Attachment: Record Attachment; var Handler: Boolean)gone after 22
gone
[IntegrationEvent] OnBeforeOpenAttachment(var Attachment: Record Attachment; var Caption: Text[260]; IsTemporary: Boolean; LanguageCode: Code[10]; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnBeforeWizSaveAttachment(var Attachment: Record Attachment; var IsHandled: Boolean)new in 23
added
[IntegrationEvent] OnBeforeWizEmbeddAttachment(var Attachment: Record Attachment; FromAttachment: Record Attachment; var IsHandled: Boolean)new in 23
added

In 22 2 gone, 1 marked obsolete, 1 changed, 2 added

ShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; Handler: Boolean)gone after 21
gone
RunAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; IsVisible: Boolean; Handler: Boolean)gone after 21
gone
CheckCorrespondenceType(CorrespondenceType: Enum "Correspondence Type"): Text[80]gone after 25
marked Pending, tag 23.0: Correspondence Type Fax is no longer supported. This procedure only checked for Fax.
OpenAttachment(var SegmentLine: Record "Segment Line"; WordCaption: Text)new in 20changed in 22
changed, was OpenAttachment(var SegLine: Record "Segment Line"; WordCaption: Text)
InsertRecord()new in 22
added
internal ImportAttachmentFromStream(InStream: InStream; FileExtension: Text): Integernew in 22
added

In 21 1 gone, 2 added

[IntegrationEvent] OnBeforeShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text; var IsHandled: Boolean)18 to 20
gone
[IntegrationEvent] OnBeforeShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text; var IsHandled: Boolean; var Attachment: Record Attachment)new in 21
added
[IntegrationEvent] OnShowAttachmentOnAfterCalcAttachmentFile(var Attachment: Record Attachment)new in 21
added

In 20 1 gone, 3 added, 1 state changed, 1 marked obsolete

ConstFilename(): Textgone after 19
gone
OpenAttachment(var SegLine: Record "Segment Line"; WordCaption: Text)new in 20changed in 22
added
GetEmailMessageUrl(): Textnew in 20
added
SetEmailMessageUrl(Url: Text)new in 20
added
[IntegrationEvent] OnBeforeRunAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; IsVisible: Boolean; Handler: Boolean; var iSHandled: Boolean)gone after 22
Pending to Pending, tag 20.0: Replaced with event OnBeforeShowAttachment.
[IntegrationEvent] OnRunAttachmentOnBeforeWordManagementRunMergedDocument(var Attachment: Record Attachment; var Handler: Boolean)gone after 22
marked Pending, tag 20.0: The event is no longer referenced as the code path calls .Net that is not supported on non-Windows client types. If needed, request a new event in ShowAttachment procedure.

In 19 1 marked obsolete, 1 added

[IntegrationEvent] OnBeforeRunAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; IsVisible: Boolean; Handler: Boolean; var iSHandled: Boolean)gone after 22
marked Pending, tag 19.0: Replaced by event OnBeforeShowAttachment
[IntegrationEvent] OnAfterCopyAttachmentAsFile(var FromAttachment: Record Attachment; var ToAttachment: Record Attachment)new in 19
added

In 18 1 changed, 2 marked obsolete, 3 added

field(3; "Storage Type"; Enum "Attachment Storage Type")17-29changed in 18
changed, was field(3; "Storage Type"; Option)
ShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; Handler: Boolean)gone after 21
marked Pending, tag 19.0: Replaced with an overload with two parameters.
RunAttachment(var SegLine: Record "Segment Line"; WordCaption: Text[260]; IsTemporary: Boolean; IsVisible: Boolean; Handler: Boolean)gone after 21
marked Pending, tag 19.0: Replaced with procedure ShowAttachment with two parameters.
ShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text)new in 18
added
internal SetAttachmentFileFromStream(InStream: InStream)new in 18
added
[IntegrationEvent] OnBeforeShowAttachment(var SegLine: Record "Segment Line"; WordCaption: Text; var IsHandled: Boolean)18 to 20
added