Objects / Tables / Table 5062 Attachment
Table 5062 Attachment in 22 Jonas Paprotka , Base Application 22.5.59966.64723, checked 2026-09-20
Markdown JSON
App Base Application Fields, 13 Keys, 2 Procedures, 32 Events, 7
Versions 17 18 19 20 21 22 23 24 25 26 27 28 latest
Source 29
Fields, 13 Id Name Type Obsolete 1 No. Integer - 2 Attachment File Blob - 3 Storage Type Enum 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, 2 Name Fields Obsolete Key1, clustered No. - Key2 Email Message Checksum -
Procedures, 32 Name Parameters Returns Access Obsolete OpenAttachment ( Text [ 260 ], Boolean , Code [ 10 ]) public - ExportAttachmentToClientFile ( var Text ) Boolean public - ImportAttachmentFromClientFile ( Text , Boolean , Boolean ) Boolean public - ExportAttachmentToServerFile ( var Text ) Boolean public - ImportAttachmentFromServerFile ( Text , Boolean , Boolean ) Boolean public - RemoveAttachment ( Boolean ) Boolean public - WizEmbeddAttachment ( Record Attachment) public - WizSaveAttachment () public - ConstDiskFileName () Text public - CheckCorrespondenceType ( Enum Correspondence Type ) Text [ 80 ] public Pending 23.0 Correspondence Type Fax is no longer supported. This procedure only checked for Fax. LinkToMessage ( Text , Text , Boolean ) public - DisplayInOutlook () public - Checksum ( Text ) Integer public - GetMessageID () Text public - SetMessageID ( Text ) public - SetEntryID ( Text ) public - Read () Text public - Write ( Text ) public - ReadHTMLCustomLayoutAttachment ( var Text , var Code [ 20 ]) Boolean public - WriteHTMLCustomLayoutAttachment ( Text , Code [ 20 ]) public - IsHTML () Boolean public - IsHTMLReady () Boolean public - IsHTMLCustomLayout () Boolean public - GetServerFileName ( Text ) Text public - SetAttachmentFileFromBlob ( Codeunit Temp Blob ) public - ShowAttachment ( var Record Segment Line, Text ) public - SetAttachmentFileFromStream ( InStream ) internal - OpenAttachment ( var Record Segment Line, Text ) public - GetEmailMessageUrl () Text public - SetEmailMessageUrl ( Text ) public - InsertRecord () public - ImportAttachmentFromStream ( InStream , Text ) Integer internal -
Events, 7 Kind Name Parameters Obsolete Integration event OnBeforeRunAttachment ( var Record Segment Line, Text [ 260 ], Boolean , Boolean , Boolean , var Boolean ) Pending 20.0 Replaced with event OnBeforeShowAttachment. Integration event OnBeforeExportAttachmentToServerFile ( var Record Attachment, Text , var Boolean , var Boolean ) - Integration event OnBeforeImportAttachmentFromServerFile ( var Record Attachment, Text , var Boolean , var Boolean ) - Integration event OnRunAttachmentOnBeforeWordManagementRunMergedDocument ( var Record Attachment, var Boolean ) Pending 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. Integration event OnAfterCopyAttachmentAsFile ( var Record Attachment, var Record Attachment) - Integration event OnBeforeShowAttachment ( var Record Segment Line, Text , var Boolean , var Record Attachment) - Integration event OnShowAttachmentOnAfterCalcAttachmentFile ( var Record Attachment) -