Shpfy Variant

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

Table Type: Company

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

Table Number: 30129

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Product Id]
   ,[Created At]
   ,[Updated At]
   ,[Available For Sales]
   ,[Barcode]
   ,[Compare at Price]
   ,[Display Name]
   ,[Inventory Policy]
   ,[Position]
   ,[Price]
   ,[SKU]
   ,[Tax Code]
   ,[Taxable]
   ,[Title]
   ,[Weight]
   ,[Option 1 Name]
   ,[Option 1 Value]
   ,[Option 2 Name]
   ,[Option 2 Value]
   ,[Option 3 Name]
   ,[Option 3 Value]
   ,[Unit Cost]
   ,[Image Id]
   ,[Shop Code]
   ,[Last Updated by BC]
   ,[UoM Option Id]
   ,[Mapped By Item]
   ,[Image Hash]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Variant$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 Variant$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Variant]
LEFT JOIN
   [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
      ON
         [Shpfy Variant].[Shop Code] = [Shpfy Shop].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Shpfy Variant].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Variant].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Variant].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Variant table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id Primary Key SearchIdNormalBigInteger8Idbigint
2Product Id SearchProductIdNormalBigInteger8Product Idbigint
3Created At SearchCreatedAtNormalDateTime8Created Atdatetime
4Updated At SearchUpdated AtNormalDateTime8Updated Atdatetime
5Available For Sales SearchAvailable For SalesNormalBoolean4Available For Salestinyint
6Barcode SearchBarcodeNormalText50Barcodenvarchar(100)
7Compare at Price SearchCompare at PriceNormalDecimal12Compare at Pricedecimal(38,38)
8Display Name SearchDisplay NameNormalText250Display Namenvarchar(500)
9Inventory Policy SearchInventory PolicyNormalOption4Inventory Policyint
Available options are:
  • “DENY”
  • “CONTINUE”
10Position SearchPositionNormalInteger4Positionint
11Price SearchPriceNormalDecimal12Pricedecimal(38,38)
12SKU SearchSKUNormalText50SKUnvarchar(100)
13Tax Code SearchTax CodeNormalCode20Tax Codenvarchar(40)
14Taxable SearchTaxableNormalBoolean4Taxabletinyint
15Title SearchTitleNormalText100Titlenvarchar(200)
16Weight SearchWeightNormalDecimal12Weightdecimal(38,38)
17Option 1 Name SearchOption 1 NameNormalText50Option 1 Namenvarchar(100)
18Option 1 Value SearchOption 1 ValueNormalText50Option 1 Valuenvarchar(100)
19Option 2 Name SearchOption 2 NameNormalText50Option 2 Namenvarchar(100)
20Option 2 Value SearchOption 2 ValueNormalText50Option 2 Valuenvarchar(100)
21Option 3 Name SearchOption 3 NameNormalText50Option 3 Namenvarchar(100)
22Option 3 Value SearchOption 3 ValueNormalText50Option 3 Valuenvarchar(100)
23Unit Cost SearchUnit CostNormalDecimal12Unit Costdecimal(38,38)
24Image Id SearchImage IdNormalBigInteger8Image Idbigint
100Shop Code SearchShop CodeNormalCode20Shop Codenvarchar(40)
Key to join to the Shpfy Shop table.

Show/hide example query

SELECT
       [Shpfy Variant].[Shop Code]
       ,[Shpfy Shop].[Code]
FROM
       [CRONUS UK Ltd_$Shpfy Variant$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Variant]
LEFT JOIN
       [CRONUS UK Ltd_$Shpfy Shop$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Shop]
              ON
                     [Shpfy Variant].[Shop Code] = [Shpfy Shop].[Code]
101Item SystemId SearchItem SystemIdNormalGUID16
102Item Variant SystemId SearchItem Variant SystemIdNormalGUID16
103Last Updated by BC SearchLast Updated by BCNormalDateTime8Last Updated by BCdatetime
104Item No. SearchItem No.FlowFieldCode20
105Variant Code SearchVariant No.FlowFieldCode10
106UoM Option Id SearchUoM Option IdNormalInteger4UoM Option Idint
107Mapped By Item SearchMapped By ItemNormalBoolean4Mapped By Itemtinyint
108Image Hash SearchImage HashNormalInteger4Image Hashint
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 Variant].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Shpfy Variant$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Variant]
LEFT JOIN
       [User] AS [User]
              ON
                     [Shpfy Variant].[$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 Variant].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Shpfy Variant$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Variant]
LEFT JOIN
       [User] AS [User]
              ON
                     [Shpfy Variant].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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