GPSOPUserDefinedWorkHist

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

Table Type: Company

Table Name: GPSOPUserDefinedWorkHist
Database Table Name:

Table Number: 4079

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

Show/hide columns in GPSOPUserDefinedWorkHist table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1SOPTYPE SearchSOP TypeNormalOption4
2SOPNUMBE Primary Key SearchSOP NumberNormalText22
3USRDAT01 Primary Key SearchUser Defined Date 1NormalDate4
4USRDAT02 SearchUser Defined Date 2NormalDate4
5USRTAB01 SearchUser Defined Table 1NormalText22
6USRTAB09 SearchUser Defined Table 2NormalText22
7USRTAB03 SearchUser Defined Table 3NormalText22
8USERDEF1 SearchUser Defined 1NormalText22
9USERDEF2 SearchUser Defined 2NormalText22
10USRDEF03 SearchUser Defined 3NormalText22
11USRDEF04 SearchUser Defined 4NormalText22
12USRDEF05 SearchUser Defined 5NormalText22
13COMMENT_1 SearchCommentNormalText52
14COMMENT_2 SearchCommentNormalText52
15COMMENT_3 SearchCommentNormalText52
16COMMENT_4 SearchCommentNormalText52
17DEX_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
	       [GPSOPUserDefinedWorkHist].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GPSOPUserDefinedWorkHist]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GPSOPUserDefinedWorkHist].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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