Shpfy Customer Address

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

Table Type: Company

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

Table Number: 30106

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Customer Id]
   ,[Company]
   ,[First Name]
   ,[Last Name]
   ,[Address 1]
   ,[Address 2]
   ,[Zip]
   ,[City]
   ,[Country_Region Code]
   ,[Country_Region Name]
   ,[Province Code]
   ,[Province Name]
   ,[Phone]
   ,[Default]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Customer Address$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 Address$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer Address]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [Shpfy Customer Address].[Customer Id] = [Customer].[$systemId]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Shpfy Customer Address].[Company] = [Company].[Name]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [Shpfy Customer Address].[City] = [Post Code].[City]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Customer Address].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Customer Address].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Customer Address table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIdNormalBigInteger8Idbigint
2Customer Id Primary Key SearchCustomer IdNormalBigInteger8Customer Idbigint
Key to join to the Customer table.

Show/hide example query

SELECT
	       [Shpfy Customer Address].[Customer Id]
	       ,[Customer].[$systemId]
	FROM
	       [CRONUS UK Ltd_$Shpfy Customer Address$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer Address]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [Shpfy Customer Address].[Customer Id] = [Customer].[$systemId]
3Company SearchCompanyNormalText100Companynvarchar(200)
Key to join to the Company table.

Show/hide example query

SELECT
	       [Shpfy Customer Address].[Company]
	       ,[Company].[Name]
	FROM
	       [CRONUS UK Ltd_$Shpfy Customer Address$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer Address]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [Shpfy Customer Address].[Company] = [Company].[Name]
4First Name SearchFirst NameNormalText50First Namenvarchar(100)
5Last Name SearchLast NameNormalText50Last Namenvarchar(100)
6Address 1 SearchAddress1NormalText100Address 1nvarchar(200)
7Address 2 SearchAddress2NormalText100Address 2nvarchar(200)
8Zip SearchZipNormalCode20Zipnvarchar(40)
9City SearchCityNormalText50Citynvarchar(100)
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [Shpfy Customer Address].[City]
	       ,[Post Code].[City]
	FROM
	       [CRONUS UK Ltd_$Shpfy Customer Address$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Customer Address]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [Shpfy Customer Address].[City] = [Post Code].[City]
10Country/Region Code SearchCountry/Region CodeNormalCode2Country_Region Codenvarchar(4)
11Country/Region Name SearchCountry/Region NameNormalText50Country_Region Namenvarchar(100)
12Province Code SearchProvince CodeNormalCode2Province Codenvarchar(4)
13Province Name SearchProvince NameNormalText50Province Namenvarchar(100)
14Phone SearchPhoneNormalText30Phonenvarchar(60)
15Default SearchDefaultNormalBoolean4Defaulttinyint
101Ship-To Address SystemId SearchShip-To Address SystemIdNormalGUID16
102CustomerSystemId SearchCustomer System IdNormalGUID16
103Customer No. SearchCustomer No.FlowFieldCode20
Key to join to the Customer table.

Show/hide example query

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