Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/13
Table Type: Company
Table Name: Salesperson/Purchaser
Database Table Name: CRONUS UK Ltd_$Salesperson_Purchaser$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 Salesperson/Purchaser can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Name]
,[Commission _]
,[Image]
,[Privacy Blocked]
,[Coupled to CRM]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[E-Mail]
,[Phone No_]
,[Job Title]
,[Search E-Mail]
,[E-Mail 2]
,[Blocked]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Salesperson/Purchaser].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Salesperson/Purchaser].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Sales Cycle$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Cycle]
ON
[Salesperson/Purchaser].[Sales Cycle Filter] = [Sales Cycle].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact]
ON
[Salesperson/Purchaser].[Contact Filter] = [Contact].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign]
ON
[Salesperson/Purchaser].[Campaign Filter] = [Campaign].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team]
ON
[Salesperson/Purchaser].[Team Filter] = [Team].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Close Opportunity Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Close Opportunity Code]
ON
[Salesperson/Purchaser].[Close Opportunity Filter] = [Close Opportunity Code].[Code]
LEFT JOIN
[User] AS [User]
ON
[Salesperson/Purchaser].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Salesperson/Purchaser].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Salesperson/Purchaser table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 20 | Code | nvarchar(40) |
2 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
3 | Commission % | Commission % | Normal | Decimal | 12 | Commission _ | decimal(38,38) |
140 | Image | Image | Normal | Media | 16 | Image | uniqueidentifier |
150 | Privacy Blocked | Privacy Blocked | Normal | Boolean | 4 | Privacy Blocked | tinyint |
720 | Coupled to CRM | Coupled to Dataverse | Normal | Boolean | 4 | Coupled to CRM | tinyint |
721 | Coupled to Dataverse | Coupled to Dataverse | FlowField | Boolean | 4 | ||
5050 | Global Dimension 1 Code | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Salesperson/Purchaser].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Salesperson/Purchaser].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
5051 | Global Dimension 2 Code | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Salesperson/Purchaser].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Salesperson/Purchaser].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
5052 | Normal | Text | 80 | nvarchar(160) | |||
5053 | Phone No. | Phone No. | Normal | Text | 30 | Phone No_ | nvarchar(60) |
5054 | Next Task Date | Next Task Date | FlowField | Date | 4 | ||
5055 | No. of Opportunities | No. of Opportunities | FlowField | Integer | 4 | ||
5056 | Estimated Value (LCY) | Estimated Value ($) | FlowField | Decimal | 12 | ||
5057 | Calcd. Current Value (LCY) | Calcd. Current Value ($) | FlowField | Decimal | 12 | ||
5058 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
5059 | No. of Interactions | No. of Interactions | FlowField | Integer | 4 | ||
5060 | Cost (LCY) | Cost ($) | FlowField | Decimal | 12 | ||
5061 | Duration (Min.) | Duration (Min.) | FlowField | Decimal | 12 | ||
5062 | Job Title | Job Title | Normal | Text | 30 | Job Title | nvarchar(60) |
5063 | Action Taken Filter | Action Taken Filter | FlowFilter | Option | 4 | ||
5064 | Sales Cycle Filter | Sales Cycle Filter | FlowFilter | Code | 10 | ||
Key to join to the Sales Cycle table.Show/hide example querySELECT [Salesperson/Purchaser].[] ,[Sales Cycle].[Code] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Sales Cycle$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Cycle] ON [Salesperson/Purchaser].[] = [Sales Cycle].[Code] | |||||||
5065 | Sales Cycle Stage Filter | Sales Cycle Stage Filter | FlowFilter | Integer | 4 | ||
5066 | Probability % Filter | Probability % Filter | FlowFilter | Decimal | 12 | ||
5067 | Completed % Filter | Completed % Filter | FlowFilter | Decimal | 12 | ||
5068 | Avg. Estimated Value (LCY) | Avg. Estimated Value ($) | FlowField | Decimal | 12 | ||
5069 | Avg.Calcd. Current Value (LCY) | Avg.Calcd. Current Value ($) | FlowField | Decimal | 12 | ||
5070 | Contact Filter | Contact Filter | FlowFilter | Code | 20 | ||
Key to join to the Contact table.Show/hide example querySELECT [Salesperson/Purchaser].[] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Salesperson/Purchaser].[] = [Contact].[No_] | |||||||
5071 | Contact Company Filter | Contact Company Filter | FlowFilter | Code | 20 | ||
5072 | Campaign Filter | Campaign Filter | FlowFilter | Code | 20 | ||
Key to join to the Campaign table.Show/hide example querySELECT [Salesperson/Purchaser].[] ,[Campaign].[No_] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign] ON [Salesperson/Purchaser].[] = [Campaign].[No_] | |||||||
5073 | Estimated Value Filter | Estimated Value Filter | FlowFilter | Decimal | 12 | ||
5074 | Calcd. Current Value Filter | Calcd. Current Value Filter | FlowFilter | Decimal | 12 | ||
5075 | Chances of Success % Filter | Chances of Success % Filter | FlowFilter | Decimal | 12 | ||
5076 | Task Status Filter | Task Status Filter | FlowFilter | Option | 4 | ||
5077 | Closed Task Filter | Closed Task Filter | FlowFilter | Boolean | 4 | ||
5078 | Priority Filter | Priority Filter | FlowFilter | Option | 4 | ||
5079 | Team Filter | Team Filter | FlowFilter | Code | 10 | ||
Key to join to the Team table.Show/hide example querySELECT [Salesperson/Purchaser].[] ,[Team].[Code] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team] ON [Salesperson/Purchaser].[] = [Team].[Code] | |||||||
5082 | Opportunity Entry Exists | Opportunity Entry Exists | FlowField | Boolean | 4 | ||
5083 | Task Entry Exists | Task Entry Exists | FlowField | Boolean | 4 | ||
5084 | Close Opportunity Filter | Close Opportunity Filter | FlowFilter | Code | 10 | ||
Key to join to the Close Opportunity Code table.Show/hide example querySELECT [Salesperson/Purchaser].[] ,[Close Opportunity Code].[Code] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [CRONUS UK Ltd_$Close Opportunity Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Close Opportunity Code] ON [Salesperson/Purchaser].[] = [Close Opportunity Code].[Code] | |||||||
5085 | Search E-Mail | Search Email | Normal | Code | 80 | Search E-Mail | nvarchar(160) |
5086 | E-Mail 2 | Email 2 | Normal | Text | 80 | E-Mail 2 | nvarchar(160) |
5087 | Blocked | Blocked | Normal | Boolean | 4 | Blocked | 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 querySELECT [Salesperson/Purchaser].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] LEFT JOIN [User] AS [User] ON [Salesperson/Purchaser].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |