Activity Log

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

Table Type: Company

Table Name: Activity Log
Database Table Name: CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972$ext

Table Number: 710

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Record ID]
   ,[Activity Date]
   ,[User ID]
   ,[Status]
   ,[Context]
   ,[Description]
   ,[Activity Message]
   ,[Detailed Info]
   ,[Table No Filter]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Activity Log]
LEFT JOIN
   [User] AS [User]
      ON
         [Activity Log].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Activity Log].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Activity Log table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID Primary Key SearchIDNormalInteger4IDint
2Record ID SearchRecord IDNormalRecordID448Record IDvarbinary(448)
3Activity Date SearchActivity DateNormalDateTime8Activity Datedatetime
4User ID SearchUser IDNormalCode50User IDnvarchar(100)
5Status SearchStatusNormalOption4Statusint
Available options are:
  • “Success”
  • “Failed”
6Context SearchContextNormalText30Contextnvarchar(60)
10Description SearchDescriptionNormalText250Descriptionnvarchar(500)
20Activity Message SearchActivity MessageNormalText250Activity Messagenvarchar(500)
21Detailed Info SearchDetailed InfoNormalBLOB8Detailed Infoimage
22Table No Filter SearchTable No FilterNormalInteger4Table No Filterint
20100AMC Bank WebLog Status SearchStatusNormalOption4
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
       [Activity Log].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Activity Log]
LEFT JOIN
       [User] AS [User]
              ON
                     [Activity Log].[$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
       [Activity Log].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Activity Log$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Activity Log]
LEFT JOIN
       [User] AS [User]
              ON
                     [Activity Log].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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