Loading...

How to automatically log changes to a field without setting up Change Log Entries in Business Central

How to automatically log changes to a field without setting up Change Log Entries in Business Central
In Business Central you can set up Change Log Entries to log insert/modify/delete events for all the fields in all the tables. But can you do this automatically in the code without even setting up the Change Log Entry? It is quite easy actually. Lets say we want to log the change every time someone updates Payment Reference on the Posted Purchase Invoice. We would then create a procedure and attach it to the Purch.

Published on:

Learn more
Posts on Microsoft Dynamics 365 Business Central Development
Posts on Microsoft Dynamics 365 Business Central Development

Recent content in Posts on Microsoft Dynamics 365 Business Central Development

Share post:

Related posts

Dynamics 365 Business Central: How to convert Text/Integer to Date (Text/Integer Data type -> Date Data type)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to convert Integer/Text to Date. When developing in ...

4 hours ago

Dynamics 365 Business Central: How to hide the confirmation message (An approval request has been sent) when sending an Approval Request?

Hi, Readers.Today I would like to share another mini tip about Business Central, how to hide the confirmation message (An approval request has...

4 days ago

Dynamics 365 Business Central: AL Object Relations Visualizer (New VS Code extension)

Hi, Readers.Today, I would like to share an interesting VS Code extension I recently came across: AL Object Relations Visualizer.Credit for th...

5 days ago

Dynamics 365 Business Central: A universal method to check if a Field has a value in AL

Hi, Readers.Today I would like to share another mini tip about Business Central, how to check if a Field has a value with a universal method i...

6 days ago

Dynamics 365 Business Central: Comparing Years (Year-Over-Year) in Analysis Mode: A Simple 4-Step Guide

Hi, Readers.Today I would like to share another mini tip about Business Central, how to quickly create a Comparing Years report (Year-Ove...

7 days ago

Dynamics 365 Business Central: Where to find all standard AL namespaces? (Download all AL namespaces)

Hi, Readers.Today I’d like to discuss a question I’ve been asked before, where to find all standard AL namespaces? (Download all A...

11 days ago

Dynamics 365 Business Central: Automatically add extended text for items, general ledger accounts, and resources (Automatic Ext. Texts)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to automatically add extended text.We’ve discu...

12 days ago

Dynamics 365 Business Central: How to convert Month Name (Text) to Month Number (Integer)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to convert Month Name (Text) to Month Number (Intege...

14 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy