Team Salesperson

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

Table Type: Company

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

Table Number: 5084

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 Team Salesperson can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Team Code]
   ,[Salesperson Code]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team Salesperson]
LEFT JOIN
   [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team]
      ON
         [Team Salesperson].[Team Code] = [Team].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
      ON
         [Team Salesperson].[Salesperson Code] = [Salesperson/Purchaser].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Team Salesperson].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Team Salesperson].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Team Salesperson table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Team Code SearchTeam CodeNormalCode10Team Codenvarchar(20)
Key to join to the Team table.

Show/hide example query

SELECT
	       [Team Salesperson].[Team Code]
	       ,[Team].[Code]
	FROM
	       [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team Salesperson]
	LEFT JOIN
	       [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team]
	              ON
	                     [Team Salesperson].[Team Code] = [Team].[Code]
2Salesperson Code Primary Key SearchSalesperson CodeNormalCode20Salesperson Codenvarchar(40)
Key to join to the Salesperson/Purchaser table.

Show/hide example query

SELECT
	       [Team Salesperson].[Salesperson Code]
	       ,[Salesperson/Purchaser].[Code]
	FROM
	       [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team Salesperson]
	LEFT JOIN
	       [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
	              ON
	                     [Team Salesperson].[Salesperson Code] = [Salesperson/Purchaser].[Code]
3Team Name Primary Key SearchTeam NameFlowFieldText50
4Salesperson Name SearchSalesperson NameFlowFieldText50
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Team Salesperson].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Team Salesperson$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team Salesperson]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Team Salesperson].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Team Salesperson table

Leave a Reply

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