OCR Service Setup

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

Table Type: Company

Table Name: OCR Service Setup
Database Table Name: CRONUS UK Ltd_$OCR Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1270

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[User Name]
   ,[Password Key]
   ,[Sign-up URL]
   ,[Service URL]
   ,[Sign-in URL]
   ,[Authorization Key]
   ,[Customer Name]
   ,[Customer ID]
   ,[Customer Status]
   ,[Organization ID]
   ,[Default OCR Doc_ Template]
   ,[Enabled]
   ,[Master Data Sync Enabled]
   ,[Master Data Last Sync]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$OCR 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_$OCR Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [OCR Service Setup]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [OCR Service Setup].[Customer Id] = [Customer].[$systemId]
LEFT JOIN
   [User] AS [User]
      ON
         [OCR Service Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [OCR Service Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in OCR Service Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2User Name Primary Key SearchUser NameNormalText50User Namenvarchar(100)
3Password Key SearchPassword KeyNormalGUID16Password Keyuniqueidentifier
4Sign-up URL SearchSign-up URLNormalText250Sign-up URLnvarchar(500)
5Service URL SearchService URLNormalText250Service URLnvarchar(500)
6Sign-in URL SearchSign-in URLNormalText250Sign-in URLnvarchar(500)
7Authorization Key SearchAuthorization KeyNormalGUID16Authorization Keyuniqueidentifier
8Customer Name SearchCustomer NameNormalText80Customer Namenvarchar(160)
9Customer ID SearchCustomer IDNormalText50Customer IDnvarchar(100)
Key to join to the Customer table.

Show/hide example query

SELECT
	       [OCR Service Setup].[Customer ID]
	       ,[Customer].[$systemId]
	FROM
	       [CRONUS UK Ltd_$OCR Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [OCR Service Setup]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [OCR Service Setup].[Customer ID] = [Customer].[$systemId]
10Customer Status SearchCustomer StatusNormalText30Customer Statusnvarchar(60)
11Organization ID SearchOrganization IDNormalText50Organization IDnvarchar(100)
12Default OCR Doc. Template SearchDefault OCR Doc. TemplateNormalCode20Default OCR Doc_ Templatenvarchar(40)
Key to join to the OCR Service Document Template table.

Show/hide example query

SELECT
	       [OCR Service Setup].[Default OCR Doc_ Template]
	       ,[OCR Service Document Template].[Code]
	FROM
	       [CRONUS UK Ltd_$OCR Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [OCR Service Setup]
	LEFT JOIN
	       [CRONUS UK Ltd_$OCR Service Document Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [OCR Service Document Template]
	              ON
	                     [OCR Service Setup].[Default OCR Doc_ Template] = [OCR Service Document Template].[Code]
13Enabled SearchEnabledNormalBoolean4Enabledtinyint
14Master Data Sync Enabled SearchMaster Data Sync EnabledNormalBoolean4Master Data Sync Enabledtinyint
15Master Data Last Sync SearchMaster Data Last SyncNormalDateTime8Master Data Last Syncdatetime
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
	       [OCR Service Setup].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$OCR Service Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [OCR Service Setup]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [OCR 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 *