Dynamics NAV Sleuthing: Change Log

By Sean Solberg | August 29, 2018

Dynamics nav sleuthing: change log

In the previous entry of this series, Dynamics NAV Sleuthing: Navigating Record Information, we covered the various ways one might investigate the source of a posted entry and a very basic way to see the last date a master record might have been changed. However, the most powerful tool for identifying changes to non-posted information is the Change Log.

The Change Log in Dynamics NAV allows us to identify which tables or fields are important to track and what specifically to track about each one. Unfortunately, the Change Log is not turned on by default in a NAV database. If it was not activated during or since your original implementation, you can quickly activate it at any time. Doing so has virtually no ramifications until you define which tables are logged. Search for Change Log Setup and check the box.

NAV Change Log

Once the change log is active, we can assign tables to it. From Change Log Setup, select the “Tables” option from the ribbon.

From this (admittedly long) list of tables, you can specifically select those you wish to log. For starters, I always recommend that all setup tables are fully logged (Log Modification, All Fields).

For each table, you define if logging is active for inserts, modifications and/or deletions. Within each of the three categories, you can also select “All Fields” or “Some Fields”. For relatively small or low volume tables, “All Fields” is the best and most efficient approach. For tables with higher volume, you should consider a more prudent approach of “Some Fields” to limit the size of the log history and any potential impact on performance.

NAV Change Log

When “Some Fields” is selected as an option, the Assist-Edit button to the right of the field is also available (the button with the three dots). Using the Assist-Edit button, you are then able to select the specific fields to be logged.

NAV Change Log

Once the Change Log has been activated for a table, all future inserts, modifications, and deletes to that table will be recorded (once individual users log out of NAV and back in) – per the definition you provided in the setup. To see history, you are able to open the “Change Log Entries” page by searching or navigating from the Departments menu.

NAV Change Log

The image above illustrates the change log entries for a customer record where the name was changed and a phone number was added.

Final Thoughts

  • Start conservatively. If the table or field is high use or very unlikely to be important enough to investigate, do not include it. For the tables you do include, try adding just the critical fields and review the change log after a week. Then increase the fields as needed.
  • Only include posted tables or high-use document tables if they are necessary. These will cause the log to grow very quickly. For investigations of posted transactions, it is much better to start with the tools described in part 1 of this series: Dynamics NAV Sleuthing: Navigating Record Information
  • Get comfortable searching the Change Log Entries page. The view can be unwieldy at first and you will find it much more useful once you have had some practice using it.
  • Periodically use the “Delete Change Log Entries” option in NAV to remove older log records – once it is unlikely that period will likely not need to be revisited. The tool allows for filtering, so you can more surgically specify which log history to purge.
  • If you have any more questions about Dynamics NAV Sleuthing: Change Log, contact us at Stoneridge Software

Related Posts

Recommended Reading:

5.27.22 Dynamics GP

How to Run Drop Ship Sales in Dynamics GP

Need to Invoice the Customer before you get the invoice from the vendor? This The freight forwarder has contacted you […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Protecting G/L Accounts From Being Deleted

There are a lot of exciting New Features in Dynamics 365 Business Central 2022 Wave 1 Release to get excited […]

Read the Article
5.25.22 Financials

Rounding Numbers in Power Automate

  If you’ve ever tried to round numbers in Power Automate, you have probably already run into the issue there […]

Read the Article

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!