GPPMHist

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

Table Type: Company

Table Name: GPPMHist
Database Table Name:

Table Number: 4053

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

Show/hide columns in GPPMHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1VCHRNMBR SearchVoucher NumberNormalText22
2VENDORID Primary Key SearchVendor IDNormalText16
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [GPPMHist].[]
	       ,[Vendor].[No_]
	FROM
	       [] AS [GPPMHist]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [GPPMHist].[] = [Vendor].[No_]
3DOCTYPE SearchDocument TypeNormalOption4
4DOCDATE Primary Key SearchDocument DateNormalDate4
5DOCNUMBR SearchDocument NumberNormalText22
6DOCAMNT SearchDocument AmountNormalDecimal12
7CURTRXAM SearchCurrent Trx AmountNormalDecimal12
8DISTKNAM SearchDiscount Taken AmountNormalDecimal12
9DISCAMNT SearchDiscount AmountNormalDecimal12
10DSCDLRAM SearchDiscount Dollar AmountNormalDecimal12
11BACHNUMB SearchBatch NumberNormalText16
12TRXSORCE SearchTRX SourceNormalText14
13BCHSOURC SearchBatch SourceNormalText16
14DISCDATE SearchDiscount DateNormalDate4
15DUEDATE SearchDue DateNormalDate4
16PORDNMBR SearchPurchase Order NumberNormalText22
17TEN99AMNT Search1099 AmountNormalDecimal12
18WROFAMNT SearchWrite Off AmountNormalDecimal12
19DISAMTAV SearchDiscount Amount AvailableNormalDecimal12
20TRXDSCRN SearchTransaction DescriptionNormalText32
21UN1099AM SearchUnapplied 1099 AmountNormalDecimal12
22BKTPURAM SearchBackout Purchases AmountNormalDecimal12
23BKTFRTAM SearchBackout Freight AmountNormalDecimal12
24BKTMSCAM SearchBackout Misc AmountNormalDecimal12
25VOIDED SearchVoidedNormalBoolean4
26HOLD SearchHoldNormalBoolean4
27CHEKBKID SearchCheckbook IDNormalText16
28DINVPDOF SearchDate Invoice Paid OffNormalDate4
29PPSAMDED SearchPPS Amount DeductedNormalDecimal12
30PPSTAXRT SearchPPS Tax RateNormalInteger4
31PGRAMSBJ SearchPercent Of Gross Amount SubjectNormalInteger4
32GSTDSAMT SearchGST Discount AmountNormalDecimal12
33POSTEDDT SearchPosted DateNormalDate4
34PTDUSRID SearchPosted User IDNormalText16
35MODIFDT SearchModified DateNormalDate4
36MDFUSRID SearchModified User IDNormalText16
37PYENTTYP SearchPayment Entry TypeNormalOption4
38CARDNAME SearchCard NameNormalText16
39PRCHAMNT SearchPurchases AmountNormalDecimal12
40TRDISAMT SearchTrade Discount AmountNormalDecimal12
41MSCCHAMT SearchMisc Charges AmountNormalDecimal12
42FRTAMNT SearchFreight AmountNormalDecimal12
43TAXAMNT SearchTax AmountNormalDecimal12
44TTLPYMTS SearchTotal PaymentsNormalDecimal12
45CURNCYID SearchCurrency IDNormalText16
46PYMTRMID SearchPayment Terms IDNormalText22
47SHIPMTHD SearchShipping MethodNormalText16
48TAXSCHID SearchTax Schedule IDNormalText16
49PCHSCHID SearchPurchase Schedule IDNormalText16
50FRTSCHID SearchFreight Schedule IDNormalText16
51MSCSCHID SearchMisc Schedule IDNormalText16
52PSTGDATE SearchPosting DateNormalDate4
53DISAVTKN SearchDiscount Available TakenNormalDecimal12
54CNTRLTYP SearchControl TypeNormalInteger4
55NOTEINDX SearchNote IndexNormalDecimal12
56PRCTDISC SearchPercent DiscountNormalInteger4
57RETNAGAM SearchRetainage AmountNormalDecimal12
58VOIDPDATE SearchVoid GL Posting DateNormalDate4
59ICTRX SearchIC TRXNormalBoolean4
60Tax_Date SearchTax DateNormalDate4
61PRCHDATE SearchPurchase DateNormalDate4
62CORRCTN SearchCorrectionNormalBoolean4
63SIMPLIFD SearchSimplifiedNormalBoolean4
64APLYWITH SearchApply WithholdingNormalBoolean4
65Electronic SearchElectronicNormalBoolean4
66ECTRX SearchEC TransactionNormalBoolean4
67DocPrinted SearchDocPrintedNormalBoolean4
68TaxInvReqd SearchTax Invoice RequiredNormalBoolean4
69VNDCHKNM SearchVendor Check NameNormalText66
70BackoutTradeDisc SearchBackout Trade Discount AmountNormalDecimal12
71CBVAT SearchCash Based TaxNormalBoolean4
72VADCDTRO SearchVendor Address Code – Remit ToNormalText16
73TEN99TYPE Search1099 TypeNormalOption4
74TEN99BOXNUMBER Search1099 Box NumberNormalInteger4
75PONUMBER SearchPO NumberNormalText18
76Workflow_Status SearchWorkflow StatusNormalOption4
77InvoiceReceiptDate SearchInvoice Receipt DateNormalDate4
78DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
79DEX_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
	       [GPPMHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPPMHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPPMHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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