Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/30121
Table Type: Company
Table Name: Shpfy Orders to Import
Database Table Name: CRONUS UK Ltd_$Shpfy Orders to Import$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 Orders to Import can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Shpfy Orders to Import$ec255f57-31d0-4ca2-b751-f2fa7c745abb]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Shop Id]
,[Shop Code]
,[Id]
,[Order No_]
,[Created At]
,[Updated At]
,[Test]
,[Confirmed]
,[Fully Paid]
,[Unpaid]
,[Risk Level]
,[Financial Status]
,[Fulfillment Status]
,[Order Amount]
,[Currency Code]
,[Total Quantity of Items]
,[Number of Order Lines]
,[Tags]
,[Channel Name]
,[Import Action]
,[Has Error]
,[Error Message]
,[Error Call Stack]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Shpfy Orders to Import$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 Orders to Import$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Orders to Import]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
ON
[Shpfy Orders to Import].[Shop Code] = [Shpfy Shop].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Shpfy Orders to Import].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Orders to Import].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Orders to Import].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Shpfy Orders to Import table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Shop Id | Shop Id | Normal | Integer | 4 | Shop Id | int |
3 | Shop Code | Shop Code | Normal | Code | 20 | Shop Code | nvarchar(40) |
Key to join to the Shpfy Shop table.Show/hide example querySELECT [Shpfy Orders to Import].[Shop Code] ,[Shpfy Shop].[Code] FROM [CRONUS UK Ltd_$Shpfy Orders to Import$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Orders to Import] LEFT JOIN [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop] ON [Shpfy Orders to Import].[Shop Code] = [Shpfy Shop].[Code] | |||||||
4 | Id | Id | Normal | BigInteger | 8 | Id | bigint |
5 | Order No. | Order No. | Normal | Text | 50 | Order No_ | nvarchar(100) |
6 | Created At | Created At | Normal | DateTime | 8 | Created At | datetime |
7 | Updated At | UpdatedAt | Normal | DateTime | 8 | Updated At | datetime |
8 | Test | Test | Normal | Boolean | 4 | Test | tinyint |
9 | Confirmed | Confirmed | Normal | Boolean | 4 | Confirmed | tinyint |
10 | Fully Paid | Fully Paid | Normal | Boolean | 4 | Fully Paid | tinyint |
11 | Unpaid | Unpaid | Normal | Boolean | 4 | Unpaid | tinyint |
12 | Risk Level | Risk Level | Normal | Option | 4 | Risk Level | int |
Available options are:
| |||||||
13 | Financial Status | Financial Status | Normal | Option | 4 | Financial Status | int |
Available options are:
| |||||||
14 | Fulfillment Status | Fulfillment Status | Normal | Option | 4 | Fulfillment Status | int |
Available options are:
| |||||||
15 | Order Amount | Order Amount | Normal | Decimal | 12 | Order Amount | decimal(38,38) |
16 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Shpfy Orders to Import].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Shpfy Orders to Import$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Orders to Import] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Shpfy Orders to Import].[Currency Code] = [Currency].[Code] | |||||||
17 | Total Quantity of Items | Total Quantity of Items | Normal | Integer | 4 | Total Quantity of Items | int |
18 | Number of Order Lines | Number of Order Lines | Normal | Integer | 4 | Number of Order Lines | int |
19 | Tags | Tags | Normal | Text | 2048 | Tags | nvarchar(4096) |
20 | Attribute Key Filter | Attribute Key Filter | FlowFilter | Text | 100 | ||
21 | Attribute Key Exists | Attribute Key Exists | FlowField | Boolean | 4 | ||
22 | Channel Name | Channel Name | Normal | Text | 100 | Channel Name | nvarchar(200) |
100 | Import Action | Import Action | Normal | Option | 4 | Import Action | int |
Available options are:
| |||||||
102 | Has Error | Has Error | Normal | Boolean | 4 | Has Error | tinyint |
103 | Error Message | Error Message | Normal | BLOB | 8 | Error Message | image |
104 | Error Call Stack | Error Call Stack | Normal | BLOB | 8 | Error Call Stack | image |
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 Orders to Import].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Shpfy Orders to Import$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Orders to Import] LEFT JOIN [User] AS [User] ON [Shpfy Orders to Import].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |