Segment Line

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5077

Table Type: Company

Table Name: Segment Line
Database Table Name: CRONUS UK Ltd_$Segment Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5077

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Segment Line can be queried.

Show/hide an example select of all columns

Show/hide an example select of all columns by name

Show/hide an example select of all columns including those from all joined tables

Show/hide columns in Segment Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Segment No. SearchSegment No.NormalCode20Segment No_nvarchar(40)
Key to join to the Segment Header table.

Show/hide example query

2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Contact No. Primary Key SearchContact No.NormalCode20Contact No_nvarchar(40)
Key to join to the Contact table.

Show/hide example query

4Campaign No. SearchCampaign No.NormalCode20Campaign No_nvarchar(40)
Key to join to the Campaign table.

Show/hide example query

5Salesperson Code SearchSalesperson CodeNormalCode20Salesperson Codenvarchar(40)
Key to join to the Salesperson/Purchaser table.

Show/hide example query

6Correspondence Type SearchCorrespondence TypeNormalOption4Correspondence Typeint
Available options are:
  • ” “
  • “Hard Copy”
  • “Email”
  • “Fax”
7Interaction Template Code SearchInteraction Template CodeNormalCode10Interaction Template Codenvarchar(20)
Key to join to the Interaction Template table.

Show/hide example query

8Cost (LCY) SearchCost ($)NormalDecimal12Cost (LCY)decimal(38,38)
9Duration (Min.) SearchDuration (Min.)NormalDecimal12Duration (Min_)decimal(38,38)
10Attachment No. SearchAttachment No.NormalInteger4Attachment No_int
Key to join to the Attachment table.

Show/hide example query

11Campaign Response SearchCampaign ResponseNormalBoolean4Campaign Responsetinyint
12Contact Name SearchContact NameFlowFieldText100
13Information Flow SearchInformation FlowNormalOption4Information Flowint
Available options are:
  • ” “
  • “Outbound”
  • “Inbound”
14Initiated By SearchInitiated ByNormalOption4Initiated Byint
Available options are:
  • ” “
  • “Us”
  • “Them”
15Contact Alt. Address Code SearchContact Alt. Address CodeNormalCode10Contact Alt_ Address Codenvarchar(20)
16Evaluation SearchEvaluationNormalOption4Evaluationint
Available options are:
  • ” “
  • “Very Positive”
  • “Positive”
  • “Neutral”
  • “Negative”
  • “Very Negative”
17Campaign Target SearchCampaign TargetNormalBoolean4Campaign Targettinyint
18Contact Company Name SearchContact Company NameFlowFieldText100
19Language Code SearchLanguage CodeNormalCode10Language Codenvarchar(20)
Key to join to the Language table.

Show/hide example query

22Description SearchDescriptionNormalText100Descriptionnvarchar(200)
23Date SearchDateNormalDate4Datedatetime
24Time of Interaction SearchTime of InteractionNormalTime4Time of Interactiondatetime
25Attempt Failed SearchAttempt FailedNormalBoolean4Attempt Failedtinyint
26To-do No. SearchTask No.NormalCode20To-do No_nvarchar(40)
Key to join to the To-do table.

Show/hide example query

27Contact Company No. SearchContact Company No.NormalCode20Contact Company No_nvarchar(40)
28Campaign Entry No. SearchCampaign Entry No.NormalInteger4Campaign Entry No_int
Key to join to the Campaign Entry table.

Show/hide example query

29Interaction Group Code SearchInteraction Group CodeNormalCode10Interaction Group Codenvarchar(20)
Key to join to the Interaction Group table.

Show/hide example query

31Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • ” “
  • “Sales Qte.”
  • “Sales Blnkt. Ord”
  • “Sales Ord. Cnfrmn.”
  • “Sales Inv.”
  • “Sales Shpt. Note”
  • “Sales Cr. Memo”
  • “Sales Stmnt.”
  • “Sales Rmdr.”
  • “Serv. Ord. Create”
  • “Serv. Ord. Post”
  • “Purch.Qte.”
  • “Purch. Blnkt. Ord.”
  • “Purch. Ord.”
  • “Purch. Inv.”
  • “Purch. Rcpt.”
  • “Purch. Cr. Memo”
  • “Cover Sheet”
  • “Sales Return Order”
  • “Sales Finance Charge Memo”
  • “Sales Return Receipt”
  • “Purch. Return Shipment”
  • “Purch. Return Ord. Cnfrmn.”
  • “Service Contract”
  • “Service Contract Quote”
  • “Service Quote”
  • “Sales Draft Invoice”
32Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
33Send Word Doc. As Attmt. SearchSend Word Doc. As Attmt.NormalBoolean4Send Word Doc_ As Attmt_tinyint
34Contact Via SearchContact ViaNormalText80Contact Vianvarchar(160)
35Version No. SearchVersion No.NormalInteger4Version No_int
36Doc. No. Occurrence SearchDoc. No. OccurrenceNormalInteger4Doc_ No_ Occurrenceint
37Subject SearchSubjectNormalText100Subjectnvarchar(200)
44Opportunity No. SearchOpportunity No.NormalCode20Opportunity No_nvarchar(40)
Key to join to the Opportunity table.

Show/hide example query

50Contact Phone No. SearchContact Phone No.FlowFieldText30
51Contact Mobile Phone No. SearchContact Mobile Phone No.FlowFieldText30
52Contact Email SearchContact EmailFlowFieldText80
53Word Template Code SearchWord Template CodeNormalCode30Word Template Codenvarchar(60)
Key to join to the Word Template table.

Show/hide example query

54Merged SearchMergedNormalBoolean4Mergedtinyint
9501Wizard Step SearchWizard StepNormalOption4Wizard Stepint
Available options are:
  • ” “
  • “1”
  • “2”
  • “3”
  • “4”
  • “5”
  • “6”
9502Wizard Contact Name SearchWizard Contact NameNormalText100Wizard Contact Namenvarchar(200)
9503Opportunity Description SearchOpportunity DescriptionNormalText100Opportunity Descriptionnvarchar(200)
9504Campaign Description SearchCampaign DescriptionNormalText100Campaign Descriptionnvarchar(200)
9505Interaction Successful SearchInteraction SuccessfulNormalBoolean4Interaction Successfultinyint
9506Dial Contact SearchDial ContactNormalBoolean4Dial Contacttinyint
9507Mail Contact SearchMail ContactNormalBoolean4Mail Contacttinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Segment Line table

Leave a Reply

Your email address will not be published. Required fields are marked *