Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/30133
Table Type: Company
Table Name: Shpfy Order Transaction
Database Table Name: CRONUS UK Ltd_$Shpfy Order Transaction$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 Order Transaction can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb]
Show/hide an example select of all columns by name
SELECT
[Shopify Transaction Id]
,[Shopify Order Id]
,[Amount]
,[Type]
,[Gateway]
,[Status]
,[Message]
,[Created At]
,[Test]
,[Authorization]
,[Currency]
,[Gift Card Id]
,[Source Name]
,[Credit Card Bin]
,[AVS Result Code]
,[CVV Result Code]
,[Credit Card Number]
,[Credit Card Company]
,[Parent Id]
,[Error Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Shpfy Order Transaction$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 Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Transaction Gateway$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Transaction Gateway]
ON
[Shpfy Order Transaction].[Gateway] = [Shpfy Transaction Gateway].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Credit Card Company$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Credit Card Company]
ON
[Shpfy Order Transaction].[Credit Card Company] = [Shpfy Credit Card Company].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction]
ON
[Shpfy Order Transaction].[Parent Id] = [Shpfy Order Transaction].[Shopify Transaction Id]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
ON
[Shpfy Order Transaction].[Shop Code] = [Shpfy Shop].[Code]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Order Transaction].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Order Transaction].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Shpfy Order Transaction table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Shopify Transaction Id | Shopify Transaction Id | Normal | BigInteger | 8 | Shopify Transaction Id | bigint |
2 | Shopify Order Id | Shopify Order Id | Normal | BigInteger | 8 | Shopify Order Id | bigint |
3 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
4 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
5 | Gateway | Gateway | Normal | Text | 30 | Gateway | nvarchar(60) |
Key to join to the Shpfy Transaction Gateway table.Show/hide example querySELECT [Shpfy Order Transaction].[Gateway] ,[Shpfy Transaction Gateway].[Name] FROM [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction] LEFT JOIN [CRONUS UK Ltd_$Shpfy Transaction Gateway$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Transaction Gateway] ON [Shpfy Order Transaction].[Gateway] = [Shpfy Transaction Gateway].[Name] | |||||||
6 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
7 | Message | Message | Normal | Text | 250 | Message | nvarchar(500) |
8 | Created At | Created At | Normal | DateTime | 8 | Created At | datetime |
9 | Test | Test | Normal | Boolean | 4 | Test | tinyint |
10 | Authorization | Authorization | Normal | Code | 50 | Authorization | nvarchar(100) |
11 | Currency | Currency | Normal | Code | 20 | Currency | nvarchar(40) |
14 | Gift Card Id | Gift Card Id | Normal | BigInteger | 8 | Gift Card Id | bigint |
15 | Source Name | Source Name | Normal | Code | 20 | Source Name | nvarchar(40) |
16 | Credit Card Bin | Credit Card Bin | Normal | Code | 10 | Credit Card Bin | nvarchar(20) |
17 | AVS Result Code | AVS Result Code | Normal | Code | 1 | AVS Result Code | nvarchar(2) |
18 | CVV Result Code | CVV Result Code | Normal | Code | 1 | CVV Result Code | nvarchar(2) |
19 | Credit Card Number | Credit Card Number | Normal | Text | 30 | Credit Card Number | nvarchar(60) |
20 | Credit Card Company | Credit Card company | Normal | Text | 50 | Credit Card Company | nvarchar(100) |
Key to join to the Shpfy Credit Card Company table.Show/hide example querySELECT [Shpfy Order Transaction].[Credit Card Company] ,[Shpfy Credit Card Company].[Name] FROM [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction] LEFT JOIN [CRONUS UK Ltd_$Shpfy Credit Card Company$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Credit Card Company] ON [Shpfy Order Transaction].[Credit Card Company] = [Shpfy Credit Card Company].[Name] | |||||||
21 | Parent Id | Parent Id | Normal | BigInteger | 8 | Parent Id | bigint |
22 | Error Code | Error Code | Normal | Text | 30 | Error Code | nvarchar(60) |
101 | Sales Document No. | Sales Document No. | FlowField | Code | 20 | ||
102 | Posted Invoice No. | Posted Invoice No. | FlowField | Code | 20 | ||
103 | Shop Code | Shop Code | FlowField | Code | 20 | ||
Key to join to the Shpfy Shop table.Show/hide example querySELECT [Shpfy Order Transaction].[] ,[Shpfy Shop].[Code] FROM [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction] LEFT JOIN [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop] ON [Shpfy Order Transaction].[] = [Shpfy Shop].[Code] | |||||||
104 | Payment Method | Payment Method | FlowField | Code | 10 | ||
105 | Payment Priority | Payment Priority | FlowField | Integer | 4 | ||
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 Order Transaction].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction] LEFT JOIN [User] AS [User] ON [Shpfy Order Transaction].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |