Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Does DB logging works when records are manipulated via code?

(0) ShareShare
ReportReport
Posted on by 2

Hi,

We have created an upload journal function using csv. The DB logging is turned on for that table and when records are inserted manually the DB log store those changes. But when we use the custom upload functionality there is no record of it the log table. So anyone has idea if the logs are stored when records are inserted via code?

Thanks.

*This post is locked for comments

  • Verified answer
    Martin Dráb Profile Picture
    233,710 Most Valuable Professional on at
    RE: Does DB logging works when records are manipulated via code?

    Yes, database logging works for changes from code as well, although it can be suppressed when needed (data imports are an example of when skipping the log may be useful).

  • dynamics developer Profile Picture
    2 on at
    RE: Does DB logging works when records are manipulated via code?

    Hi Ludwig,

    It's General Journal. The import functionality is provided to the users through the client interface so they can select a file to upload. The actual upload is of course through ax code.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Does DB logging works when records are manipulated via code?

    Hi Haris Adil,

    What table do you refer to and does your import job import the data through the AX client user interface or do you import the data directly into the table?

    Best regards,

    Ludwig

  • dynamics developer Profile Picture
    2 on at
    RE: Does DB logging works when records are manipulated via code?

    No issue, I will later turn on DB logging for a table in my test environment and check this.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans