Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/30141
Table Type: Company
Table Name: Shpfy Return Line
Database Table Name: CRONUS UK Ltd_$Shpfy Return Line$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 Return Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb]
Show/hide an example select of all columns by name
SELECT
[Return Line Id]
,[Return Id]
,[Fulfillment Line Id]
,[Order Line Id]
,[Quantity]
,[Return Reason]
,[Return Reason Note]
,[Refundable Quantity]
,[Refunded Quantity]
,[Weight Unit]
,[Weight]
,[Discounted Total Amount]
,[Presentment Disc_ Total Amt_]
,[Customer Note]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Shpfy Return Line$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 Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Return Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Header]
ON
[Shpfy Return Line].[Return Id] = [Shpfy Return Header].[Return Id]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Fulfillment Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Fulfillment Line]
ON
[Shpfy Return Line].[Fulfillment Line Id] = [Shpfy Fulfillment Line].[Fulfillment Line Id]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
ON
[Shpfy Return Line].[Order Line Id] = [Shpfy Order Line].[Line Id]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Shpfy Return Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Return Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Shpfy Return Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Shpfy Return Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Return Line Id | Return Line Id | Normal | BigInteger | 8 | Return Line Id | bigint |
2 | Return Id | Return Id | Normal | BigInteger | 8 | Return Id | bigint |
Key to join to the Shpfy Return Header table.Show/hide example querySELECT [Shpfy Return Line].[Return Id] ,[Shpfy Return Header].[Return Id] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [CRONUS UK Ltd_$Shpfy Return Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Header] ON [Shpfy Return Line].[Return Id] = [Shpfy Return Header].[Return Id] | |||||||
3 | Fulfillment Line Id | Fulfillment Line Id | Normal | BigInteger | 8 | Fulfillment Line Id | bigint |
Key to join to the Shpfy Fulfillment Line table.Show/hide example querySELECT [Shpfy Return Line].[Fulfillment Line Id] ,[Shpfy Fulfillment Line].[Fulfillment Line Id] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [CRONUS UK Ltd_$Shpfy Fulfillment Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Fulfillment Line] ON [Shpfy Return Line].[Fulfillment Line Id] = [Shpfy Fulfillment Line].[Fulfillment Line Id] | |||||||
4 | Order Line Id | Order Line Id | Normal | BigInteger | 8 | Order Line Id | bigint |
Key to join to the Shpfy Order Line table.Show/hide example querySELECT [Shpfy Return Line].[Order Line Id] ,[Shpfy Order Line].[Line Id] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line] ON [Shpfy Return Line].[Order Line Id] = [Shpfy Order Line].[Line Id] | |||||||
5 | Quantity | Quantity | Normal | Integer | 4 | Quantity | int |
6 | Return Reason | Return Reason | Normal | Option | 4 | Return Reason | int |
Available options are:
| |||||||
7 | Return Reason Note | Return Reason Note | Normal | BLOB | 8 | Return Reason Note | image |
8 | Refundable Quantity | Refundable Quantity | Normal | Integer | 4 | Refundable Quantity | int |
9 | Refunded Quantity | Refunded Quantity | Normal | Integer | 4 | Refunded Quantity | int |
10 | Weight Unit | Weight Unit | Normal | Code | 20 | Weight Unit | nvarchar(40) |
11 | Weight | Weight | Normal | Decimal | 12 | Weight | decimal(38,38) |
12 | Discounted Total Amount | Discounted Total Amount | Normal | Decimal | 12 | Discounted Total Amount | decimal(38,38) |
13 | Presentment Disc. Total Amt. | Presentment Discounted Total Amount | Normal | Decimal | 12 | Presentment Disc_ Total Amt_ | decimal(38,38) |
14 | Customer Note | Customer Note | Normal | BLOB | 8 | Customer Note | image |
101 | Item No. | Item No. | FlowField | Code | 20 | ||
Key to join to the Item table.Show/hide example querySELECT [Shpfy Return Line].[] ,[Item].[No_] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Shpfy Return Line].[] = [Item].[No_] | |||||||
102 | Description | Description | FlowField | Text | 100 | ||
103 | Variant Code | Variant Code | FlowField | Code | 10 | ||
Key to join to the Item Variant table.Show/hide example querySELECT [Shpfy Return Line].[] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Shpfy Return Line].[] = [Item Variant].[Code] | |||||||
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 Return Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Shpfy Return Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Return Line] LEFT JOIN [User] AS [User] ON [Shpfy Return Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |