Doc. Exch. Service Setup

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

Table Type: Company

Table Name: Doc. Exch. Service Setup
Database Table Name: CRONUS UK Ltd_$Doc_ Exch_ Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1275

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 Doc. Exch. Service Setup can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Doc_ Exch_ Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Sign-up URL]
   ,[Service URL]
   ,[Sign-in URL]
   ,[Consumer Key]
   ,[Consumer Secret]
   ,[Token]
   ,[Token Secret]
   ,[Doc_ Exch_ Tenant ID]
   ,[User Agent]
   ,[Client Id]
   ,[Client Secret Key]
   ,[Redirect URL]
   ,[Auth URL]
   ,[Token URL]
   ,[Access Token Key]
   ,[Refresh Token Key]
   ,[Enabled]
   ,[Log Web Requests]
   ,[Token Subject]
   ,[Token Issued At]
   ,[Id Token]
   ,[Token Expired]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Doc_ Exch_ Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Doc_ Exch_ Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Doc. Exch. Service Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [Doc. Exch. Service Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Doc. Exch. Service Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Doc. Exch. Service Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
4Sign-up URL Primary Key SearchSign-up URLNormalText250Sign-up URLnvarchar(500)
5Service URL SearchService URLNormalText250Service URLnvarchar(500)
6Sign-in URL SearchSign-in URLNormalText250Sign-in URLnvarchar(500)
7Consumer Key SearchConsumer KeyNormalGUID16Consumer Keyuniqueidentifier
8Consumer Secret SearchConsumer SecretNormalGUID16Consumer Secretuniqueidentifier
9Token SearchTokenNormalGUID16Tokenuniqueidentifier
10Token Secret SearchToken SecretNormalGUID16Token Secretuniqueidentifier
11Doc. Exch. Tenant ID SearchDoc. Exch. Tenant IDNormalGUID16Doc_ Exch_ Tenant IDuniqueidentifier
12User Agent SearchUser AgentNormalText30User Agentnvarchar(60)
13Client Id SearchClient IdNormalText250Client Idnvarchar(500)
14Client Secret Key SearchClient Secret KeyNormalGUID16Client Secret Keyuniqueidentifier
15Redirect URL SearchRedirect URLNormalText250Redirect URLnvarchar(500)
16Auth URL SearchAuthentication URLNormalText250Auth URLnvarchar(500)
17Token URL SearchToken URLNormalText250Token URLnvarchar(500)
18Access Token Key SearchAccess Token KeyNormalGUID16Access Token Keyuniqueidentifier
19Refresh Token Key SearchRefresh Token KeyNormalGUID16Refresh Token Keyuniqueidentifier
20Enabled SearchEnabledNormalBoolean4Enabledtinyint
21Log Web Requests SearchLog Web RequestsNormalBoolean4Log Web Requeststinyint
24Token Subject SearchToken SubjectNormalText250Token Subjectnvarchar(500)
25Token Issued At SearchToken Issued AtNormalDateTime8Token Issued Atdatetime
27Id Token SearchId TokenNormalText1024Id Tokennvarchar(2048)
28Token Expired SearchId TokenNormalBoolean4Token Expiredtinyint
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
	       [Doc. Exch. Service Setup].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Doc_ Exch_ Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Doc. Exch. Service Setup]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Doc. Exch. Service Setup].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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