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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Segment No. ![]() | Segment No. | Normal | Code | 20 | Segment No_ | nvarchar(40) |
Key to join to the Segment Header table.Show/hide example query | |||||||
2 | Line No. ![]() ![]() | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Contact No. ![]() ![]() | Contact No. | Normal | Code | 20 | Contact No_ | nvarchar(40) |
Key to join to the Contact table.Show/hide example query | |||||||
4 | Campaign No. ![]() | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example query | |||||||
5 | Salesperson Code ![]() | Salesperson Code | Normal | Code | 20 | Salesperson Code | nvarchar(40) |
Key to join to the Salesperson/Purchaser table.Show/hide example query | |||||||
6 | Correspondence Type ![]() | Correspondence Type | Normal | Option | 4 | Correspondence Type | int |
Available options are:
| |||||||
7 | Interaction Template Code ![]() | Interaction Template Code | Normal | Code | 10 | Interaction Template Code | nvarchar(20) |
Key to join to the Interaction Template table.Show/hide example query | |||||||
8 | Cost (LCY) ![]() | Cost ($) | Normal | Decimal | 12 | Cost (LCY) | decimal(38,38) |
9 | Duration (Min.) ![]() | Duration (Min.) | Normal | Decimal | 12 | Duration (Min_) | decimal(38,38) |
10 | Attachment No. ![]() | Attachment No. | Normal | Integer | 4 | Attachment No_ | int |
Key to join to the Attachment table.Show/hide example query | |||||||
11 | Campaign Response ![]() | Campaign Response | Normal | Boolean | 4 | Campaign Response | tinyint |
12 | Contact Name ![]() | Contact Name | FlowField | Text | 100 | ||
13 | Information Flow ![]() | Information Flow | Normal | Option | 4 | Information Flow | int |
Available options are:
| |||||||
14 | Initiated By ![]() | Initiated By | Normal | Option | 4 | Initiated By | int |
Available options are:
| |||||||
15 | Contact Alt. Address Code ![]() | Contact Alt. Address Code | Normal | Code | 10 | Contact Alt_ Address Code | nvarchar(20) |
16 | Evaluation ![]() | Evaluation | Normal | Option | 4 | Evaluation | int |
Available options are:
| |||||||
17 | Campaign Target ![]() | Campaign Target | Normal | Boolean | 4 | Campaign Target | tinyint |
18 | Contact Company Name ![]() | Contact Company Name | FlowField | Text | 100 | ||
19 | Language Code ![]() | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example query | |||||||
22 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
23 | Date ![]() | Date | Normal | Date | 4 | Date | datetime |
24 | Time of Interaction ![]() | Time of Interaction | Normal | Time | 4 | Time of Interaction | datetime |
25 | Attempt Failed ![]() | Attempt Failed | Normal | Boolean | 4 | Attempt Failed | tinyint |
26 | To-do No. ![]() | Task No. | Normal | Code | 20 | To-do No_ | nvarchar(40) |
Key to join to the To-do table.Show/hide example query | |||||||
27 | Contact Company No. ![]() | Contact Company No. | Normal | Code | 20 | Contact Company No_ | nvarchar(40) |
28 | Campaign Entry No. ![]() | Campaign Entry No. | Normal | Integer | 4 | Campaign Entry No_ | int |
Key to join to the Campaign Entry table.Show/hide example query | |||||||
29 | Interaction Group Code ![]() | Interaction Group Code | Normal | Code | 10 | Interaction Group Code | nvarchar(20) |
Key to join to the Interaction Group table.Show/hide example query | |||||||
31 | Document Type ![]() | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
32 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
33 | Send Word Doc. As Attmt. ![]() | Send Word Doc. As Attmt. | Normal | Boolean | 4 | Send Word Doc_ As Attmt_ | tinyint |
34 | Contact Via ![]() | Contact Via | Normal | Text | 80 | Contact Via | nvarchar(160) |
35 | Version No. ![]() | Version No. | Normal | Integer | 4 | Version No_ | int |
36 | Doc. No. Occurrence ![]() | Doc. No. Occurrence | Normal | Integer | 4 | Doc_ No_ Occurrence | int |
37 | Subject ![]() | Subject | Normal | Text | 100 | Subject | nvarchar(200) |
44 | Opportunity No. ![]() | Opportunity No. | Normal | Code | 20 | Opportunity No_ | nvarchar(40) |
Key to join to the Opportunity table.Show/hide example query | |||||||
50 | Contact Phone No. ![]() | Contact Phone No. | FlowField | Text | 30 | ||
51 | Contact Mobile Phone No. ![]() | Contact Mobile Phone No. | FlowField | Text | 30 | ||
52 | Contact Email ![]() | Contact Email | FlowField | Text | 80 | ||
53 | Word Template Code ![]() | Word Template Code | Normal | Code | 30 | Word Template Code | nvarchar(60) |
Key to join to the Word Template table.Show/hide example query | |||||||
54 | Merged ![]() | Merged | Normal | Boolean | 4 | Merged | tinyint |
9501 | Wizard Step ![]() | Wizard Step | Normal | Option | 4 | Wizard Step | int |
Available options are:
| |||||||
9502 | Wizard Contact Name ![]() | Wizard Contact Name | Normal | Text | 100 | Wizard Contact Name | nvarchar(200) |
9503 | Opportunity Description ![]() | Opportunity Description | Normal | Text | 100 | Opportunity Description | nvarchar(200) |
9504 | Campaign Description ![]() | Campaign Description | Normal | Text | 100 | Campaign Description | nvarchar(200) |
9505 | Interaction Successful ![]() | Interaction Successful | Normal | Boolean | 4 | Interaction Successful | tinyint |
9506 | Dial Contact ![]() | Dial Contact | Normal | Boolean | 4 | Dial Contact | tinyint |
9507 | Mail Contact ![]() | Mail Contact | Normal | Boolean | 4 | Mail Contact | tinyint |
2000000000 | $systemId ![]() | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt ![]() | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy ![]() | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |