MS-QBO Setup

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

Table Type: Company

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

Table Number: 7824

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 MS-QBO Setup can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Realm Id]
   ,[Token Key]
   ,[Token Secret]
   ,[Enabled]
   ,[Default Tax Code]
   ,[Default Country]
   ,[Default Country As Option]
   ,[Default Tax Rate]
   ,[Default Discount Account Id]
   ,[Default Discount Account Code]
   ,[Target Application]
   ,[Access Tokens Last Fetched On]
   ,[Last Configuration Error]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$MS-QBO 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_$MS-QBO Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS-QBO Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [MS-QBO Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [MS-QBO Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in MS-QBO Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Realm Id Primary Key SearchRealm IdNormalText250Realm Idnvarchar(500)
3Token Key SearchToken KeyNormalText250Token Keynvarchar(500)
4Token Secret SearchToken SecretNormalText250Token Secretnvarchar(500)
5Enabled SearchEnabledNormalBoolean4Enabledtinyint
6Default Tax Code SearchDefault Tax CodeNormalText250Default Tax Codenvarchar(500)
7Default Country SearchDefault CountryNormalCode10Default Countrynvarchar(20)
8Default Country As Option SearchDefault Country As OptionNormalOption4Default Country As Optionint
Available options are:
  • “Unknown”
  • “Canada”
  • “UK”
  • “USA”
9Default Tax Rate SearchDefault Tax RateNormalText250Default Tax Ratenvarchar(500)
10Default Discount Account Id SearchDefault Discount Account IdNormalText250Default Discount Account Idnvarchar(500)
11Default Discount Account Code SearchDefault Discount Account CodeNormalText250Default Discount Account Codenvarchar(500)
12Target Application SearchTarget ApplicationNormalOption4Target Applicationint
Available options are:
  • “InvoicingApp”
  • “BusinessCenter”
  • “NativeInvoicingApp”
13Access Tokens Last Fetched On SearchAccess Tokens Last Fetched OnNormalDateTime8Access Tokens Last Fetched Ondatetime
14Last Configuration Error SearchLast Configuration ErrorNormalText250Last Configuration Errornvarchar(500)
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
	       [MS-QBO Setup].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$MS-QBO Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS-QBO Setup]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [MS-QBO 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 *