Codeunit 5051 SegManagement

Base Application, Microsoft.CRM.Segment

src/Layers/W1/BaseApp/CRM/Segment/SegManagement.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

LogSegment line 41

  1. 57raisesOnBeforeLogSegment
  2. 62raisesOnLogSegmentOnAfterCalcShowIsNotEmptyError
  3. 69raisesOnLogSegmentOnBeforeInitLoggedSegmentIsHandled
  4. 75callsGetNextLoggedSegmentEntryNo
  5. 80raisesOnBeforeLoggedSegmentInsert
  6. 81writesTable 5075 Logged Segment Insert
  7. 82raisesOnLogSegmentOnAfterLoggedSegmentInsert
  8. 91callsGetCampaignEntryNo
  9. 92raisesOnBeforeCampaignEntryNoModify
  10. 93writesTable 5077 Segment Line Modify
  11. 104writesTable 5062 Attachment Modify(true)
  12. 110callsCheckSegmentLine
  13. 112callsCodeunit 9500 Sequence No. Mgt. GetNextSeqNo
  14. 115callsTable 5065 Interaction Log Entry CopyFromSegment
  15. 120callsTable 5065 Interaction Log Entry InsertRecord
  16. 123callsUnwrapAttachmentCustomLayout
  17. 143raisesOnBeforeDeliverySorterInsert
  18. 144writesTable 5074 Delivery Sorter Insert
  19. 146raisesOnBeforeInteractLogEntryInsert
  20. 147writesTable 5065 Interaction Log Entry Modify
  21. 148raisesOnLogSegmentOnAfterInteractLogEntryInsert
  22. 151raisesOnLogSegmentOnAfterCalcShouldModifyAttachment
  23. 154writesTable 5062 Attachment Modify(true)
  24. 160raisesOnLogSegmentOnAfterCreateInteractionLogEntries
  25. 164writesTable 5076 Segment Header Delete(true)
  26. 170raisesOnLogSegmentOnBeforeFollowupSegmentHeaderInsert
  27. 171writesTable 5076 Segment Header Insert(true)
  28. 172callsTable 5076 Segment Header ReuseLogged
  29. 173raisesOnAfterInsertFollowUpSegment
  30. 177callsCodeunit 5052 AttachmentManagement Send
  31. 179raisesOnAfterLogSegment

LogInteraction line 183

  1. 196raisesOnBeforeLogInteraction
  2. 198callsTestFieldsFromLogInteraction
  3. 200callsGetCampaignEntryNo
  4. 203raisesOnLogInteractionOnBeforeCheckAttachmentFileValueIsHandled
  5. 210callsTable 5062 Attachment RemoveAttachment
  6. 216raisesOnLogInteractionOnBeforeWizSaveAttachment
  7. 217callsTable 5062 Attachment WizSaveAttachment
  8. 218raisesOnBeforeAttachmentInsert
  9. 219writesTable 5062 Attachment Insert(true)
  10. 221callsExportAttachmentFile
  11. 224raisesOnAfterHandleAttachmentFile
  12. 232callsCodeunit 9500 Sequence No. Mgt. GetNextSeqNo
  13. 236callsTable 5065 Interaction Log Entry CopyFromSegment
  14. 238raisesOnLogInteractionOnBeforeInteractionLogEntryInsert
  15. 239callsTable 5065 Interaction Log Entry InsertRecord
  16. 243raisesOnLogInteractionOnBeforeInteractLogEntryGetIsHandled
  17. 246raisesOnLogInteractionOnAfterGetInteractLogEntryFromSegmentLine
  18. 247callsTable 5065 Interaction Log Entry CopyFromSegment
  19. 249raisesOnLogInteractionOnBeforeInteractionLogEntryModify
  20. 250writesTable 5065 Interaction Log Entry Modify
  21. 252writesTable 5123 Inter. Log Entry Comment Line DeleteAll
  22. 261raisesOnLogInteractionOnBeforeInterLogEntryCommentLineInsert
  23. 262writesTable 5123 Inter. Log Entry Comment Line Insert
  24. 265raisesOnLogInteractionOnAfterInterLogEntryCommentLineInsert
  25. 279raisesOnLogInteractionOnBeforeTempDeliverySorterInsert
  26. 280writesTable 5074 Delivery Sorter Insert
  27. 281callsCodeunit 5052 AttachmentManagement Send
  28. 283raisesOnAfterLogInteraction

