Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/9650
Table Type: System
Table Name: Custom Report Layout
Database Table Name:
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 Custom Report Layout 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 [Custom Report Layout]
LEFT JOIN
[Company] AS [Company]
ON
[Custom Report Layout].[Company Name] = [Company].[Name]
LEFT JOIN
[User] AS [User]
ON
[Custom Report Layout].[Last Modified By User] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Custom Report Layout].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Custom Report Layout].[SystemModifiedBy] = [User].[User Security ID]