Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5264
Table Type: Company
Table Name: Audit File Export Setup
Database Table Name: CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada
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 Audit File Export Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada]
Show/hide an example select of all columns by name
SELECT
[Primary Key]
,[Audit File Export Format]
,[Standard Account Type]
,[Last Tax Code]
,[Default Post Code]
,[Check Company Information]
,[Check Customer]
,[Check Vendor]
,[Check Bank Account]
,[Check Post Code]
,[Check Address]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Setup]
LEFT JOIN
[User] AS [User]
ON
[Audit File Export Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Audit File Export Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Audit File Export Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Primary Key | Primary Key | Normal | Integer | 4 | Primary Key | int |
2 | Audit File Export Format | Audit File Export Format Code | Normal | Option | 4 | Audit File Export Format | int |
Available options are:
| |||||||
3 | Standard Account Type | Standard Account Type | Normal | Option | 4 | Standard Account Type | int |
Available options are:
| |||||||
10 | Last Tax Code | Last Tax Code | Normal | Integer | 4 | Last Tax Code | int |
11 | Default Post Code | Default ZIP Code | Normal | Code | 20 | Default Post Code | nvarchar(40) |
20 | Check Company Information | Check Company Information | Normal | Boolean | 4 | Check Company Information | tinyint |
21 | Check Customer | Check Customer | Normal | Boolean | 4 | Check Customer | tinyint |
22 | Check Vendor | Check Vendor | Normal | Boolean | 4 | Check Vendor | tinyint |
23 | Check Bank Account | Check Bank Account | Normal | Boolean | 4 | Check Bank Account | tinyint |
24 | Check Post Code | Check ZIP Code | Normal | Boolean | 4 | Check Post Code | tinyint |
25 | Check Address | Check Address | Normal | Boolean | 4 | Check Address | tinyint |
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
[Audit File Export Setup].[$systemCreatedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Setup]
LEFT JOIN
[User] AS [User]
ON
[Audit File Export Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT
[Audit File Export Setup].[$systemModifiedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Audit File Export Setup$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Setup]
LEFT JOIN
[User] AS [User]
ON
[Audit File Export Setup].[$systemModifiedBy] = [User].[User Security ID] |