Audit File Export Line

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

Table Type: Company

Table Name: Audit File Export Line
Database Table Name: CRONUS UK Ltd_$Audit File Export Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada

Table Number: 5266

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Audit File Export Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Line No_]
   ,[Task ID]
   ,[Progress]
   ,[Status]
   ,[Data Class]
   ,[Description]
   ,[No_ Of Attempts]
   ,[Starting Date]
   ,[Ending Date]
   ,[Audit File Name]
   ,[Audit File Content]
   ,[Server Instance ID]
   ,[Session ID]
   ,[Created Date_Time]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Audit File Export Line$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 Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Line]
LEFT JOIN
   [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
      ON
         [Audit File Export Line].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
   [User] AS [User]
      ON
         [Audit File Export Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Audit File Export Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Audit File Export Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchIDNormalInteger4IDint
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Task ID Primary Key SearchTask IDNormalGUID16Task IDuniqueidentifier
4Progress SearchProgressNormalInteger4Progressint
5Status SearchStatusNormalOption4Statusint
Available options are:
  • “Not Started”
  • “In Progress”
  • “Failed”
  • “Completed”
6Data Class SearchData ClassNormalOption4Data Classint
Available options are:
  • “None”
  • “MasterData”
  • “GeneralLedgerEntries”
  • “SourceDocuments”
  • “Custom”
7Description SearchDescriptionNormalText250Descriptionnvarchar(500)
8No. Of Attempts SearchNo. Of RetriesNormalInteger4No_ Of Attemptsint
10Starting Date SearchStarting DateNormalDate4Starting Datedatetime
11Ending Date SearchEnding DateNormalDate4Ending Datedatetime
Key to join to the Inventory Period table.

Show/hide example query

SELECT
	       [Audit File Export Line].[Ending Date]
	       ,[Inventory Period].[Ending Date]
	FROM
	       [CRONUS UK Ltd_$Audit File Export Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Line]
	LEFT JOIN
	       [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
	              ON
	                     [Audit File Export Line].[Ending Date] = [Inventory Period].[Ending Date]
20Audit File Name SearchAudit File NameNormalText1024Audit File Namenvarchar(2048)
21Audit File Content SearchAudit File ContentNormalBLOB8Audit File Contentimage
30Server Instance ID SearchServer Instance IDNormalInteger4Server Instance IDint
Key to join to the Server Instance table.

Show/hide example query

SELECT
	       [Audit File Export Line].[Server Instance ID]
	       ,[Server Instance].[Server Instance ID]
	FROM
	       [CRONUS UK Ltd_$Audit File Export Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Line]
	LEFT JOIN
	       [] AS [Server Instance]
	              ON
	                     [Audit File Export Line].[Server Instance ID] = [Server Instance].[Server Instance ID]
31Session ID SearchSession IDNormalInteger4Session IDint
32Created Date/Time SearchCreated Date/TimeNormalDateTime8Created Date_Timedatetime
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 Line].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Audit File Export Line$a41b0c3e-bf1c-4c97-ad1b-b430a3933ada] AS [Audit File Export Line]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Audit File Export Line].[$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 *