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

Table 5071 "Campaign"

Base Application · Microsoft.CRM.Campaign

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25-26unchanged
  4. BC279 fields changed
  5. BC2814 fields changed
  6. BC29-30unchanged

Neighbourhood 58 connected objects and pages

Table 5065 "Interaction Log Entry" (relates to, 4 links)Interaction Log EntryTable 5093 "Opportunity Entry" (relates to, 4 links)Opportunity EntryTable 13 "Salesperson/Purchaser" (relates to, 2 links)Table 349 "Dimension Value" (relates to, 2 links)Table 5050 "Contact" (relates to, 2 links)ContactTable 308 "No. Series" (relates to)No. SeriesTable 5061 "Rlshp. Mgt. Comment Line" (relates to)Rlshp. Mgt. Comment LineTable 5073 "Campaign Status" (relates to)Campaign StatusTable 5080 "To-do" (relates to)Table 5083 "Team" (relates to)TeamTable 5090 "Sales Cycle" (relates to)Sales CycleTable 5091 "Sales Cycle Stage" (relates to)Page 5087 "Campaign List" (pages and codeunits on it, 2 links)Campaign ListPage 5086 "Campaign Card" (pages and codeunits on it)Page 5088 "Campaign Statistics" (pages and codeunits on it)Codeunit 7006 "Price Helper - V16" (event subscribers, 4 links)Price Helper - V16Codeunit 7019 "Price Helper - V15" (event subscribers, 2 links)Codeunit 408 "DimensionManagement" (calls, 5 links)DimensionManagementPage 456 "No. Series" (calls, 2 links)Codeunit 7030 "Campaign Target Group Mgt" (calls)Table 5076 "Segment Header" (referenced by, 2 links)Segment HeaderTable 5080 "To-do" (referenced by, 2 links)To-doTable 5092 "Opportunity" (referenced by, 2 links)OpportunityTable 110 "Sales Shipment Header" (referenced by)Table 112 "Sales Invoice Header" (referenced by)Table 114 "Sales Cr.Memo Header" (referenced by)Table 120 "Purch. Rcpt. Header" (referenced by)Table 122 "Purch. Inv. Header" (referenced by)Table 124 "Purch. Cr. Memo Hdr." (referenced by)Table 13 "Salesperson/Purchaser" (referenced by)Table 181 "Posted Gen. Journal Line" (referenced by)Table 36 "Sales Header" (referenced by)Table 38 "Purchase Header" (referenced by)Table 5050 "Contact" (referenced by)Table 5061 "Rlshp. Mgt. Comment Line" (referenced by)Table 5064 "Interaction Template" (referenced by)Table 5065 "Interaction Log Entry" (referenced by)Table 5072 "Campaign Entry" (referenced by)Table 5077 "Segment Line" (referenced by)Table 5083 "Team" (referenced by)

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

Properties

Property Value
Caption Campaign
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. Δ BC28 Code[20] Specifies the number of the involved entry or record, according to the specified number series.
2 Description Δ BC28 Text[100] Specifies the description of the campaign.
3 Starting Date Δ BC28 Date Specifies the date on which the campaign is valid. There are certain rules for how dates should be entered.
4 Ending Date Δ BC28 Date Specifies the last day on which this campaign is valid.
5 Salesperson Code Δ BC28 Code[20] Specifies the code of the salesperson responsible for the campaign. TableRelation Table 13 “Salesperson/Purchaser” (“Salesperson/Purchaser” where(Blocked = const(false)))
6 Comment Boolean — FlowField: exist(“Rlshp. Mgt. Comment Line” where(“Table Name” = const(Campaign), “No.” = field(“No.”))); not editable
7 Last Date Modified Δ BC28 Date Specifies the date when the campaign card was last modified. This field is not editable. not editable
8 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series); not editable
9 Global Dimension 1 Code Δ BC28 Code[20] Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false)))
10 Global Dimension 2 Code Δ BC28 Code[20] Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false)))
11 Status Code Δ BC28 Code[10] Specifies the status code for the campaign. TableRelation Table 5073 “Campaign Status” (Campaign Status)
12 Target Contacts Contacted Δ BC28 Integer Specifies the number of target contacts that you have contacted with this campaign. The field is not editable. FlowField: count(“Interaction Log Entry” where(“Campaign No.” = field(“No.”), “Campaign Target” = const(true), Canceled = const(false), Date = field(“Date Filter”), Postponed = const(false))); not editable
13 Contacts Responded Δ BC28 Integer Specifies the number of contacts who have responded to the campaign. This field is not editable. FlowField: count(“Interaction Log Entry” where(“Campaign No.” = field(“No.”), “Campaign Response” = const(true), Canceled = const(false), Date = field(“Date Filter”), Postponed = const(false))); not editable
14 Duration (Min.) Δ BC27 Decimal Specifies the total time it took to complete all the interactions linked to the campaign. This field is not editable. via Page 5088 “Campaign Statistics” FlowField: sum(“Interaction Log Entry”.“Duration (Min.)” where(“Campaign No.” = field(“No.”), Canceled = const(false), Date = field(“Date Filter”), Postponed = const(false))); not editable
16 Cost (LCY) Δ BC27 Decimal Specifies the total cost of all the interactions created as part of the campaign. This field is not editable. via Page 5088 “Campaign Statistics” FlowField: sum(“Interaction Log Entry”.“Cost (LCY)” where(“Campaign No.” = field(“No.”), Canceled = const(false), Date = field(“Date Filter”), Postponed = const(false))); not editable
17 No. of Opportunities Δ BC28 Integer Specifies the number of opportunities created as part of this campaign. This field is not editable. FlowField: count(“Opportunity Entry” where(“Campaign No.” = field(“No.”), Active = const(true))); not editable
18 Estimated Value (LCY) Δ BC27 Decimal Specifies the estimated value of the opportunities created as part of this campaign. This field is not editable. via Page 5088 “Campaign Statistics” FlowField: sum(“Opportunity Entry”.“Estimated Value (LCY)” where(“Campaign No.” = field(“No.”), Active = const(true))); not editable
19 Calcd. Current Value (LCY) Δ BC27 Decimal Specifies the calculated current value of the opportunities linked to the campaign. This field is not editable. via Page 5088 “Campaign Statistics” FlowField: sum(“Opportunity Entry”.“Calcd. Current Value (LCY)” where(“Campaign No.” = field(“No.”), Active = const(true))); not editable
20 Date Filter Date — FlowFilter
23 Action Taken Filter Δ BC28 Enum “Opportunity Action Taken” — FlowFilter; enum Enum 5091 “Opportunity Action Taken”
24 Sales Cycle Filter Code[10] — TableRelation Table 5090 “Sales Cycle” (Sales Cycle); FlowFilter
25 Sales Cycle Stage Filter Integer — TableRelation Table 5091 “Sales Cycle Stage” (“Sales Cycle Stage”.Stage where(“Sales Cycle Code” = field(“Sales Cycle Filter”))); FlowFilter
26 Probability % Filter Δ BC27 Decimal — FlowFilter
27 Completed % Filter Δ BC27 Decimal — FlowFilter
28 Contact Filter Code[20] — TableRelation Table 5050 “Contact”; FlowFilter
29 Contact Company Filter Code[20] — TableRelation Table 5050 “Contact” (Contact where(Type = const(Company))); FlowFilter
30 Estimated Value Filter Δ BC27 Decimal — FlowFilter
31 Calcd. Current Value Filter Δ BC27 Decimal — FlowFilter
32 Chances of Success % Filter Δ BC27 Decimal — FlowFilter
33 Task Status Filter Enum “Task Status” — FlowFilter; enum Enum 5081 “Task Status”
34 Task Closed Filter Boolean — FlowFilter
35 Priority Filter Option — FlowFilter; OptionCaption: Low,Normal,High
36 Team Filter Code[10] — TableRelation Table 5083 “Team”; FlowFilter
37 Salesperson Filter Code[20] — TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser); FlowFilter
38 Opportunity Entry Exists Boolean — FlowField: exist(“Opportunity Entry” where(“Campaign No.” = field(“No.”), Active = const(true), “Salesperson Code” = field(“Salesperson Filter”), “Contact No.” = field(“Contact Filter”), “Contact Company No.” = field(“Contact Company Filter”), “Sales Cycle Code” = field(“Sales Cycle Filter”), “Sales Cycle Stag…; not editable
39 Task Entry Exists Boolean — FlowField: exist(“To-do” where(“Campaign No.” = field(“No.”), “Contact No.” = field(“Contact Filter”), “Contact Company No.” = field(“Contact Company Filter”), “Salesperson Code” = field(“Salesperson Filter”), “Team Code” = field(“Team Filter”), Status = field(“Task Status Filter”), Closed = field(“Task Closed…; not editable
40 Close Opportunity Filter Code[10] — TableRelation Table 5094 “Close Opportunity Code” (Close Opportunity Code); FlowFilter
41 Activated Δ BC28 Boolean Specifies if a sales lines price discount has been activated. After you set up a campaign and create segments for it, you can create discounts for targeted audiences. FlowField: exist(“Campaign Target Group” where(“Campaign No.” = field(“No.”))); not editable

Keys

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

Events published

  • OnAfterValidateShortcutDimCode(Campaign: Record Campaign; xCampaign: Record Campaign; FieldNumber: Integer; var ShortcutDimCode: Code[20]) (integration)
  • OnBeforeValidateShortcutDimCode(Campaign: Record Campaign; xCampaign: Record Campaign; FieldNumber: Integer; var ShortcutDimCode: Code[20]) (integration)

Trigger event subscribers

Procedures

  • AssistEdit(OldCampaign: Record Campaign): Boolean
  • ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
  • ToPriceSource(var PriceSource: Record "Price Source")

Plus 1 local procedures.

Triggers

OnDelete, OnInsert, OnModify, OnRename

Relations

Referenced by

39 fields in 36 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: "Campaign"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources