Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/30113
Table Type: Company
Table Name: Shpfy Shop Location
Database Table Name: CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb
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 Shop Location can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb]
Show/hide an example select of all columns by name
SELECT
[Shop Code]
,[Id]
,[Name]
,[Location Filter]
,[Default Location Code]
,[Disabled]
,[Active]
,[Is Primary]
,[Stock Calculation]
,[Is Fulfillment Service]
,[Default Product Location]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Shpfy Shop Location$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 Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop Location]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
ON
[Shpfy Shop Location].[Shop Code] = [Shpfy Shop].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item]
ON
[Shpfy Shop Location].[Version] = [Guided Experience Item].[Version]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Shpfy Shop Location].[Location Filter] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Shop Location].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Shop Location].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Shpfy Shop Location table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Shop Code | Shop Code | Normal | Code | 20 | Shop Code | nvarchar(40) |
Key to join to the Shpfy Shop table.Show/hide example querySELECT [Shpfy Shop Location].[Shop Code] ,[Shpfy Shop].[Code] FROM [CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop Location] LEFT JOIN [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop] ON [Shpfy Shop Location].[Shop Code] = [Shpfy Shop].[Code] | |||||||
2 | Id | Id | Normal | BigInteger | 8 | Id | bigint |
3 | Version | Version | Normal | BigInteger | 8 | ||
Key to join to the Guided Experience Item table.Show/hide example querySELECT [Shpfy Shop Location].[] ,[Guided Experience Item].[Version] FROM [CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop Location] LEFT JOIN [CRONUS UK Ltd_$Guided Experience Item$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Guided Experience Item] ON [Shpfy Shop Location].[] = [Guided Experience Item].[Version] | |||||||
4 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
5 | Location Filter | Location Filter | Normal | Text | 250 | Location Filter | nvarchar(500) |
Key to join to the Location table.Show/hide example querySELECT [Shpfy Shop Location].[Location Filter] ,[Location].[Code] FROM [CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop Location] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Shpfy Shop Location].[Location Filter] = [Location].[Code] | |||||||
6 | Default Location Code | Default Location Code | Normal | Code | 20 | Default Location Code | nvarchar(40) |
7 | Disabled | Disabled | Normal | Boolean | 4 | Disabled | tinyint |
8 | Active | Active | Normal | Boolean | 4 | Active | tinyint |
9 | Is Primary | Is Primary | Normal | Boolean | 4 | Is Primary | tinyint |
10 | Stock Calculation | Stock calculation | Normal | Option | 4 | Stock Calculation | int |
Available options are:
| |||||||
11 | Is Fulfillment Service | Is Fulfillment Service | Normal | Boolean | 4 | Is Fulfillment Service | tinyint |
12 | Default Product Location | Default Product Location | Normal | Boolean | 4 | Default Product Location | tinyint |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Shpfy Shop Location].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Shpfy Shop Location$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop Location] LEFT JOIN [User] AS [User] ON [Shpfy Shop Location].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |