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

Codeunit 5051 "SegManagement"

Base Application · Microsoft.CRM.Segment

Across versions

  1. BC23present
  2. BC245 events added, 2 procedures added
  3. BC252 events added, 1 procedures added
  4. BC262 procedures changed
  5. BC27-30unchanged

Neighbourhood 38 connected objects and pages

Codeunit 5679 "Create Interaction Log Entry" (calls, 4 links)Create Interaction Log EntryTable 5077 "Segment Line" (calls, 4 links)Segment LineCodeunit 5052 "AttachmentManagement" (calls, 3 links)AttachmentManagementCodeunit 9500 "Sequence No. Mgt." (calls, 2 links)Sequence No. Mgt.Report 118 "Finance Charge Memo" (calls, 2 links)Report 1303 "Standard Sales - Draft Invoice" (calls, 2 links)Standard Sales - Draft InvoiceReport 1304 "Standard Sales - Quote" (calls, 2 links)Report 1305 "Standard Sales - Order Conf." (calls, 2 links)Standard Sales - Order Conf.Report 1306 "Standard Sales - Invoice" (calls, 2 links)Report 1307 "Standard Sales - Credit Memo" (calls, 2 links)Standard Sales - Credit MemoReport 1308 "Standard Sales - Shipment" (calls, 2 links)Standard Sales - ShipmentReport 1309 "Standard Sales - Return Rcpt." (calls, 2 links)Report 1316 "Standard Statement" (calls, 2 links)Standard StatementReport 1322 "Standard Purchase - Order" (calls, 2 links)Report 208 "Sales - Shipment" (calls, 2 links)Sales - ShipmentReport 210 "Blanket Sales Order" (calls, 2 links)Blanket Sales OrderReport 404 "Purchase - Quote" (calls, 2 links)Purchase - QuoteReport 405 "Order" (calls, 2 links)Report 406 "Purchase - Invoice" (calls, 2 links)Purchase - InvoiceReport 407 "Purchase - Credit Memo" (calls, 2 links)Purchase - Credit MemoReport 408 "Purchase - Receipt" (calls, 2 links)Report 410 "Blanket Purchase Order" (calls, 2 links)Report 413 "Self Billing Invoice" (calls, 2 links)Report 6222 "EUDR Sales Invoice" (calls, 2 links)Report 6631 "Return Order Confirmation" (calls, 2 links)Report 6636 "Purchase - Return Shipment" (calls, 2 links)Report 6641 "Return Order" (calls, 2 links)Report 6646 "Sales - Return Receipt" (calls, 2 links)Codeunit 419 "File Management" (calls)Codeunit 80 "Sales-Post" (calls)Report 116 "Statement" (calls)Report 117 "Reminder" (calls)Report 5055 "Contact - Cover Sheet" (calls)Report 5902 "Service Quote" (calls)Report 5970 "Service Contract" (calls)Report 5972 "Service Contract Quote" (calls)Table 5080 "To-do" (calls)Table 5901 "Service Item Line" (calls)

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.Segment · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Interaction Log Entry” = rimd, tabledata “Interaction Template” = r, tabledata “Inter. Log Entry Comment Line” = rd, tabledata Contact = r

