GPSOPSerialLotWorkHist

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

Table Type: Company

Table Name: GPSOPSerialLotWorkHist
Database Table Name:

Table Number: 4074

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 GPSOPSerialLotWorkHist 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 [GPSOPSerialLotWorkHist]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPSerialLotWorkHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPSOPSerialLotWorkHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPSOPSerialLotWorkHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1SOPTYPE SearchSOP TypeNormalOption4
2SOPNUMBE Primary Key SearchSOP NumberNormalText22
3LNITMSEQ Primary Key SearchLine Item SequenceNormalInteger4
4CMPNTSEQ Primary Key SearchComponent SequenceNormalInteger4
5QTYTYPE Primary Key SearchQTY TypeNormalOption4
6SERLTNUM Primary Key SearchSerial/Lot NumberNormalText22
7SERLTQTY SearchSerial/Lot QTYNormalDecimal12
8SLTSQNUM SearchSerial/Lot SEQ NumberNormalInteger4
9DATERECD Primary Key SearchDate ReceivedNormalDate4
10DTSEQNUM SearchDate SEQ NumberNormalDecimal12
11UNITCOST SearchUnit CostNormalDecimal12
12ITEMNMBR SearchItem NumberNormalText32
13TRXSORCE SearchTRX SourceNormalText14
14POSTED SearchPostedNormalBoolean4
15OVRSERLT SearchOverride Serial/LotNormalInteger4
16BIN SearchBinNormalText16
17MFGDATE SearchManufacture DateNormalDate4
18EXPNDATE SearchExpiration DateNormalDate4
19DEX_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
	       [GPSOPSerialLotWorkHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPSOPSerialLotWorkHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPSOPSerialLotWorkHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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