Who changed the posting setup? Tracing setup changes with the Business Central change log
The call usually starts the same way: “Sales are posting to the wrong account since Tuesday.” Nobody remembers changing anything. In Business Central, that mystery is solvable, but only if the change log was watching the right tables before Tuesday. The change log tracks all direct modifications a user makes to data in the database: you specify each table and field you want to log, activate the log, and the resulting entries sit on the Change Log Entries page in chronological order, each showing what changed, who changed it, and when. This guide does two jobs: set logging scope deliberately for a retailer's posting setup, then work an incident from symptom to the exact setup change behind it.
Set the trap before you need it: logging scope for retail setup
Setup lives on the Change Log Setup page: turn the log on there, and use the Tables action to specify which tables to track and which changes to track. (Business Central also tracks several system tables on its own.) The craft is in the scope. Microsoft publishes a list of finance setup tables as audit examples, the tables behind most retail posting surprises are in it:
| Audit target | Table | Table ID | Why a retailer logs it |
|---|---|---|---|
| G/L Account | G/L Account | 15 | A changed posting account or a blocked account reroutes or breaks store postings |
| Payment Terms | Payment Terms | 3 | Due-date and discount behaviour on vendor and customer documents |
| Payment Method | Payment Method | 289 | How payments balance, a quiet change here moves money between accounts |
| Customer Posting Group | Customer Posting Group | 92 | Receivables and sales-side posting destinations |
| Vendor Posting Group | Vendor Posting Group | 93 | Payables posting destinations for purchasing |
| Inventory Posting Group | Inventory Posting Group | 94 | With Inventory Posting Setup, decides which inventory account a store's stock value uses |
| Gen. Product Posting Group | Gen. Product Posting Group | 251 | Half of the general posting setup combination that picks sales and cost accounts |
| Financial reporting definitions | Report Definition / Row Definition / Column Definition | 88 / 84 / 333 | A changed report definition changes the numbers without changing a single posting |
For a setup table that isn't on any list, an LS Retail table, for instance, use page inspection on the page that shows the data to find the corresponding table name and ID, then add that table in Change Log Setup. Just as important is what to leave out, because tracking has a price:
| Choice | Verdict | Reason |
|---|---|---|
| Log setup tables, Some Fields, the fields that carry accounts and behaviour | Log this | Small volume, high value: setup changes are rare and each one matters |
| Log ledger entries and posted documents | Don't | Microsoft's guidance is explicit: don't add ledger entries and posted documents to the change log. Volume explodes and the entries duplicate what ledgers already record |
| All Fields tracking type on any busy table | Don't | Microsoft advises against All Fields; choose Some Fields and track only the most important fields, tracking affects performance and increases database size |
| Field monitoring on a handful of sensitive fields | Consider alongside | Monitored fields log the field, original and new values, who changed them and when, and can notify by email in near-real time instead of waiting for someone to go looking |
Two activation details catch people out. Changes display in Change Log Entries only after the user's session is restarted, the session expired and refreshed, the user selected another company or Role Center, or they signed out and in again. And the change log is turned off during a Business Central version upgrade for performance, then starts tracking again when the upgrade completes: changes made mid-upgrade are simply not in the log.
Work an incident: from wrong posting to the change that caused it
- Fix the symptom's start date. From the wrong postings themselves, find the first entry with the wrong account. That timestamp is your search window's opening edge, setup changes before it are innocent.
- Open Change Log Entries and filter to the window. Filter Date and Time to the window, and Table Caption to the posting setup tables you log (posting groups, G/L Account, and the general posting setup's tables as scoped in your setup).
- Read the candidate entries. Each entry gives you the user, the field, the Type of Change (insert, modification, deletion), and the Old Value and New Value. The smoking gun is a modification whose New Value is the account the postings started using.
- Confirm with the primary key. The Primary Key Value fields identify which record changed, which posting group, which combination, so you can open that exact setup record and see its current state.
- Use analysis mode for the wide view. On Change Log Entries, turn on analysis mode, group rows by User ID, and show Date and Time, Table Caption, Field Caption, Primary Key Values, Type of Change, Old Value and New Value. Microsoft's own name for this tab is the whole question: “Who changed what data, and when.” A second useful grouping is by table and field, to see all changes to one setup area regardless of user.
- Decide: revert, or ratify? If the change was a mistake, restore the Old Value and then deal with the postings made while it stood, as the Elian example puts it, if the wrong G/L account is selected in a setup, all transactions that reference that setup post to the wrong account, potentially dozens or hundreds of entries. If the change was deliberate but unannounced, the fix is communication, not configuration.
When the log has no answer (and what to do next time)
An empty result is information too. Work the possibilities in order: the table or field was never added to Change Log Setup (logging only exists for what you specified in advance, there is no retroactive log); the change happened during an upgrade window, when the log is off; or the change was made so recently that the user's session hasn't restarted and the entries aren't displayed yet. Each cause has the same remedy, applied now: widen the scope to the table this incident needed, and note the gap. For the one or two fields where “next time” is too late, a bank account number, a posting account, set up field monitoring instead, so the notification arrives when the change happens. After adding fields and starting monitoring, you must sign out and sign in again to apply the settings.
Keeping the log usable: retention and restraint
A change log nobody can search is a cost without a benefit: tracking increases database size, and entries accumulate forever unless you prune them. Retention policies are the pruning tool, create one to delete unneeded log entries after a period you specify, with filters based on dates and time, so the log keeps the recent, relevant history and sheds the rest. Pair retention with the scope restraint above: log the setup tables that decide where money posts, on Some Fields, and let the ledgers speak for transactions.
What success looks like
- Change Log Setup is active, scoped to posting setup and finance setup tables, using Some Fields, and someone can say why each table is there.
- A “who changed this?” question is answered from Change Log Entries in minutes: user, timestamp, field, old value, new value, and the exact record from its primary key.
- Ledger entries and posted documents are not in the logging scope, and All Fields is used nowhere.
- A retention policy bounds the log's growth, and the fields that would hurt most carry field monitoring with a named person notified.
FAQ
Does Business Central track who changed a record?
Yes, if the change log was set up for that table and field beforehand. Entries show the
user, date and time, table and field, type of change, and the old and new values.
Why is a change missing from Change Log Entries?
The usual causes: the table wasn't in the logging scope, the change was made during a
version upgrade (the log is off during upgrades), or the user's session hasn't
restarted yet, entries display only after a session restart.
Should you turn on the change log for all tables?
No. Microsoft advises caution in choosing tables and operations, warns that tracking
affects performance and database size, and specifically advises against ledger entries,
posted documents and the All Fields type. Log setup deliberately instead.