MS-QBO Customer

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

Table Type: Company

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

Table Number: 7820

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[SyncToken]
   ,[MetaData]
   ,[MetaData CreateTime]
   ,[MetaData LastUpdatedTime]
   ,[Title]
   ,[GivenName]
   ,[MiddleName]
   ,[FamilyName]
   ,[Suffix]
   ,[DisplayName]
   ,[FullyQualifiedName]
   ,[CompanyName]
   ,[PrintOnCheckName]
   ,[Active]
   ,[PrimaryPhone]
   ,[AlternatePhone]
   ,[Mobile]
   ,[Fax]
   ,[PrimaryEmailAddr]
   ,[WebAddr]
   ,[DefaultTaxCodeRef]
   ,[Taxable]
   ,[BillAddr]
   ,[ShipAddr]
   ,[Notes]
   ,[Job]
   ,[BillWithParent]
   ,[ParentRef]
   ,[Level]
   ,[SalesTermRef]
   ,[PaymentMethodRef]
   ,[Balance]
   ,[OpenBalanceDate]
   ,[BalanceWithJobs]
   ,[CurrencyRef]
   ,[PreferredDeliveryMethod]
   ,[ResaleNum]
   ,[All]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$MS-QBO Customer$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 Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS-QBO Customer]
LEFT JOIN
   [User] AS [User]
      ON
         [MS-QBO Customer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [MS-QBO Customer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in MS-QBO Customer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id Primary Key SearchIdNormalText250Idnvarchar(500)
2SyncToken SearchSyncTokenNormalText250SyncTokennvarchar(500)
3MetaData SearchMetaDataNormalBLOB8MetaDataimage
4MetaData CreateTime SearchMetaData CreateTimeNormalDateTime8MetaData CreateTimedatetime
5MetaData LastUpdatedTime SearchMetaData LastUpdatedTimeNormalDateTime8MetaData LastUpdatedTimedatetime
6Title SearchTitleNormalText15Titlenvarchar(30)
7GivenName SearchGivenNameNormalText25GivenNamenvarchar(50)
8MiddleName SearchMiddleNameNormalText25MiddleNamenvarchar(50)
9FamilyName SearchFamilyNameNormalText25FamilyNamenvarchar(50)
10Suffix SearchSuffixNormalText10Suffixnvarchar(20)
11DisplayName SearchDisplayNameNormalText100DisplayNamenvarchar(200)
12FullyQualifiedName SearchFullyQualifiedNameNormalText250FullyQualifiedNamenvarchar(500)
13CompanyName SearchCompanyNameNormalText50CompanyNamenvarchar(100)
14PrintOnCheckName SearchPrintOnCheckNameNormalText110PrintOnCheckNamenvarchar(220)
15Active SearchActiveNormalBoolean4Activetinyint
16PrimaryPhone SearchPrimaryPhoneNormalBLOB8PrimaryPhoneimage
17AlternatePhone SearchAlternatePhoneNormalBLOB8AlternatePhoneimage
18Mobile SearchMobileNormalBLOB8Mobileimage
19Fax SearchFaxNormalBLOB8Faximage
20PrimaryEmailAddr SearchPrimaryEmailAddrNormalBLOB8PrimaryEmailAddrimage
21WebAddr SearchWebAddrNormalBLOB8WebAddrimage
22DefaultTaxCodeRef SearchDefaultTaxCodeRefNormalBLOB8DefaultTaxCodeRefimage
23Taxable SearchTaxableNormalBoolean4Taxabletinyint
24BillAddr SearchBillAddrNormalBLOB8BillAddrimage
25ShipAddr SearchShipAddrNormalBLOB8ShipAddrimage
26Notes SearchNotesNormalBLOB8Notesimage
27Job SearchJobNormalBoolean4Jobtinyint
28BillWithParent SearchBillWithParentNormalBoolean4BillWithParenttinyint
29ParentRef SearchParentRefNormalBLOB8ParentRefimage
30Level SearchLevelNormalInteger4Levelint
31SalesTermRef SearchSalesTermRefNormalBLOB8SalesTermRefimage
32PaymentMethodRef SearchPaymentMethodRefNormalBLOB8PaymentMethodRefimage
33Balance SearchBalanceNormalDecimal12Balancedecimal(38,38)
34OpenBalanceDate SearchOpenBalanceDateNormalDate4OpenBalanceDatedatetime
35BalanceWithJobs SearchBalanceWithJobsNormalDecimal12BalanceWithJobsdecimal(38,38)
36CurrencyRef SearchCurrencyRefNormalBLOB8CurrencyRefimage
37PreferredDeliveryMethod SearchPreferredDeliveryMethodNormalText250PreferredDeliveryMethodnvarchar(500)
38ResaleNum SearchResaleNumNormalText16ResaleNumnvarchar(32)
39All SearchAllNormalBLOB8Allimage
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 Customer].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$MS-QBO Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS-QBO Customer]
LEFT JOIN
       [User] AS [User]
              ON
                     [MS-QBO Customer].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [MS-QBO Customer].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$MS-QBO Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [MS-QBO Customer]
LEFT JOIN
       [User] AS [User]
              ON
                     [MS-QBO Customer].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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