Shpfy Return Line

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

Table Number: 30141

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Return Line Id Primary Key SearchReturn Line IdNormalBigInteger8Return Line Idbigint
2Return Id SearchReturn IdNormalBigInteger8Return Idbigint
Key to join to the Shpfy Return Header table.

Show/hide example query

SELECT
       [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]
3Fulfillment Line Id SearchFulfillment Line IdNormalBigInteger8Fulfillment Line Idbigint
Key to join to the Shpfy Fulfillment Line table.

Show/hide example query

SELECT
       [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]
4Order Line Id SearchOrder Line IdNormalBigInteger8Order Line Idbigint
Key to join to the Shpfy Order Line table.

Show/hide example query

SELECT
       [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]
5Quantity SearchQuantityNormalInteger4Quantityint
6Return Reason SearchReturn ReasonNormalOption4Return Reasonint
Available options are:
  • ” “
  • “Color”
  • “Defective”
  • “Not as Described”
  • “Other”
  • “Size Too Large”
  • “Size Too Small”
  • “Style”
  • “Unknown”
  • “Unwanted”
  • “Wrong Item”
7Return Reason Note SearchReturn Reason NoteNormalBLOB8Return Reason Noteimage
8Refundable Quantity SearchRefundable QuantityNormalInteger4Refundable Quantityint
9Refunded Quantity SearchRefunded QuantityNormalInteger4Refunded Quantityint
10Weight Unit SearchWeight UnitNormalCode20Weight Unitnvarchar(40)
11Weight SearchWeightNormalDecimal12Weightdecimal(38,38)
12Discounted Total Amount SearchDiscounted Total AmountNormalDecimal12Discounted Total Amountdecimal(38,38)
13Presentment Disc. Total Amt. SearchPresentment Discounted Total AmountNormalDecimal12Presentment Disc_ Total Amt_decimal(38,38)
14Customer Note SearchCustomer NoteNormalBLOB8Customer Noteimage
101Item No. SearchItem No.FlowFieldCode20
102Description SearchDescriptionFlowFieldText100
103Variant Code SearchVariant CodeFlowFieldCode10
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
       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Shpfy Return Line].[$systemModifiedBy]
       ,[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].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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