GPRMOpen

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

Table Type: Company

Table Name: GPRMOpen
Database Table Name:

Table Number: 4066

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

Show/hide columns in GPRMOpen table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1CUSTNMBR SearchCustomer NumberNormalText16
Key to join to the Customer table.

Show/hide example query

SELECT
	       [GPRMOpen].[]
	       ,[Customer].[No_]
	FROM
	       [] AS [GPRMOpen]
	LEFT JOIN
	       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
	              ON
	                     [GPRMOpen].[] = [Customer].[No_]
2CPRCSTNM Primary Key SearchCorporate Customer NumberNormalText16
3DOCNUMBR SearchDocument NumberNormalText22
4CHEKNMBR Primary Key SearchCheck NumberNormalText22
5BACHNUMB SearchBatch NumberNormalText16
6BCHSOURC SearchBatch SourceNormalText16
7TRXSORCE SearchTRX SourceNormalText14
8RMDTYPAL SearchRM Document Type-AllNormalOption4
9CSHRCTYP Primary Key SearchCash Receipt TypeNormalOption4
10CBKIDCRD SearchCheckbook ID Credit CardNormalText16
11CBKIDCSH SearchCheckbook ID CashNormalText16
12CBKIDCHK SearchCheckbook ID CheckNormalText16
13DUEDATE SearchDue DateNormalDate4
14DOCDATE SearchDocument DateNormalDate4
15POSTDATE SearchPost DateNormalDate4
16PSTUSRID SearchPost User IDNormalText16
17GLPOSTDT SearchGL Posting DateNormalDate4
18LSTEDTDT SearchLast Edit DateNormalDate4
19LSTUSRED SearchLast User to EditNormalText16
20ORTRXAMT SearchOriginal Trx AmountNormalDecimal12
21CURTRXAM SearchCurrent Trx AmountNormalDecimal12
22SLSAMNT SearchSales AmountNormalDecimal12
23COSTAMNT SearchCost AmountNormalDecimal12
24FRTAMNT SearchFreight AmountNormalDecimal12
25MISCAMNT SearchMisc AmountNormalDecimal12
26TAXAMNT SearchTax AmountNormalDecimal12
27COMDLRAM SearchCommission Dollar AmountNormalDecimal12
28CASHAMNT SearchCash AmountNormalDecimal12
29DISTKNAM SearchDiscount Taken AmountNormalDecimal12
30DISAVAMT SearchDiscount Available AmountNormalDecimal12
31DISAVTKN SearchDiscount Available TakenNormalDecimal12
32DISCRTND SearchDiscount ReturnedNormalDecimal12
33DISCDATE SearchDiscount DateNormalDate4
34DSCDLRAM SearchDiscount Dollar AmountNormalDecimal12
35DSCPCTAM SearchDiscount Percent AmountNormalInteger4
36WROFAMNT SearchWrite Off AmountNormalDecimal12
37TRXDSCRN SearchTransaction DescriptionNormalText32
38CSPORNBR SearchCustomer Purchase Order NumberNormalText22
39SLPRSNID SearchSalesperson IDNormalText16
40SLSTERCD SearchSales Territory CodeNormalText16
41DINVPDOF SearchDate Invoice Paid OffNormalDate4
42PPSAMDED SearchPPS Amount DeductedNormalDecimal12
43GSTDSAMT SearchGST Discount AmountNormalDecimal12
44DELETE1 SearchDeleteNormalBoolean4
45AGNGBUKT SearchAging BucketNormalInteger4
46VOIDSTTS SearchVoid StatusNormalOption4
47VOIDDATE SearchVoid DateNormalDate4
48TAXSCHID SearchTax Schedule IDNormalText16
49CURNCYID SearchCurrency IDNormalText16
50PYMTRMID SearchPayment Terms IDNormalText22
51SHIPMTHD SearchShipping MethodNormalText16
52TRDISAMT SearchTrade Discount AmountNormalDecimal12
53SLSCHDID SearchSales Schedule IDNormalText16
54FRTSCHID SearchFreight Schedule IDNormalText16
55MSCSCHID SearchMisc Schedule IDNormalText16
56NOTEINDX SearchNote IndexNormalDecimal12
57Tax_Date SearchTax DateNormalDate4
58APLYWITH SearchApply WithholdingNormalBoolean4
59SALEDATE SearchSale DateNormalDate4
60CORRCTN SearchCorrectionNormalBoolean4
61SIMPLIFD SearchSimplifiedNormalBoolean4
62Electronic SearchElectronicNormalBoolean4
63ECTRX SearchEC TransactionNormalBoolean4
64BKTSLSAM SearchBackout Sales AmountNormalDecimal12
65BKTFRTAM SearchBackout Freight AmountNormalDecimal12
66BKTMSCAM SearchBackout Misc AmountNormalDecimal12
67BackoutTradeDisc SearchBackout Trade Discount AmountNormalDecimal12
68Factoring SearchFactoringNormalBoolean4
69DIRECTDEBIT SearchDirect DebitNormalBoolean4
70ADRSCODE SearchAddress CodeNormalText16
71EFTFLAG SearchEFT FlagNormalBoolean4
72DEX_ROW_TS SearchDEX_ROW_TSNormalDateTime8
73DEX_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
	       [GPRMOpen].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPRMOpen]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPRMOpen].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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