GP PM20000

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

Table Type: Company

Table Name: GP PM20000
Database Table Name:

Table Number: 40129

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

Show/hide columns in GP PM20000 table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1VCHRNMBR SearchVCHRNMBRNormalText21
2VENDORID Primary Key SearchVENDORIDNormalText15
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [GP PM20000].[]
	       ,[Vendor].[No_]
	FROM
	       [] AS [GP PM20000]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [GP PM20000].[] = [Vendor].[No_]
3DOCTYPE SearchDOCTYPENormalInteger4
4DOCDATE Primary Key SearchDOCDATENormalDate4
5DOCNUMBR SearchDOCNUMBRNormalText21
6DOCAMNT SearchDOCAMNTNormalDecimal12
7CURTRXAM SearchCURTRXAMNormalDecimal12
8DISTKNAM SearchDISTKNAMNormalDecimal12
11BACHNUMB SearchBACHNUMBNormalText15
12TRXSORCE SearchTRXSORCENormalText13
13BCHSOURC SearchBCHSOURCNormalText15
15DUEDATE SearchDUEDATENormalDate4
16PORDNMBR SearchPORDNMBRNormalText21
17TEN99AMNT SearchTEN99AMNTNormalDecimal12
18WROFAMNT SearchWROFAMNTNormalDecimal12
20TRXDSCRN SearchTRXDSCRNNormalText31
25VOIDED SearchVOIDEDNormalBoolean4
28DINVPDOF SearchDINVPDOFNormalDateTime8
33POSTEDDT SearchPOSTEDDTNormalDateTime8
34PTDUSRID SearchPTDUSRIDNormalText15
40TRDISAMT SearchTRDISAMTNormalDecimal12
41MSCCHAMT SearchMSCCHAMTNormalDecimal12
42FRTAMNT SearchFRTAMNTNormalDecimal12
43TAXAMNT SearchTAXAMNTNormalDecimal12
44TTLPYMTS SearchTTLPYMTSNormalDecimal12
45CURNCYID SearchCURNCYIDNormalText15
46PYMTRMID SearchPYMTRMIDNormalText21
47SHIPMTHD SearchSHIPMTHDNormalText15
73TEN99TYPE SearchTEN99TYPENormalInteger4
74TEN99BOXNUMBER SearchTEN99BOXNUMBERNormalInteger4
75PONUMBER SearchPONUMBERNormalText17
80DEX_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
	       [GP PM20000].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP PM20000]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP PM20000].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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