Shpfy Customer

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

Table Type: Company

Table Name: Shpfy Customer
Database Table Name: CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb

Table Number: 30105

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb]

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[First Name]
   ,[Last Name]
   ,[Email]
   ,[Phone No_]
   ,[Accepts Marketing]
   ,[Accepts Marketing Update At]
   ,[ISO Currency Code]
   ,[Tax Exempt]
   ,[Verified Email]
   ,[State]
   ,[Note]
   ,[Created At]
   ,[Updated At]
   ,[Last Updated by BC]
   ,[Shop Id]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Customer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Customer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Customer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIdNormalBigInteger8Idbigint
2First Name Primary Key SearchFirst NameNormalText100First Namenvarchar(200)
3Last Name SearchLast NameNormalText100Last Namenvarchar(200)
4Email SearchE-MailNormalText100Emailnvarchar(200)
5Phone No. SearchPhone No.NormalText30Phone No_nvarchar(60)
6Accepts Marketing SearchAccepts MarketingNormalBoolean4Accepts Marketingtinyint
7Accepts Marketing Update At SearchAccepts Marketing Update AtNormalDateTime8Accepts Marketing Update Atdatetime
8ISO Currency Code SearchISO Currency CodeNormalCode3ISO Currency Codenvarchar(6)
9Tax Exempt SearchTax ExemptNormalBoolean4Tax Exempttinyint
10Verified Email SearchVerified E-MailNormalBoolean4Verified Emailtinyint
11State SearchStateNormalOption4Stateint
Available options are:
  • “Disabled”
  • “Invited”
  • “Enabled”
  • “Declined”
12Note SearchNoteNormalBLOB8Noteimage
13Created At SearchCreated AtNormalDateTime8Created Atdatetime
14Updated At SearchUpdated AtNormalDateTime8Updated Atdatetime
15Last Updated by BC SearchLast Updated by BCNormalDateTime8Last Updated by BCdatetime
101Customer SystemId SearchCustomer SystemIdNormalGUID16
102Customer No. SearchCustomer No.FlowFieldCode20
Key to join to the Customer table.

Show/hide example query

SELECT
	       [Shpfy Customer].[]
	       ,[Customer].[No_]
	FROM
	       [CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Shpfy Customer].[] = [Customer].[No_]
103Shop Id SearchShop IDNormalInteger4Shop Idint
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
	       [Shpfy Customer].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Shpfy Customer$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Shpfy Customer].[$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 *