Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1875
Table Type: System
Table Name: Business Setup
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 Business Setup 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 [Business Setup]
LEFT JOIN
[CRONUS UK Ltd_$Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Area]
ON
[Business Setup].[Area] = [Area].[Code]
LEFT JOIN
[User] AS [User]
ON
[Business Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Business Setup].[SystemModifiedBy] = [User].[User Security ID]