GPIVTrxHist

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

Table Type: Company

Table Name: GPIVTrxHist
Database Table Name:

Table Number: 4052

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

Show/hide columns in GPIVTrxHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1TRXSORCE SearchTRX SourceNormalText14
2IVDOCTYP Primary Key SearchIV Document TypeNormalOption4
3DOCNUMBR Primary Key SearchDocument NumberNormalText22
4DOCDATE Primary Key SearchDocument DateNormalDate4
5BCHSOURC SearchBatch SourceNormalText16
6BACHNUMB SearchBatch NumberNormalText16
7NOTEINDX SearchNote IndexNormalDecimal12
8GLPOSTDT SearchGL Posting DateNormalDate4
9SRCRFRNCNMBR SearchSource Reference NumberNormalText32
10SOURCEINDICATOR SearchSource IndicatorNormalOption4
11DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
12DEX_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
	       [GPIVTrxHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPIVTrxHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPIVTrxHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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