Audit File Export Setup

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

Table Number: 5264

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalInteger4Primary Keyint
2Audit File Export Format SearchAudit File Export Format CodeNormalOption4Audit File Export Formatint
Available options are:
  • “None”
3Standard Account Type SearchStandard Account TypeNormalOption4Standard Account Typeint
Available options are:
  • “None”
10Last Tax Code SearchLast Tax CodeNormalInteger4Last Tax Codeint
11Default Post Code SearchDefault ZIP CodeNormalCode20Default Post Codenvarchar(40)
20Check Company Information SearchCheck Company InformationNormalBoolean4Check Company Informationtinyint
21Check Customer SearchCheck CustomerNormalBoolean4Check Customertinyint
22Check Vendor SearchCheck VendorNormalBoolean4Check Vendortinyint
23Check Bank Account SearchCheck Bank AccountNormalBoolean4Check Bank Accounttinyint
24Check Post Code SearchCheck ZIP CodeNormalBoolean4Check Post Codetinyint
25Check Address SearchCheck AddressNormalBoolean4Check Addresstinyint
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
       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [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]

Leave a Reply

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