Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000230
Table Type: System
Table Name: Page Usage State
Database Table Name: Page Usage State
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 Page Usage State can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Page Usage State]
Show/hide an example select of all columns by name
SELECT
[User ID]
,[Page ID]
,[Page Type]
,[Tour Dismissed]
,[Tour Completed]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Page Usage State]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Page Usage State] AS [Page Usage State]
LEFT JOIN
[User] AS [User]
ON
[Page Usage State].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Page Usage State].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Page Usage State table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | User ID | User ID | Normal | GUID | 16 | User ID | uniqueidentifier |
2 | Page ID | Object ID | Normal | Integer | 4 | Page ID | int |
3 | Page Type | Object Type | Normal | Option | 4 | Page Type | int |
Available options are:
| |||||||
4 | Tour Dismissed | Tour Dismissed | Normal | Boolean | 4 | Tour Dismissed | tinyint |
5 | Tour Completed | Tour Completed | Normal | Boolean | 4 | Tour Completed | tinyint |
6 | System Tour Completed | System Tour Completed | Normal | Boolean | 4 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Page Usage State].[$systemCreatedBy] ,[User].[User Security ID] FROM [Page Usage State] AS [Page Usage State] LEFT JOIN [User] AS [User] ON [Page Usage State].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |