Order Address

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

Table Type: Company

Table Name: Order Address
Database Table Name: CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 224

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Vendor No_]
   ,[Code]
   ,[Name]
   ,[Name 2]
   ,[Address]
   ,[Address 2]
   ,[City]
   ,[Contact]
   ,[Phone No_]
   ,[Telex No_]
   ,[Country_Region Code]
   ,[Last Date Modified]
   ,[Fax No_]
   ,[Telex Answer Back]
   ,[Post Code]
   ,[County]
   ,[E-Mail]
   ,[Home Page]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Address]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [Order Address].[City] = [Post Code].[City]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [Order Address].[Post Code] = [Post Code].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Order Address].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Order Address].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Order Address table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Vendor No. SearchVendor No.NormalCode20Vendor No_nvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [Order Address].[Vendor No_]
	       ,[Vendor].[No_]
	FROM
	       [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Address]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [Order Address].[Vendor No_] = [Vendor].[No_]
2Code Primary Key SearchCodeNormalCode10Codenvarchar(20)
3Name Primary Key SearchNameNormalText100Namenvarchar(200)
4Name 2 SearchName 2NormalText50Name 2nvarchar(100)
5Address SearchAddressNormalText100Addressnvarchar(200)
6Address 2 SearchAddress 2NormalText50Address 2nvarchar(100)
7City SearchCityNormalText30Citynvarchar(60)
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [Order Address].[City]
	       ,[Post Code].[City]
	FROM
	       [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Address]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [Order Address].[City] = [Post Code].[City]
8Contact SearchContactNormalText100Contactnvarchar(200)
9Phone No. SearchPhone No.NormalText30Phone No_nvarchar(60)
10Telex No. SearchTelex No.NormalText30Telex No_nvarchar(60)
35Country/Region Code SearchCountry/Region CodeNormalCode10Country_Region Codenvarchar(20)
54Last Date Modified SearchLast Date ModifiedNormalDate4Last Date Modifieddatetime
84Fax No. SearchFax No.NormalText30Fax No_nvarchar(60)
85Telex Answer Back SearchTelex Answer BackNormalText20Telex Answer Backnvarchar(40)
91Post Code SearchZIP CodeNormalCode20Post Codenvarchar(40)
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [Order Address].[Post Code]
	       ,[Post Code].[Code]
	FROM
	       [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Address]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [Order Address].[Post Code] = [Post Code].[Code]
92County SearchStateNormalText30Countynvarchar(60)
102E-Mail SearchEmailNormalText80E-Mailnvarchar(160)
103Home Page SearchHome PageNormalText80Home Pagenvarchar(160)
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
	       [Order Address].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Order Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Address]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Order Address].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Order Address table

Leave a Reply

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