Events published

  • OnAfterFindInteractTemplateCode(DocumentType: Enum "Interaction Log Entry Document Type"; InteractionTemplateSetup: Record "Interaction Template Setup"; var InteractionTemplateCode: Code[10]) (integration)
  • OnAfterFindInteractTmplSetupCaption(DocumentType: Integer; InteractionTemplateSetup: Record "Interaction Template Setup"; var InteractionTemplateCaption: Text[80]) (integration)
  • OnAfterInsertFollowUpSegment(var SegmentHeader: Record "Segment Header"; LoggedSegment: Record "Logged Segment") (integration)
  • OnAfterHandleAttachmentFile(var SegmentLine: Record "Segment Line"; Attachment: Record Attachment; FileExported: Boolean) (integration)
  • OnAfterLogInteraction(var SegmentLine: Record "Segment Line"; var InteractionLogEntry: Record "Interaction Log Entry"; Deliver: Boolean; Postponed: Boolean) (integration)
  • OnAfterLogSegment(var TempDeliverySorter: Record "Delivery Sorter" temporary; var LoggedSegment: Record "Logged Segment"; SegmentHeader: Record "Segment Header"; SegmentNo: Code[20]; LastInteractLogEntryNo: Integer) (integration)
  • OnBeforeAttachmentInsert(SegmentLine: Record "Segment Line"; var AttachmentTemp: Record Attachment; var Attachment: Record Attachment) (integration)
  • OnBeforeAssignCorrespondenceTypeForEmail(var SegmentLine: Record "Segment Line"; Contact: Record Contact; ContactAltAddr: Record "Contact Alt. Address"; var IsHandled: Boolean) (integration)
  • OnBeforeCampaignEntryNoModify(var SegmentLine: Record "Segment Line") (integration)
  • OnBeforeCheckSalesperson(var SegmentLine: Record "Segment Line"; var IsHandled: Boolean) (integration)
  • OnBeforeDeliverySorterInsert(var TempDeliverySorter: Record "Delivery Sorter" temporary; SegmentLine: Record "Segment Line") (integration)
  • OnBeforeInteractLogEntryInsert(var InteractionLogEntry: Record "Interaction Log Entry"; SegmentLine: Record "Segment Line") (integration)
  • OnBeforeLogInteraction(var SegmentLine: Record "Segment Line"; var Attachment: Record Attachment; var InterLogEntryCommentLine: Record "Inter. Log Entry Comment Line"; var Deliver: Boolean; var Postponed: Boolean) (integration)
  • OnBeforeLogSegment(SegmentHeader: Record "Segment Header"; Deliver: Boolean; Followup: Boolean) (integration)
  • OnBeforeLoggedSegmentInsert(var LoggedSegment: Record "Logged Segment") (integration)
  • OnBeforeTempSegmentLineInsert(var TempSegmentLine: Record "Segment Line") (integration)
  • OnBeforeTestFieldsFromLogInteraction(var SegmentLine: Record "Segment Line"; Deliver: Boolean; Postponed: Boolean; var IsHandled: Boolean) (integration)
  • OnLogDocumentOnAfterFindInteractTmplCode(var InteractTmplCode: Code[10]; var Attachment: Record Attachment; DocumentType: Integer) (integration)
  • OnLogDocumentOnCaseElse(AccountTableNo: Integer; AccountNo: Code[20]; var ContNo: Code[20]) (integration)
  • OnLogDocumentOnBeforeTempSegmentLineModify(var TempSegmentLine: Record "Segment Line" temporary; AccountTableNo: Integer; AccountNo: Code[20]) (integration)
  • OnLogInteractionOnBeforeInteractionLogEntryInsert(var InteractionLogEntry: Record "Interaction Log Entry"; Attachment: Record Attachment; SegmentLine: Record "Segment Line") (integration)
  • OnLogInteractionOnBeforeInteractionLogEntryModify(var InteractionLogEntry: Record "Interaction Log Entry") (integration)
  • OnLogInteractionOnAfterGetInteractLogEntryFromSegmentLine(var InteractionLogEntry: Record "Interaction Log Entry"; SegmentLine: Record "Segment Line"; Postponed: Boolean) (integration)
  • OnLogInteractionOnBeforeInterLogEntryCommentLineInsert(var InterLogEntryCommentLine: Record "Inter. Log Entry Comment Line") (integration)
  • OnLogInteractionOnBeforeTempDeliverySorterInsert(var DeliverySorter: Record "Delivery Sorter"; SegmentLine: Record "Segment Line"; InteractionLogEntry: Record "Interaction Log Entry") (integration)
  • OnLogSegmentOnAfterCreateInteractionLogEntries(var SegmentHeader: Record "Segment Header"; var LoggedSegment: Record "Logged Segment") (integration)
  • OnLogSegmentOnAfterCalcShowIsNotEmptyError(var LoggedSegment: Record "Logged Segment"; Deliver: Boolean; var ShowIsNotEmptyError: Boolean) (integration)
  • OnLogSegmentOnAfterCalcShouldModifyAttachment(var Attachment: Record Attachment; SegmentLine: Record "Segment Line"; SegmentHeader: Record "Segment Header"; var ShouldModifyAttachment: Boolean) (integration)
  • OnTestFieldsOnSegmentLineCorrespondenceTypeCaseElse(var SegmentLine: Record "Segment Line"; Contact: Record Contact) (integration)
  • OnLogSegmentOnAfterLoggedSegmentInsert(var LoggedSegment: Record "Logged Segment"; SegmentHeader: Record "Segment Header") (integration)
  • OnLogSegmentOnAfterInteractLogEntryInsert(var InteractionLogEntry: Record "Interaction Log Entry"; SegmentLine: Record "Segment Line") (integration)
  • OnLogSegmentOnBeforeFollowupSegmentHeaderInsert(var SegmentHeader: Record "Segment Header"; LoggedSegment: Record "Logged Segment") (integration)
  • OnLogDocumentOnBeforeTempSegmentLineInit(AccountTableNo: Integer; AccountNo: Code[20]; var ContNo: Code[20]; var Result: Integer; var IsHandled: Boolean) (integration)
  • OnLogInteractionOnBeforeCheckAttachmentFileValue(SegmentLine: Record "Segment Line"; var AttachmentTemp: Record Attachment; var TempInterLogEntryCommentLine: Record "Inter. Log Entry Comment Line"; Deliver: Boolean; Postponed: Boolean; var NextInteractLogEntryNo: Integer; var IsHandled: Boolean) (integration)
  • OnLogSegmentOnBeforeInitLoggedSegment(SegmentHeader: Record "Segment Header"; Deliver: Boolean; Followup: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeCheckSegmentLine(var SegmentLine: Record "Segment Line"; Deliver: Boolean; var IsHandled: Boolean) + BC24 (integration)
  • OnLogDocumentOnBeforeTestTmplLanguage(InteractTmplCode: Code[10]; var IsHandled: Boolean) + BC24 (integration)
  • OnAfterCopyFieldsToCampaignEntry(var CampaignEntry: Record "Campaign Entry"; var SegmentLine: Record "Segment Line") + BC24 (integration)
  • OnLogInteractionOnAfterInterLogEntryCommentLineInsert(var InterLogEntryCommentLine: Record "Inter. Log Entry Comment Line"; SegmentLine: Record "Segment Line"; NextInteractLogEntryNo: Integer) + BC24 (integration)
  • OnLogInteractionOnBeforeInteractLogEntryGet(var NextInteractLogEntryNo: Integer; SegmentLine: Record "Segment Line"; Postponed: Boolean; var IsHandled: Boolean) + BC24 (integration)
  • OnLogInteractionOnBeforeWizSaveAttachment(SegmentLine: Record "Segment Line"; var AttachmentTemp: Record Attachment; var Attachment: Record Attachment) + BC25 (integration)
  • OnBeforeExportAttachmentFile(var SegmentLine: Record "Segment Line"; Attachment: Record Attachment; var AttachmentTemp: Record Attachment; var FileExported: Boolean; var IsHandled: Boolean) + BC25 (integration)

Procedures

  • LogSegment(SegmentHeader: Record "Segment Header"; Deliver: Boolean; Followup: Boolean) Δ BC26
  • LogInteraction(SegmentLine: Record "Segment Line"; var AttachmentTemp: Record Attachment; var TempInterLogEntryCommentLine: Record "Inter. Log Entry Comment Line"; Deliver: Boolean; Postponed: Boolean): Integer Δ BC26
  • LogDocument(DocumentType: Integer; DocumentNo: Code[20]; DocNoOccurrence: Integer; VersionNo: Integer; AccountTableNo: Integer; AccountNo: Code[20]; SalespersonCode: Code[20]; CampaignNo: Code[20]; Description: Text[100]; OpportunityNo: Code[20]): Integer
  • UnwrapAttachmentCustomLayout(var SegmentLine: Record "Segment Line") (internal)
  • FindInteractionTemplateCode(DocumentType: Enum "Interaction Log Entry Document Type"): Code[10]
  • CheckSegmentLine(var SegmentLine: Record "Segment Line"; Deliver: Boolean)
  • CopyFieldsToCampaignEntry(var CampaignEntry: Record "Campaign Entry"; var SegmentLine: Record "Segment Line")
  • CreateCampaignEntryOnSalesInvoicePosting(SalesInvoiceHeader: Record "Sales Invoice Header")
  • InterLogEntryCommentLineInsert(var TempInterLogEntryCommentLine: Record "Inter. Log Entry Comment Line"; InteractionLogEntryNo: Integer) + BC24

Plus 10 local procedures.

Triggers

OnRun

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.

Called by

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

Evidence 1 sources