GPIVTrxAmountsHist

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

Table Type: Company

Table Name: GPIVTrxAmountsHist
Database Table Name:

Table Number: 4039

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 GPIVTrxAmountsHist 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 [GPIVTrxAmountsHist]
LEFT JOIN
   [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
      ON
         [GPIVTrxAmountsHist].[CUSTNMBR] = [Customer].[No_]
LEFT JOIN
   [User] AS [User]
      ON
         [GPIVTrxAmountsHist].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GPIVTrxAmountsHist].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GPIVTrxAmountsHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1TRXSORCE SearchTRX SourceNormalText14
2DOCTYPE SearchDocument TypeNormalOption4
3DOCNUMBR Primary Key SearchDocument NumberNormalText22
4DOCDATE Primary Key SearchDocument DateNormalDate4
5HSTMODUL SearchHistory ModuleNormalText4
6CUSTNMBR SearchCustomer NumberNormalText16
Key to join to the Customer table.

Show/hide example query

SELECT
	       [GPIVTrxAmountsHist].[]
	       ,[Customer].[No_]
	FROM
	       [] AS [GPIVTrxAmountsHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [GPIVTrxAmountsHist].[] = [Customer].[No_]
7ITEMNMBR SearchItem NumberNormalText32
8LNSEQNBR SearchLine SEQ NumberNormalDecimal12
9UOFM Primary Key SearchU Of MNormalText10
10TRXQTY SearchTRX QTYNormalDecimal12
11UNITCOST SearchUnit CostNormalDecimal12
12EXTDCOST SearchExtended CostNormalDecimal12
13TRXLOCTN SearchTRX LocationNormalText12
14TRNSTLOC SearchTransfer To LocationNormalText12
15TRFQTYTY SearchTransfer From QTY TypeNormalOption4
16TRTQTYTY SearchTransfer To QTY TypeNormalOption4
17IVIVINDX SearchIV IV IndexNormalInteger4
18IVIVOFIX SearchIV IV Offset IndexNormalInteger4
19DECPLCUR SearchDecimal Places CurrencyNormalOption4
20DECPLQTY SearchDecimal Places QTYSNormalOption4
21QTYBSUOM SearchQTY In Base U Of MNormalDecimal12
22Reason_Code SearchReason CodeNormalText16
23DEX_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
	       [GPIVTrxAmountsHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPIVTrxAmountsHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPIVTrxAmountsHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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