Shpfy Inventory Item

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

Table Type: Company

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

Table Number: 30126

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Variant Id]
   ,[Country_Region of Origin]
   ,[Create At]
   ,[History URL]
   ,[Province of Origin]
   ,[Requires Shipping]
   ,[Tracked]
   ,[Tracked Editable]
   ,[Tracked Reason]
   ,[Unit Cost]
   ,[Updated At]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Shpfy Inventory Item$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 Inventory Item$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Inventory Item]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Inventory Item].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Shpfy Inventory Item].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Shpfy Inventory Item table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIdNormalBigInteger8Idbigint
2Variant Id Primary Key SearchVariant IdNormalBigInteger8Variant Idbigint
3Country/Region of Origin SearchCountry/Region of OriginNormalText50Country_Region of Originnvarchar(100)
4Create At SearchCreate AtNormalDateTime8Create Atdatetime
5History URL SearchHistory URLNormalText250History URLnvarchar(500)
6Province of Origin SearchProvince of OriginNormalText50Province of Originnvarchar(100)
7Requires Shipping SearchRequires ShippingNormalBoolean4Requires Shippingtinyint
8Tracked SearchTrackedNormalBoolean4Trackedtinyint
9Tracked Editable SearchTracked EditableNormalBoolean4Tracked Editabletinyint
10Tracked Reason SearchTracked ReasonNormalText100Tracked Reasonnvarchar(200)
11Unit Cost SearchUnit CostNormalDecimal12Unit Costdecimal(38,38)
12Updated At SearchUpdated AtNormalDateTime8Updated Atdatetime
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 Inventory Item].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Shpfy Inventory Item$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Inventory Item]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Shpfy Inventory Item].[$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 *