web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Database logging not showing fields changed values

(0) ShareShare
ReportReport
Posted on by

I have two dynamic 365 finance and operation environments, sandbox and devbox.

I setup database logging from application in staging environment for Sales order line(SalesLine) table field: Unit quantity(SalesQty). I changed the qty on the line of on of the sales order. The history tab on the database log form showed that the same sales order line was changed but it doesn't show the old value for the sales quantity.

I did the same in dev box but unlike sandbox it showed me the old value for the sales quantity along with new value. So I debug the code and found out that the values are stored in SysDatabaseLog table and following query showed that that the values are there but not showing in Staging while same values are showing in dev box.

select l.DESCRIPTION, l.NEWDATA, l.DATAAREAID from SysDatabaseLog l
    inner join TABLEIDTABLE t on t.ID = l.TABLE_
        where t.NAME = 'SalesLine'

The NewData field on SysDatabaseLog table is a container field which simply populates a list object and show it in FormListViewContro of the SysDatabaseLog form.

I think that there is something different at sql server level but don't know why. Both VMs have similar database and is on same version 10.0.17. I see the trigger is created in SalesLine table.

Any idea what's being done wrong here?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi AR01,

    If you don't have customizations and the VMs are on the same version (as you mentioned), I would suggest to log a ticket for Microsoft Support.

  • Community Member Profile Picture
    on at

    No, there is no customization.

  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi AR01,

    Like suggested above, contact Microsoft Support for some assistance. It might be a bug.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans