Table 5062 Attachment

Base Application, Microsoft.CRM.Interaction

src/Layers/W1/BaseApp/CRM/Interaction/Attachment.Table.al28 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OpenAttachment line 142

  1. 148raisesOnBeforeOpenAttachmentIsHandled
  2. 152callsIsHTML
  3. 156callsPreviewHTMLContent
  4. 166callsCodeunit 4030 Client Type Management GetCurrentClientType
  5. 167callsProcessWebAttachment

OpenAttachment line 170

  1. 172callsIsHTML
  2. 173callsPreviewHTMLContent
  3. 181callsProcessWebAttachment

InsertRecord line 185

  1. 189writesTable 5062 Attachment Insert
  2. 190callsCodeunit 9500 Sequence No. Mgt. RebaseSeqNo
  3. 191callsCodeunit 9500 Sequence No. Mgt. GetNextSeqNo
  4. 192writesTable 5062 Attachment Insert

ShowAttachment line 196

  1. 201raisesOnBeforeShowAttachmentIsHandled
  2. 205callsIsHTML
  3. 206callsPreviewHTMLContent
  4. 213raisesOnShowAttachmentOnAfterCalcAttachmentFile
  5. 215callsCodeunit 5069 Word Template Interactions IsWordDocumentExtension
  6. 216callsCodeunit 5069 Word Template Interactions RunMergedDocument
  7. 218callsProcessWebAttachment

PreviewHTMLContent line 221, local

  1. 225callsPage 5084 Content Preview SetContent
  2. 225callsCodeunit 5052 AttachmentManagement LoadHTMLContent

ExportAttachmentToClientFile line 230

  1. 241callsCodeunit 419 File Management ServerTempFileName
  2. 242callsExportAttachmentToServerFile
  3. 244callsCodeunit 419 File Management Magicpath
  4. 250callsCodeunit 419 File Management DeleteServerFile

ImportAttachmentFromClientFile line 255

  1. 263callsImportTemporaryAttachmentFromClientFile
  2. 271callsCodeunit 5052 AttachmentManagement InsertAttachment
  3. 275callsCodeunit 5052 AttachmentManagement InsertAttachment
  4. 290callsImportAttachmentFromServerFile

ImportTemporaryAttachmentFromClientFile line 293, local

  1. 298callsCodeunit 419 File Management BLOBImport
  2. 301callsSetAttachmentFileFromBlob
  3. 304callsCodeunit 419 File Management GetExtension
  4. 305writesTable 5062 Attachment Modify

ExportAttachmentToServerFile line 313

  1. 319raisesOnBeforeExportAttachmentToServerFileIsHandled
  2. 332callsCodeunit 4100 Temp Blob FromRecord
  3. 334callsCodeunit 419 File Management ServerTempFileName
  4. 335callsCodeunit 419 File Management BLOBExportToServerFile
  5. 343callsCodeunit 419 File Management GetFileName
  6. 343callsConstDiskFileName
  7. 344callsCodeunit 419 File Management CopyServerFile
  8. 344callsGetServerFileName
  9. 344callsConstDiskFileName

ExportAttachmentToTempBlob line 357

  1. 367callsCodeunit 4100 Temp Blob FromRecord
  2. 374callsCodeunit 419 File Management BLOBImportFromServerFile
  3. 374callsGetServerFileName
  4. 374callsConstDiskFileName

ImportAttachmentFromServerFile line 383

  1. 390raisesOnBeforeImportAttachmentFromServerFileIsHandled
  2. 395callsImportTemporaryAttachmentFromServerFile
  3. 409callsCodeunit 419 File Management BLOBImportFromServerFile
  4. 410callsSetAttachmentFileFromBlob
  5. 413callsCodeunit 419 File Management GetExtension
  6. 416writesTable 5062 Attachment Modify(true)
  7. 423callsCodeunit 419 File Management GetExtension
  8. 426callsCodeunit 419 File Management CopyServerFile
  9. 426callsConstDiskFileName
  10. 427writesTable 5062 Attachment Modify(true)

ImportAttachmentFromStream line 435, internal

  1. 437callsSetAttachmentFileFromStream
  2. 441writesTable 5062 Attachment Insert(true)

ImportTemporaryAttachmentFromServerFile line 446, local

  1. 450callsCodeunit 419 File Management BLOBImportFromServerFile
  2. 451callsSetAttachmentFileFromBlob
  3. 454callsCodeunit 419 File Management GetExtension

RemoveAttachment line 458

  1. 472callsCodeunit 419 File Management DeleteServerFile
  2. 472callsConstDiskFileName
  3. 474writesTable 5062 Attachment Delete(true)

WizEmbeddAttachment line 480

  1. 485raisesOnBeforeWizEmbeddAttachmentIsHandled
  2. 495callsImportAttachmentFromServerFile
  3. 495callsTable 5062 Attachment ConstDiskFileName

WizSaveAttachment line 505

  1. 511raisesOnBeforeWizSaveAttachmentIsHandled
  2. 523callsCopyAttachmentAsFile

ConstDiskFileName line 529

  1. 531raisesOnBeforeConstDiskFileName

CopyAttachmentAsFile line 536, local

  1. 547raisesOnAfterCopyAttachmentAsFile

LinkToMessage line 550

  1. 555callsSetMessageID
  2. 556callsSetEntryID
  3. 558writesTable 5062 Attachment Modify

SetMessageID line 584

  1. 591callsChecksum

ReadHTMLCustomLayoutAttachment line 649

  1. 653callsRead
  2. 655callsParseHTMLCustomLayoutAttachment
  3. 657callsParseHTMLCustomLayoutAttachment

WriteHTMLCustomLayoutAttachment line 660

  1. 664callsGetCustomLayoutCodeLength
  2. 666callsWrite
  3. 667writesTable 5062 Attachment Modify

WriteHTMLCustomLayoutAttachment line 670

  1. 672callsWrite
  2. 673writesTable 5062 Attachment Modify

ParseHTMLCustomLayoutAttachment line 676, local

  1. 681callsGetCustomLayoutCodeLength

IsHTMLReady line 726

  1. 733callsIsHTML
  2. 738callsRead

IsHTMLCustomLayout line 747

  1. 754callsGetCustomLayoutCodeLength
  2. 755callsIsHTML
  3. 758callsRead

ProcessWebAttachment line 782, local

  1. 787callsCodeunit 4100 Temp Blob FromRecord
  2. 788callsCodeunit 419 File Management BLOBExport
  3. 791callsImportAttachmentFromClientFile

SetAttachmentFileFromBlob line 802

  1. 807callsCodeunit 4100 Temp Blob ToRecordRef