Pstd. Phys. Invt. Tracking

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

Table Type: Company

Table Name: Pstd. Phys. Invt. Tracking
Database Table Name: CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5884

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 Pstd. Phys. Invt. Tracking can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Item Tracking No_]
   ,[Line No_]
   ,[Document No_]
   ,[Item No_]
   ,[Description]
   ,[Location Code]
   ,[Quantity]
   ,[Serial No_]
   ,[Positive]
   ,[Warranty Date]
   ,[Expiration Date]
   ,[Lot No_]
   ,[Variant Code]
   ,[Bin Code]
   ,[Entry Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Pstd. Phys. Invt. Tracking].[Location Code] = [Location].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Pstd. Phys. Invt. Tracking].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
      ON
         [Pstd. Phys. Invt. Tracking].[Bin Code] = [Bin].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Pstd. Phys. Invt. Tracking].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Pstd. Phys. Invt. Tracking].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Pstd. Phys. Invt. Tracking table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Item Tracking No. SearchItem Tracking No.NormalInteger4Item Tracking No_int
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Document No. Primary Key SearchDocument No.NormalCode20Document No_nvarchar(40)
11Item No. Primary Key SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [Pstd. Phys. Invt. Tracking].[Item No_]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Pstd. Phys. Invt. Tracking].[Item No_] = [Item].[No_]
12Description SearchDescriptionNormalText100Descriptionnvarchar(200)
13Location Code SearchLocation CodeNormalCode10Location Codenvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
	       [Pstd. Phys. Invt. Tracking].[Location Code]
	       ,[Location].[Code]
	FROM
	       [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
	LEFT JOIN
	       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
	              ON
	                     [Pstd. Phys. Invt. Tracking].[Location Code] = [Location].[Code]
14Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
15Serial No. SearchSerial No.NormalCode50Serial No_nvarchar(100)
18Positive SearchPositiveNormalBoolean4Positivetinyint
19Warranty Date SearchWarranty DateNormalDate4Warranty Datedatetime
20Expiration Date SearchExpiration DateNormalDate4Expiration Datedatetime
5400Lot No. SearchLot No.NormalCode50Lot No_nvarchar(100)
5401Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [Pstd. Phys. Invt. Tracking].[Variant Code]
	       ,[Item Variant].[Code]
	FROM
	       [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
	              ON
	                     [Pstd. Phys. Invt. Tracking].[Variant Code] = [Item Variant].[Code]
5402Bin Code SearchBin CodeNormalCode20Bin Codenvarchar(40)
Key to join to the Bin table.

Show/hide example query

SELECT
	       [Pstd. Phys. Invt. Tracking].[Bin Code]
	       ,[Bin].[Code]
	FROM
	       [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
	LEFT JOIN
	       [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
	              ON
	                     [Pstd. Phys. Invt. Tracking].[Bin Code] = [Bin].[Code]
5403Entry Type SearchEntry TypeNormalOption4Entry Typeint
Available options are:
  • ” “
  • “Positive Adjmt.”
  • “Negative Adjmt.”
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
	       [Pstd. Phys. Invt. Tracking].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Pstd_ Phys_ Invt_ Tracking$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Pstd. Phys. Invt. Tracking]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Pstd. Phys. Invt. Tracking].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Pstd. Phys. Invt. Tracking table

Leave a Reply

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