How to Enable Database Logging for “Do Not Allow Manual Entry” Field on the Main Account Form

For system audit purposes, companies often need to track changes in specific fields to ensure accountability. In D365 Finance, database logging can be enabled for certain tables and fields to achieve this. However, it’s crucial to consider the potential performance issues that may arise from tracking high-volume changes. For more information on Database logging and performance considerations, review Microsoft’s official documentation for guidance.

While most fields are straightforward to set up for database logging, one particularly important field for system auditing is the “Do not allow manual entry” field on the Main account form (General ledger > Chart of accounts > Accounts > Main accounts).

Although this field appears on the Main Account form, it is actually stored in the DimensionAttributeValue table, not in the MainAccount table.

To set up Database logging, navigate to System administration > Setup > Database log > Database log setup.

Click on “+New” to setup the field for database logging.

On the “Tables and fields” page, check the box for “Show all tables“. Then, expand the “General ledger” selection. Within that, locate and expand the “Dimension code” selection. You will find a field for “IsBlockedForManualEntry“. Check this box and proceed by clicking Next, where you will choose “Update” as the type of change for this field.

On the Database log setup page, you will now see that the table name “Dimension code” and the field name “Do not allow manual entry” has been added with the type of change set to “Update.”

To review Database log, navigate to System administration >  Inquiries > Database > Database log. Since the Database log does not allow filtering by Table name, you will have to filter by Table ID instead. To get the Table ID, navigate to the Database log setup page, right-click on the field headers to insert the “Table ID” column. Once you have the Table ID for the “Dimension code” table, return to the Database log page and filter by the Reference table ID.

The “History tab” will show the details on what and when the field was updated.

Leave a comment

I’m Cyndi

Welcome to D365 Deep Dive, a place where I share all my insights and knowledge about Dynamics 365 Finance (and maybe occasionally some Supply Chain Management stuff).

I’ve worked in all three different channels throughout my career in D365 – Partner, Microsoft, End User. I’ve seen many different use cases and user perspectives from both the external and internal viewpoints.

Join me as we explore the latest features and innovative solutions that D365 Finance has to offer. Let’s dive deep into the world of finance and technology together!

Credentials

  • Dynamics 365: Finance and Operations Apps Solution Architect Expert – Since Oct 2020
  • Dynamics 365 Finance Functional Consultant Associate – Since Aug 2019
  • Dynamics 365 Supply Chain Management Functional Consultant Associate – Since Apr 2020
  • Power Platform Solution Architect Expert – Since Jun 2021
  • Power Platform Functional Consultant Associate – Since Feb 2021
  • Dynamics 365 Customer Service Functional Consultant Associate – Since Jul 2022
  • Power BI Data Analyst Associate – Since Oct 2021
  • Dynamics 365 Fundamentals – Since Nov 2020

Let’s connect

Other Articles

Something went wrong. Please refresh the page and/or try again.