Shpfy Order Line

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

Table Type: Company

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

Table Number: 30119

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Shopify Order Id]
   ,[Line Id]
   ,[Shopify Product Id]
   ,[Description]
   ,[Quantity]
   ,[Unit Price]
   ,[Discount Amount]
   ,[Shopify Variant Id]
   ,[Variant Description]
   ,[Fulfillment Service]
   ,[Taxable]
   ,[Gift Card]
   ,[Product Exists]
   ,[Fulfillable Quantity]
   ,[Tip]
   ,[Location Id]
   ,[Presentment Unit Price]
   ,[Presentment Discount Amount]
   ,[Item No_]
   ,[Variant Code]
   ,[Unit of Measure Code]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Order 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 Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Shpfy Order Line].[Location Id] = [Location].[$systemId]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Shpfy Order Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Order Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Order Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Order Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Shopify Order Id SearchShopify Order IdNormalBigInteger8Shopify Order Idbigint
2Line Id Primary Key SearchLine IdNormalBigInteger8Line Idbigint
3Shopify Product Id Primary Key SearchShopify Product IdNormalBigInteger8Shopify Product Idbigint
4Description SearchDescriptionNormalText100Descriptionnvarchar(200)
5Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
6Unit Price SearchUnit PriceNormalDecimal12Unit Pricedecimal(38,38)
7Discount Amount SearchDiscount AmountNormalDecimal12Discount Amountdecimal(38,38)
8Shopify Variant Id SearchShopify Variant IdNormalBigInteger8Shopify Variant Idbigint
9Variant Description SearchVariant DescriptionNormalText50Variant Descriptionnvarchar(100)
11Fulfillment Service SearchFulfillment ServiceNormalText100Fulfillment Servicenvarchar(200)
12Taxable SearchTaxableNormalBoolean4Taxabletinyint
13Gift Card SearchGift CardNormalBoolean4Gift Cardtinyint
14Product Exists SearchProduct ExistsNormalBoolean4Product Existstinyint
15Fulfillable Quantity SearchFulfillable QuantityNormalDecimal12Fulfillable Quantitydecimal(38,38)
16Tip SearchTipNormalBoolean4Tiptinyint
17Location Id SearchLocation IdNormalBigInteger8Location Idbigint
Key to join to the Location table.

Show/hide example query

SELECT
	       [Shpfy Order Line].[Location Id]
	       ,[Location].[$systemId]
	FROM
	       [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
	              ON
	                     [Shpfy Order Line].[Location Id] = [Location].[$systemId]
18Presentment Unit Price SearchPresentment Unit PriceNormalDecimal12Presentment Unit Pricedecimal(38,38)
19Presentment Discount Amount SearchPresentment Discount AmountNormalDecimal12Presentment Discount Amountdecimal(38,38)
1000Item No. SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [Shpfy Order Line].[Item No_]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Shpfy Order Line].[Item No_] = [Item].[No_]
1001Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [Shpfy Order Line].[Variant Code]
	       ,[Item Variant].[Code]
	FROM
	       [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
	              ON
	                     [Shpfy Order Line].[Variant Code] = [Item Variant].[Code]
1002Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
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 Order Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Shpfy Order Line$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Shpfy Order Line].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Shpfy Order Line table

Leave a Reply

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