GP GL20000

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

Table Type: Company

Table Name: GP GL20000
Database Table Name:

Table Number: 41001

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

Show/hide columns in GP GL20000 table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1OPENYEAR SearchOPENYEARNormalInteger4
2JRNENTRY SearchJRNENTRYNormalInteger4
4SOURCDOC SearchSOURCDOCNormalText11
5REFRENCE SearchREFRENCENormalText31
6DSCRIPTN SearchDSCRIPTNNormalText31
7TRXDATE SearchTRXDATENormalDateTime8
8TRXSORCE SearchTRXSORCENormalText13
9ACTINDX SearchACTINDXNormalInteger4
13USWHPSTD SearchUSWHPSTDNormalText15
17SERIES SearchSERIESNormalInteger4
20ORMSTRID SearchORMSTRIDNormalText31
21ORMSTRNM SearchORMSTRNMNormalText65
22ORDOCNUM SearchORDOCNUMNormalText21
24ORTRXSRC SearchORTRXSRCNormalText13
27SEQNUMBR SearchSEQNUMBRNormalInteger4
30CURNCYID SearchCURNCYIDNormalText15
43DEBITAMT SearchDEBITAMTNormalDecimal12
44CRDTAMNT SearchCRDTAMNTNormalDecimal12
45ORDBTAMT SearchORDBTAMTNormalDecimal12
46ORCRDAMT SearchORCRDAMTNormalDecimal12
66DEX_ROW_ID SearchDEX_ROW_IDNormalInteger4
100User_Defined_Text01 Primary Key SearchUser_Defined_Text01NormalText31
101User_Defined_Text02 SearchUser_Defined_Text02NormalText31
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GP GL20000].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP GL20000]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP GL20000].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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