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 Blog Series: Integrate with Microsoft Dataverse

There are currently three methods available:1. Using the standard Dataverse connector (The synchronization between Dataverse and Business Cent...

14 hours ago

Dynamics 365 Business Central Blog Series: Adding Barcodes

Articles in this series: Use one-dimensional barcodes in reports Use one-dimensional barcodes in reports (Business Central online) Using 2D ba...

14 hours ago

Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs

Hi, Readers.The barcode functionality lets you convert an alphanumeric value in a report dataset into a barcode on a generated report. The fun...

3 days ago

Dynamics 365 Business Central: Automatically enable Allow HttpClient Requests after custom extension/app installation

Hi, Readers.Last week we briefly discussed how to set Allow HttpClient Requests for multiple extensions (selected extensions) at the same time...

4 days ago

Dynamics 365 Business Central: How to bulk import marketing text to items – Customization

Hi, Readers.Today I would like to talk about how to import marketing text to items in Business Central. This is an interesting question I saw ...

5 days ago

Dynamics 365 Business Central: How to bulk import big/large text (length exceeds 250 and 2048) from external files via AL

Hi, Readers.Today I’d like to talk about a question I’ve been asked recently, how to bulk import big/large text (length exceeds 25...

6 days ago

Dynamics 365 Business Central: How to note the records that the user has selected on the Subpage/Lines (Page.SetSelectionFilter in part)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to note the records that the user has selected on the Sub...

7 days ago

Dynamics 365 Business Central: How to set Allow HttpClient Requests for multiple extensions (selected extensions) at the same time

Hi, Readers.Today I would like to talk about a question I saw this morning in the Business Central forums, how to set Allow HttpClient Request...

11 days ago

Dynamics 365 Business Central: How to change Due Date of posted documents

Hi, Readers.Today I would like to share another mini tip in Business Central, how to change Due Date of posted documents. Due date in Business...

12 days ago

Dynamics 365 Business Central: How to preview Word (.docx) in web client without downloading (No control add-in and APIs)

Hi, Readers.Today I would like to discuss an interesting topic, how to preview Word (.docx) in web client without downloading (No control...

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