Phys. Invt. Count Buffer

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

Table Type: Company

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

Table Number: 5888

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 Phys. Invt. Count Buffer can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Line No_]
   ,[Exp_ Serial No_]
   ,[Exp_ Lot No_]
   ,[Exp_ Qty_ (Base)]
   ,[Rec_ No_]
   ,[Rec_ Line No_]
   ,[Rec_ Serial No_]
   ,[Rec_ Lot No_]
   ,[Rec_ Qty_ (Base)]
   ,[Track_ Serial No_]
   ,[Track_ Lot No_]
   ,[Track_ Qty_ Neg_ (Base)]
   ,[Track_ Qty_ Pos_ (Base)]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Phys_ Invt_ Count Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Phys_ Invt_ Count Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Count Buffer]
LEFT JOIN
   [User] AS [User]
      ON
         [Phys. Invt. Count Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Phys. Invt. Count Buffer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Phys. Invt. Count Buffer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Line No. Primary Key SearchLine No.NormalInteger4Line No_int
10Exp. Serial No. SearchExp. Serial No.NormalCode50Exp_ Serial No_nvarchar(100)
11Exp. Lot No. SearchExp. Lot No.NormalCode50Exp_ Lot No_nvarchar(100)
12Exp. Qty. (Base) SearchExp. Qty. (Base)NormalDecimal12Exp_ Qty_ (Base)decimal(38,38)
20Rec. No. SearchRec. No.NormalInteger4Rec_ No_int
21Rec. Line No. SearchRec. Line No.NormalInteger4Rec_ Line No_int
22Rec. Serial No. SearchRec. Serial No.NormalCode50Rec_ Serial No_nvarchar(100)
23Rec. Lot No. SearchRec. Lot No.NormalCode50Rec_ Lot No_nvarchar(100)
24Rec. Qty. (Base) SearchRec. Qty. (Base)NormalDecimal12Rec_ Qty_ (Base)decimal(38,38)
30Track. Serial No. SearchTrack. Serial No.NormalCode50Track_ Serial No_nvarchar(100)
31Track. Lot No. SearchTrack. Lot No.NormalCode50Track_ Lot No_nvarchar(100)
32Track. Qty. Neg. (Base) SearchTrack. Qty. Neg. (Base)NormalDecimal12Track_ Qty_ Neg_ (Base)decimal(38,38)
33Track. Qty. Pos. (Base) SearchTrack. Qty. Pos. (Base)NormalDecimal12Track_ Qty_ Pos_ (Base)decimal(38,38)
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
       [Phys. Invt. Count Buffer].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Phys_ Invt_ Count Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Count Buffer]
LEFT JOIN
       [User] AS [User]
              ON
                     [Phys. Invt. Count Buffer].[$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
       [Phys. Invt. Count Buffer].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Phys_ Invt_ Count Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Count Buffer]
LEFT JOIN
       [User] AS [User]
              ON
                     [Phys. Invt. Count Buffer].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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