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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to capture log files when user delete the record from Master form

(0) ShareShare
ReportReport
Posted on by 56

Dear All,

Could you please let me know how to capture log files when user delete the record from Master form.

Please give me more shed on this.

Thanks!

Arpan Sen

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,140 Most Valuable Professional on at

    The answer is the same as in your other thread, Database log files store for new table - configure database logging.

  • @rp@n Profile Picture
    56 on at

    Thanks Martin,

    Can you please explain me how to set up "my particular table" for capturing log?

    Please let me know the steps.

    Thanks!

    Arpan Sen

  • Martin Dráb Profile Picture
    239,140 Most Valuable Professional on at

    I can't, because you didn't tell us what "your particular table" is and what problem you have with configuring database logging for it. You must do your part before anybody can help you.

  • @rp@n Profile Picture
    56 on at

    This is my customized table. That is master table. "Allowance / Deduction master.

    I want to store log for this particular table when any thing happened on this like Insert, delete, update.

    Please give me more shed on this.

    Thanks!

    Arpan Sen

  • Martin Dráb Profile Picture
    239,140 Most Valuable Professional on at

    So what's the problem?

  • @rp@n Profile Picture
    56 on at

    Problem is that we don't know who (User) deleted the records from table.

    This is customer requirement.

    When user trying to do any thing like delete, insert etc on this table then we want to capture Userid and date time as log file.

    Please give me more shed on this .

    Arpan Sen

  • Martin Dráb Profile Picture
    239,140 Most Valuable Professional on at

    That's what database logging is for. Please look at the link I gave you in the first reply. I thought already understand it, as you marked the answer thread as answered a few months ago.

    If you have some problem with the setup, you'll have to tell us what it is. You still haven't done it.

  • @rp@n Profile Picture
    56 on at

    Is there any properties need to set in table to capture log in database?

    Arpan

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    No. Just read the article and absorb the information stated there. It is a very simple configuration.

    The logging itself is triggered by the kernel transparently whenever there is an insert/update/delete for the record or fields of your choice, and it is calling \Classes\Application\log* methods to write it in the SysDatabaseLog table.

  • @rp@n Profile Picture
    56 on at

    Thanks Vilmos,

    Now it's done

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans