Shpfy Payment Transaction

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

Table Type: Company

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

Table Number: 30124

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 Payment Transaction can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Type]
   ,[Test]
   ,[Payout Id]
   ,[Currency]
   ,[Amount]
   ,[Fee]
   ,[Net Amount]
   ,[Source Id]
   ,[Source Type]
   ,[Source Order Transaction Id]
   ,[Source Order Id]
   ,[Processed At]
   ,[Shop Code]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Payment 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 Payment Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Payment Transaction]
LEFT JOIN
   [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
      ON
         [Shpfy Payment Transaction].[Shop Code] = [Shpfy Shop].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Payment Transaction].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Payment Transaction].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Payment Transaction table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIdNormalBigInteger8Idbigint
2Type Primary Key SearchTypeNormalOption4Typeint
Available options are:
  • “Unknown”
  • “Charge”
  • “Refund”
  • “Dispute”
  • “Reserve”
  • “Adjustment”
  • “Credit”
  • “Debit”
  • “Payout”
  • “Payout Failure”
  • “Payout Cancellation”
  • “Payment Refund”
3Test SearchTestNormalBoolean4Testtinyint
4Payout Id SearchPayout IdNormalBigInteger8Payout Idbigint
5Currency SearchCurrencyNormalCode10Currencynvarchar(20)
6Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
7Fee SearchFeeNormalDecimal12Feedecimal(38,38)
8Net Amount SearchNet AmountNormalDecimal12Net Amountdecimal(38,38)
9Source Id SearchSource IdNormalBigInteger8Source Idbigint
10Source Type SearchSource TypeNormalOption4Source Typeint
Available options are:
  • “Unknown”
  • “Charge”
  • “Refund”
  • “Dispute”
  • “Reserve”
  • “Adjustment”
  • “Credit”
  • “Debit”
  • “Payout”
  • “Payout Failure”
  • “Payout Cancellation”
  • “Payment Refund”
11Source Order Transaction Id SearchSource Order Transaction IdNormalBigInteger8Source Order Transaction Idbigint
12Source Order Id SearchSource Order IdNormalBigInteger8Source Order Idbigint
13Processed At SearchProcessed AtNormalDateTime8Processed Atdatetime
101Shop Code SearchShop CodeNormalCode20Shop Codenvarchar(40)
Key to join to the Shpfy Shop table.

Show/hide example query

SELECT
	       [Shpfy Payment Transaction].[Shop Code]
	       ,[Shpfy Shop].[Code]
	FROM
	       [CRONUS UK Ltd_$Shpfy Payment Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Payment Transaction]
	LEFT JOIN
	       [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
	              ON
	                     [Shpfy Payment Transaction].[Shop Code] = [Shpfy Shop].[Code]
102Invoice No. SearchInvoice No.FlowFieldCode20
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 Payment Transaction].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Shpfy Payment Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Payment Transaction]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Shpfy Payment Transaction].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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