Object Options

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

Table Type: System

Table Name: Object Options
Database Table Name: Object Options

Table Number: 2000000196

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 Object Options can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Object Options]

Show/hide an example select of all columns by name

SELECT
   [Parameter Name]
   ,[Object ID]
   ,[Object Type]
   ,[Company Name]
   ,[User Name]
   ,[Option Data]
   ,[Public Visible]
   ,[Temporary]
   ,[Created By]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Object Options]

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

SELECT
   *
FROM
   [Object Options] AS [Object Options]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Object Options].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Object Options].[Created By] = [User].[User Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Object Options].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Object Options].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Object Options table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Parameter Name SearchParameter NameNormalText50Parameter Namenvarchar(100)
2Object ID Primary Key SearchObject IDNormalInteger4Object IDint
3Object Type Primary Key SearchObject TypeNormalOption4Object Typeint
Available options are:
  • “”
  • “Report”
  • “XMLportPage”
4Company Name Primary Key SearchCompany NameNormalText30Company Namenvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
	       [Object Options].[Company Name]
	       ,[Company].[Name]
	FROM
	       [Object Options] AS [Object Options]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [Object Options].[Company Name] = [Company].[Name]
5User Name Primary Key SearchUser NameNormalCode50User Namenvarchar(100)
6Option Data Primary Key SearchOption DataNormalBLOB8Option Dataimage
7Public Visible SearchPublic VisibleNormalBoolean4Public Visibletinyint
8Temporary SearchTemporaryNormalBoolean4Temporarytinyint
9Created By SearchCreated ByNormalCode50Created Bynvarchar(100)
Key to join to the User table.

Show/hide example query

SELECT
	       [Object Options].[Created By]
	       ,[User].[User Name]
	FROM
	       [Object Options] AS [Object Options]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Object Options].[Created By] = [User].[User Name]
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
	       [Object Options].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Object Options] AS [Object Options]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Object Options].[$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 *