TestFieldsFromLogInteraction line 286, local

  1. 291raisesOnBeforeTestFieldsFromLogInteractionIsHandled
  2. 296callsCheckSegmentLine

LogDocument line 299

  1. 312callsFindInteractionTemplateCode
  2. 313raisesOnLogDocumentOnAfterFindInteractTmplCode
  3. 320raisesOnLogDocumentOnBeforeTestTmplLanguageIsHandled
  4. 333callsFindContactFromContBusRelation
  5. 339callsFindContactFromContBusRelation
  6. 352raisesOnLogDocumentOnCaseElse
  7. 359raisesOnLogDocumentOnBeforeTempSegmentLineInitIsHandled
  8. 368validatesTable 5077 Segment Line Contact No.
  9. 374raisesOnBeforeTempSegmentLineInsert
  10. 375writesTable 5077 Segment Line Insert
  11. 376validatesTable 5077 Segment Line Interaction Template Code
  12. 379raisesOnLogDocumentOnBeforeTempSegmentLineModify
  13. 380writesTable 5077 Segment Line Modify
  14. 382callsLogInteraction

UnwrapAttachmentCustomLayout line 385, internal

  1. 400callsTable 5062 Attachment IsHTMLCustomLayout
  2. 402callsTable 5062 Attachment WizEmbeddAttachment
  3. 403writesTable 5062 Attachment Insert
  4. 404callsCodeunit 5052 AttachmentManagement GenerateHTMLContent
  5. 406callsTable 5062 Attachment RemoveAttachment
  6. 412callsTable 5062 Attachment WizSaveAttachment
  7. 413writesTable 5062 Attachment Insert(true)

FindInteractionTemplateCode line 419

  1. 479raisesOnAfterFindInteractTemplateCode

CheckSegmentLine line 484

  1. 493raisesOnBeforeCheckSegmentLineIsHandled
  2. 500callsCheckSalesperson
  3. 507callsAssignCorrespondenceTypeForEmail
  4. 509raisesOnTestFieldsOnSegmentLineCorrespondenceTypeCaseElse

CheckSalesperson line 513, local

  1. 519raisesOnBeforeCheckSalespersonIsHandled

AssignCorrespondenceTypeForEmail line 529, local

  1. 534raisesOnBeforeAssignCorrespondenceTypeForEmailIsHandled

CopyFieldsToCampaignEntry line 549

  1. 553callsTable 5072 Campaign Entry CopyFromSegment
  2. 559callsFindInteractTmplSetupCaption
  3. 563raisesOnAfterCopyFieldsToCampaignEntry

FindInteractTmplSetupCaption line 566, local

  1. 624raisesOnAfterFindInteractTmplSetupCaption

CreateCampaignEntryOnSalesInvoicePosting line 638

  1. 657callsFindContactFromContBusRelation
  2. 660callsFindInteractionTemplateCode
  3. 671callsLogDocument

InterLogEntryCommentLineInsert line 677

  1. 681callsDeleteExistingInteractionLogEntryComments
  2. 687writesTable 5123 Inter. Log Entry Comment Line Insert

DeleteExistingInteractionLogEntryComments line 691, local

  1. 697writesTable 5123 Inter. Log Entry Comment Line DeleteAll

GetCampaignEntryNo line 720, local

  1. 733callsGetNextCampaignEntryNo
  2. 736callsCopyFieldsToCampaignEntry
  3. 737writesTable 5072 Campaign Entry Insert

ExportAttachmentFile line 741, local

  1. 749raisesOnBeforeExportAttachmentFileIsHandled
  2. 757callsTable 5062 Attachment ConstDiskFileName
  3. 759callsCodeunit 419 File Management DeleteServerFile
  4. 760callsTable 5062 Attachment ExportAttachmentToServerFile