GPIVLotAttributeHist

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

Table Type: Company

Table Name: GPIVLotAttributeHist
Database Table Name:

Table Number: 4081

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

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [GPIVLotAttributeHist]
LEFT JOIN
   [User] AS [User]
      ON
         [GPIVLotAttributeHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPIVLotAttributeHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPIVLotAttributeHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1IVDOCTYP SearchIV Document TypeNormalOption4
2DOCNUMBR Primary Key SearchDocument NumberNormalText22
3LNSEQNBR Primary Key SearchLine SEQ NumberNormalDecimal12
4SLTSQNUM Primary Key SearchSerial/Lot SEQ NumberNormalInteger4
5LOTATRB1 Primary Key SearchLot Attribute 1NormalText12
6LOTATRB2 SearchLot Attribute 2NormalText12
7LOTATRB3 SearchLot Attribute 3NormalText12
8LOTATRB4 SearchLot Attribute 4NormalDate4
9LOTATRB5 SearchLot Attribute 5NormalDate4
10DEX_ROW_ID SearchDEX_ROW_IDNormalInteger4
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GPIVLotAttributeHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPIVLotAttributeHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPIVLotAttributeHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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