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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | Integer | 4 | ID | int |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Task ID | Task ID | Normal | GUID | 16 | Task ID | uniqueidentifier |
4 | Progress | Progress | Normal | Integer | 4 | Progress | int |
5 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
6 | Data Class | Data Class | Normal | Option | 4 | Data Class | int |
Available options are:
| |||||||
7 | Description | Description | Normal | Text | 250 | Description | nvarchar(500) |
8 | No. Of Attempts | No. Of Retries | Normal | Integer | 4 | No_ Of Attempts | int |
10 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
11 | Ending Date | Ending Date | Normal | Date | 4 | Ending Date | datetime |
Key to join to the Inventory Period table.Show/hide example querySELECT [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] | |||||||
20 | Audit File Name | Audit File Name | Normal | Text | 1024 | Audit File Name | nvarchar(2048) |
21 | Audit File Content | Audit File Content | Normal | BLOB | 8 | Audit File Content | image |
30 | Server Instance ID | Server Instance ID | Normal | Integer | 4 | Server Instance ID | int |
Key to join to the Server Instance table.Show/hide example querySELECT [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] | |||||||
31 | Session ID | Session ID | Normal | Integer | 4 | Session ID | int |
32 | Created Date/Time | Created Date/Time | Normal | DateTime | 8 | Created Date_Time | datetime |
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 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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |