User Default Style Sheet

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

Table Type: System

Table Name: User Default Style Sheet
Database Table Name: User Default Style Sheet

Table Number: 2000000067

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 User Default Style Sheet can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [User Default Style Sheet]

Show/hide an example select of all columns by name

SELECT
   [User ID]
   ,[Object Type]
   ,[Object ID]
   ,[Program ID]
   ,[Style Sheet ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [User Default Style Sheet]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [User Default Style Sheet] AS [User Default Style Sheet]
LEFT JOIN
   [User] AS [User]
      ON
         [User Default Style Sheet].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Default Style Sheet].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in User Default Style Sheet table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1User ID SearchUser IDNormalGUID16User IDuniqueidentifier
2Object Type Primary Key SearchObject TypeNormalOption4Object Typeint
Available options are:
  • “”
  • “Report”
  • “Page”
3Object ID Primary Key SearchObject IDNormalInteger4Object IDint
4Program ID Primary Key SearchProgram IDNormalGUID16Program IDuniqueidentifier
5Style Sheet ID Primary Key SearchStyle Sheet IDNormalGUID16Style Sheet IDuniqueidentifier
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [User Default Style Sheet].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [User Default Style Sheet] AS [User Default Style Sheet]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Default Style Sheet].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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