Shpfy Refund Line

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/30145

Table Type: Company

Table Name: Shpfy Refund Line
Database Table Name: CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb

Table Number: 30145

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 Refund Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb]

Show/hide an example select of all columns by name

SELECT
   [Refund Line Id]
   ,[Refund Id]
   ,[Order Line Id]
   ,[Quantity]
   ,[Restock Type]
   ,[Restocked]
   ,[Amount]
   ,[Presentment Amount]
   ,[Subtotal Amount]
   ,[Presentment Subtotal Amount]
   ,[Total Tax Amount]
   ,[Presentment Total Tax Amount]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Refund 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 Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Line]
LEFT JOIN
   [CRONUS UK Ltd_$Shpfy Refund Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Header]
      ON
         [Shpfy Refund Line].[Refund Id] = [Shpfy Refund Header].[Refund Id]
LEFT JOIN
   [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
      ON
         [Shpfy Refund 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 Refund Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Refund Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Refund Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Refund Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Refund Line Id Primary Key SearchRefund Line IdNormalBigInteger8Refund Line Idbigint
2Refund Id Primary Key SearchRefund IdNormalBigInteger8Refund Idbigint
Key to join to the Shpfy Refund Header table.

Show/hide example query

SELECT
       [Shpfy Refund Line].[Refund Id]
       ,[Shpfy Refund Header].[Refund Id]
FROM
       [CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Line]
LEFT JOIN
       [CRONUS UK Ltd_$Shpfy Refund Header$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Header]
              ON
                     [Shpfy Refund Line].[Refund Id] = [Shpfy Refund Header].[Refund Id]
3Order Line Id SearchOrder Line IdNormalBigInteger8Order Line Idbigint
Key to join to the Shpfy Order Line table.

Show/hide example query

SELECT
       [Shpfy Refund Line].[Order Line Id]
       ,[Shpfy Order Line].[Line Id]
FROM
       [CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Line]
LEFT JOIN
       [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
              ON
                     [Shpfy Refund Line].[Order Line Id] = [Shpfy Order Line].[Line Id]
4Quantity SearchQuantityNormalInteger4Quantityint
5Restock Type SearchRestock TypeNormalOption4Restock Typeint
Available options are:
  • ” “
  • “Cancel”
  • “Legacy Restock”
  • “No Restock”
  • “Return”
6Restocked SearchRestockedNormalBoolean4Restockedtinyint
7Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
8Presentment Amount SearchPresentment AmountNormalDecimal12Presentment Amountdecimal(38,38)
9Subtotal Amount SearchSubtotal AmountNormalDecimal12Subtotal Amountdecimal(38,38)
10Presentment Subtotal Amount SearchPresentment Subtotal AmountNormalDecimal12Presentment Subtotal Amountdecimal(38,38)
11Total Tax Amount SearchTotal Tax AmountNormalDecimal12Total Tax Amountdecimal(38,38)
12Presentment Total Tax Amount SearchPresentment Total Tax AmountNormalDecimal12Presentment Total Tax Amountdecimal(38,38)
101Item No. SearchItem No.FlowFieldCode20
102Description SearchDescriptionFlowFieldText100
103Variant Code SearchVariant CodeFlowFieldCode10
104Gift Card SearchGift CardFlowFieldBoolean4
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 Refund Line].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Shpfy Refund 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 Refund Line].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Shpfy Refund Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Refund Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Shpfy Refund Line].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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