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 :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 30

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
    237,965 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
    30 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
    237,965 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
    30 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
    237,965 Most Valuable Professional on at

    So what's the problem?

  • @rp@n Profile Picture
    30 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
    237,965 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
    30 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
    30 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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans