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

Table 5076 "Segment Header"

Base Application · Microsoft.CRM.Segment

Across versions

  1. BC23present
  2. BC2420 fields changed
  3. BC25-26unchanged
  4. BC274 fields changed
  5. BC2816 fields changed, 1 events added
  6. BC29-30unchanged

Neighbourhood 31 connected objects and pages

Table 5077 "Segment Line" (relates to, 3 links)Segment LineTable 5071 "Campaign" (relates to, 2 links)CampaignTable 5104 "Segment Interaction Language" (relates to, 2 links)Segment Interaction LanguageTable 13 "Salesperson/Purchaser" (relates to)Salesperson/PurchaserTable 308 "No. Series" (relates to)Table 5063 "Interaction Group" (relates to)Interaction GroupTable 5064 "Interaction Template" (relates to)Table 5097 "Segment Criteria Line" (relates to)Segment Criteria LineTable 8 "Language" (relates to)LanguageTable 9988 "Word Template" (relates to)Word TemplatePage 5093 "Segment List" (pages and codeunits on it, 2 links)Segment ListPage 5091 "Segment" (pages and codeunits on it)Codeunit 4100 "Temp Blob" (calls, 3 links)Temp BlobPage 456 "No. Series" (calls, 2 links)No. SeriesCodeunit 5052 "AttachmentManagement" (calls)AttachmentManagementCodeunit 5061 "SegHistoryManagement" (calls)Codeunit 5062 "SegCriteriaManagement" (calls)SegCriteriaManagementCodeunit 9510 "Document Service Management" (calls)Document Service ManagementPage 5139 "Logged Segments" (calls)Page 5141 "Saved Segment Criteria List" (calls)Table 5072 "Campaign Entry" (referenced by)Table 5077 "Segment Line" (referenced by)Table 5078 "Segment History" (referenced by)Table 5080 "To-do" (referenced by)Table 5092 "Opportunity" (referenced by)Table 5096 "Segment Wizard Filter" (referenced by)Table 5097 "Segment Criteria Line" (referenced by)Table 5104 "Segment Interaction Language" (referenced by)Table 9063 "Relationship Mgmt. Cue" (referenced by)Add contacts to segments (Learn pages)Create Segments (Learn pages)

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

Learn documents this table through its pages: Page 5091 “Segment” (2 Learn pages), Page 5093 “Segment List” (2).

Properties

Property Value
Caption Segment Header
DataClassification CustomerContent

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
1 No. Δ BC24 Δ BC28 Code[20] Specifies the number of the involved entry or record, according to the specified number series.
2 Description Δ BC24 Δ BC28 Text[100] Specifies the description of the segment.
3 Campaign No. Δ BC24 Δ BC28 Code[20] Specifies the number of the campaign for which the segment has been created. TableRelation Table 5071 “Campaign”
4 Salesperson Code Δ BC24 Δ BC28 Code[20] Specifies the code of the salesperson responsible for this segment and/or interaction. TableRelation Table 13 “Salesperson/Purchaser” (“Salesperson/Purchaser” where(Blocked = const(false)))
5 Correspondence Type (Default) Δ BC24 Enum “Correspondence Type” Specifies the preferred type of correspondence for the interaction. NOTE: If you use the Web client, you must not select the Hard Copy option because printing is not possible from the web client. via Page 5091 “Segment” enum Enum 5076 “Correspondence Type”
6 Interaction Template Code Δ BC24 Δ BC28 Code[10] Specifies the interaction template code of the interaction involving the segment. TableRelation Table 5064 “Interaction Template” (“Interaction Template”.Code)
7 Unit Cost (LCY) Δ BC24 Δ BC27 Decimal Specifies the cost, in LCY, of one unit of the item or resource on the line. via Page 5091 “Segment”
8 Unit Duration (Min.) Δ BC24 Δ BC27 Decimal Specifies the duration of a single interaction created for this segment. via Page 5091 “Segment”
9 Attachment No. Integer — FlowField: lookup(“Segment Interaction Language”.“Attachment No.” where(“Segment No.” = field(“No.”), “Segment Line No.” = const(0), “Language Code” = field(“Language Code (Default)”), “Word Template Code” = const(‘’)))
10 Date Δ BC24 Δ BC28 Date Specifies the date that the segment was created.
11 Campaign Target Δ BC24 Δ BC28 Boolean Specifies that the segment is part of the target of the campaign to which it is linked.
12 Information Flow Δ BC24 Δ BC28 Option Specifies the direction of the information that is part of the interaction created for the segment. There are two options: Inbound and Outbound. OptionCaption: ,Outbound,Inbound
13 Initiated By Δ BC24 Δ BC28 Option Specifies whether the interaction recorded for this segment was initiated by your company or by one of your contacts. The Us option indicates that your company was the initiator; the Them option indicates that a contact was the initiator. OptionCaption: ,Us,Them
14 No. Series Δ BC24 Code[20] — TableRelation Table 308 “No. Series” (No. Series); not editable
15 Campaign Response Δ BC24 Δ BC28 Boolean Specifies that the interaction created for the segment is the response to a campaign.
16 No. of Lines Δ BC28 Integer Specifies the number of lines within the segment. FlowField: count(“Segment Line” where(“Segment No.” = field(“No.”))); not editable
17 Cost (LCY) Δ BC27 Decimal — FlowField: sum(“Segment Line”.“Cost (LCY)” where(“Segment No.” = field(“No.”))); not editable
18 Duration (Min.) Δ BC27 Decimal — FlowField: sum(“Segment Line”.“Duration (Min.)” where(“Segment No.” = field(“No.”))); not editable
19 Language Code (Default) Δ BC24 Code[10] Specifies the language code for the segment. via Page 5091 “Segment” TableRelation Table 8 “Language”
20 Interaction Group Code Δ BC24 Code[10] — TableRelation Table 5063 “Interaction Group” (Interaction Group)
21 No. of Criteria Actions Δ BC28 Integer Specifies the number of actions you have taken when modifying the segmentation criteria, that is, when adding contacts to the segment, refining, or reducing it. FlowField: count(“Segment Criteria Line” where(“Segment No.” = field(“No.”), Type = const(Action))); not editable
22 Send Word Docs. as Attmt. Δ BC24 Δ BC28 Boolean Specifies that the Microsoft Word document should be sent as an attachment in the e-mail message.
23 Ignore Contact Corres. Type Δ BC24 Δ BC28 Boolean Specifies that the correspondence type that you select in the Correspondence Type (Default) field should be used. If there is no check mark, the program uses the correspondence type selected on the Contact Card.
24 Subject (Default) Δ BC24 Text[100] Specifies the subject of the segment. The text in the field is used as the subject in e-mails and in Word documents. via Page 5091 “Segment”
25 Campaign Description Δ BC24 Δ BC28 Text[100] Specifies a description of the campaign to which the segment is related. The description is copied from the campaign card. FlowField: lookup(Campaign.Description where(“No.” = field(“Campaign No.”))); not editable
26 Word Template Code Δ BC28 Code[30] Specifies the Word Template code to use for merging. TableRelation Table 9988 “Word Template” (“Word Template”.Code where(“Table ID” = const(5106)))
27 Modified Word Template Integer — FlowField: lookup(“Segment Interaction Language”.“Attachment No.” where(“Segment No.” = field(“No.”), “Segment Line No.” = const(0), “Language Code” = field(“Language Code (Default)”), “Word Template Code” = field(“Word Template Code”)))

Keys

  • Key1: No. (clustered)
  • Key2: Salesperson Code
  • Key3: Campaign No.

Events published

  • OnAfterReuseLogged(var SegmentHeader: Record "Segment Header"; LoggedSegment: Record "Logged Segment") (integration)
  • OnReuseLoggedOnBeforeFindInteractLogEntries(var SegmentHeader: Record "Segment Header"; LoggedSegment: Record "Logged Segment"; var InteractionLogEntry: Record "Interaction Log Entry") + BC28 (integration)
  • OnAfterUpdateSegHeader(var SegmentHeader: Record "Segment Header") (integration)
  • OnAfterUpdateSegLinesByFieldNo(var SegmentHeader: Record "Segment Header"; CalledByFieldNo: Integer) (integration)
  • OnBeforeReuseCriteria(var SegmentHeader: Record "Segment Header"; var IsHandled: Boolean) (integration)
  • OnBeforeUpdateSegHeader(var SegmentHeader: Record "Segment Header"; InteractTmplCode: Code[10]; InteractTmplChange: Boolean; var IsHandled: Boolean; CurrentFieldNo: Integer) (integration)
  • OnBeforeUpdateSegLinesByFieldNo(SegmentHeader: Record "Segment Header"; ChangedFieldNo: Integer; var AskQuestion: Boolean; var IsHandled: Boolean) (integration)
  • OnReuseCriteriaSavedSegmentCriteriaLineCaseElse(var SegmentHeader: Record "Segment Header"; var SavedSegmentCriteriaLine: Record "Saved Segment Criteria Line") (integration)
  • OnAfterInsertSegmentLine(var SegmentLine: Record "Segment Line"; InteractionLogEntry: Record "Interaction Log Entry") (integration)
  • OnBeforeSaveCriteria(var SegmentHeader: Record "Segment Header"; var IsHandled: Boolean) (integration)
  • OnReuseContactsOnBeforeAddContactsRun(var AddContacts: Report "Add Contacts"; var SavedSegCriteriaLineAction: Record "Saved Segment Criteria Line") (integration)
  • OnReuseContactsOnBeforeReduceContactsRun(var ReduceContacts: Report "Remove Contacts - Reduce"; var SavedSegCriteriaLineAction: Record "Saved Segment Criteria Line") (integration)
  • OnReuseContactsOnBeforeRefineContactsRun(var RefineContacts: Report "Remove Contacts - Refine"; var SavedSegCriteriaLineAction: Record "Saved Segment Criteria Line") (integration)
  • OnUpdateSegHeaderOnBeforeSecondModify(var SegmentHeader: Record "Segment Header") (integration)
  • OnBeforeValidateSubjectDefault(var SegmentHeader: Record "Segment Header"; xSegmentHeader: Record "Segment Header"; var IsHandled: Boolean) (integration)
  • OnCreateSegInteractionsOnAfterDeleteAll(InteractionTemplateCode: Code[10]; SegmentNo: Code[20]; SegmentLineNo: Integer; var IsHandled: Boolean) (integration)
  • OnSaveCriteriaOnBeforeInsertSegmentCriteriaLine(var SegmentCriteriaLine: Record "Segment Criteria Line"; var SavedSegmentCriteriaLine: Record "Saved Segment Criteria Line") (integration)

Procedures

  • AssistEdit(OldSegHeader: Record "Segment Header"): Boolean
  • CreateOpportunities()
  • CreateSegInteractions(InteractionTemplateCode: Code[10]; SegmentNo: Code[20]; SegmentLineNo: Integer)
  • UpdateSegLinesByFieldNo(ChangedFieldNo: Integer; AskQuestion: Boolean)
  • SegLinesExist(ChangedFieldName: Text[100]): Boolean
  • ReuseLogged(LoggedSegEntryNo: Integer)
  • ReuseCriteria()
  • SaveCriteria()
  • MaintainAttachment()
  • CreateAttachment()
  • CreateWordTemplateAttachment() (internal)
  • OpenAttachment()
  • ImportAttachment()
  • ExportAttachment()
  • RemoveAttachment(Prompt: Boolean)
  • UpdateSegHeader(InteractTmplCode: Code[10]; InteractTmplChange: Boolean)

Plus 4 local procedures.

Triggers

OnDelete, OnInsert

Relations

Referenced by

9 fields in 9 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

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.

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

Evidence 1 sources