Skip to main content

Microsoft Dynamics Nav 2016 and the Change Log

Microsoft Dynamics NAV 2016 and the Change Log

As a Dynamics NAV user, you may need to identify who and when someone has modified a Field Value. For example, if you want to record all changes in the Allowed Posting Dates field within in the General Ledger Setup, using the Change Log is ideal. While you can use the Roles and Permissions tool, this only allows for controlling who can make the changes, it does not record which user changed it and when. With the Change Log, we can log the Insert Modify and Delete operation in the whole table or selected Fields to record any changes.

Activating the Change Log in Dynamics NAV

To activate the Change Log navigate to Departments/Administration/IT Administration/Tasks, under General select Change Log Setup. From there set Change Log Activated to TRUE.
Microsoft Dynamics NAV 2016 Change Log Setup
Figure 1 - Enable Change Log in Dynamics NAV 2016
Now from the Action Tab, select Tables. This will open the Change Log Setup (Table) List. Select the tables for which you want to activate the Change Log. And, select the appropriate fields. Please note that if you select All Fields, a log entry will be created whenever any data element in a table changes. If you select Some Fields, a log entry will be created whenever any data element in a selected Table field changes. Using Assist Edit you can select the fields that you want to use to Track Changes.
Microsoft Dynamics NAV 2016 Change Log Setup Table List
Figure 2 - Change Log Setup Table List with Change Log for All Fields
Microsoft Dynamics NAV 2016 Change Log Setup Table List with Change Log for Selected fields
Figure 3 - Change Log Setup Table List with Change Log for Selected Fields in Dynamics NAV 2016
Once you have setup all tables that you want to change the Log for, you then need to reopen the NAV Client to the Change Log to start recording changes.

View Change Log Entries

To view the Change Log entries, navigate to Departments/Administration/IT Administration/General/Change Log Entries. From here you can find log entries for the tables which you have configured in setup. Each entry will contain primary keys (only first 3 primary keys in a table), type of change, old value, and new value of a field, date, and time of log.

Best Practices for Change Log Setup

Some best practices for setting up and using the Change Log include:
  1. Don’t setup Change Log for all tables and all fields in table. While it is very easy to setup, it will have huge impact on database size as each event from each user will be logged.
  2. Try to keep Change Log on selected fields of setups that impact your business, again to help manage the size of the database.
  3. Don’t setup Change Log on transaction tables like Sales Header and Line, Item Journal Line, or on Ledger tables like Item Ledger Entries or General Ledger Entries.
  4. Setup Change Log for setup Tables, and if you want it on transaction tables, then activate the Change Log for selected fields only.
If you have any questions about this function or other Dynamics NAV questions for any version,contact Okello Dan.

Comments

Popular posts from this blog

Quick Fix Visual Studio displaying NAV Report Layout as XML

I got this issue with Visual Studio 2015 Enterprise Edition.  Every time I open a Dynamics NAV report layout in Visual Studio, RDLC is rendered as XML file instead of visual layout with all the fields and tool boxes.  How the report layout looks:  FIX : In order to fix the issue you need to install  "Microsoft SQL Server Data Tools" .  To install "Microsoft SQL Server Data Tools" you need to go to  Control Panel   ->  Programs and Features  - >  Microsoft Visual Studio <Edition>  -> Change Or you can re run the installation setup.  From the features list, enable "Microsoft SQL Server Data Tools" option and proceed.  Once the installation is completed you are good to go. This time report layout will open in correct design layout.  Hope this helps you to resolve the issue. happy designing.  Please provide your feedback with a comment.  Thank you and Regards, +256775120005 ...

The Difference Between Microsoft Dynamics NAV and AX

The Difference Between Microsoft Dynamics NAV and AX Microsoft Dynamics offers a variety of ERP solutions. You might say there is a solution for every purpose and every industry. Two of the offerings,  Dynamics NAV  and  Dynamics AX (now part of  Dynamics 365 ) share some of the same features so you might wonder: ‘what are the differences and which is right for my organization?’ Both ERP solutions are highly customizable, available in and adaptable to many languages and currencies used around the world. The two solutions can also be employed in a central location or across diverse satellite locations and are designed to grow as a business grows. Their industry-specific functionality can assure compliance with local and regional requirements. In short, both solutions could rightly be described as comprehensive and well equipped to manage complex requirements of supply chain and inventory. So, what is the difference? Is one better than the other for your...

Office 365 integration in a Dynamics NAV hosting environment

Office 365 integration in a Dynamics NAV hosting environment We from the Microsoft Dynamics NAV support team (Microsoft CSS) see an increasing number of support cases coming in related to Office 365 integration in a hosting environment. This range from the relatively new Edit in Excel feature or the relatively new Outlook Business Inbox to the more familiar Office 365 Single Sign On functionality. This blog post is intended to help you to first discuss the requirements with your customer, it may also help you to understand the difficulties. It should be relatively easy to implement these capabiltities, but since there are so many external components that require different configuration setup, we may end up in high labor intense support cases where we need to put all pieces together. This blog post will hopefully serve as a guide where we summarize all relevant documentation that is out there. Finally, we will showcase a typical environment with several Azure AD’s amo...