COHUB Company Endpoint

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

Table Type: System

Table Name: COHUB Company Endpoint
Database Table Name:

Table Number: 1153

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 COHUB Company Endpoint can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [COHUB Company Endpoint]
LEFT JOIN
   [Company] AS [Company]
      ON
         [COHUB Company Endpoint].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [COHUB Company Endpoint].[Assigned To] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [COHUB Company Endpoint].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [COHUB Company Endpoint].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in COHUB Company Endpoint table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Enviroment No. SearchEnviroment No.NormalCode20
3Company Name Primary Key SearchCompany NameNormalText50
Key to join to the Company table.

Show/hide example query

SELECT
	       [COHUB Company Endpoint].[]
	       ,[Company].[Name]
	FROM
	       [] AS [COHUB Company Endpoint]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [COHUB Company Endpoint].[] = [Company].[Name]
6ODATA Company URL Primary Key SearchODATA Company URLNormalText250
9Company Display Name SearchCompany Display NameNormalText50
10Assigned To SearchAssigned ToNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [COHUB Company Endpoint].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [COHUB Company Endpoint]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [COHUB Company Endpoint].[] = [User].[User Security ID]
50Evaulation Company Primary Key SearchEvaulation CompanyNormalBoolean4
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [COHUB Company Endpoint].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [COHUB Company Endpoint]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [COHUB Company Endpoint].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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