Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Identifying if a sales order was deleted and by whom

Posted on by 10

Hello, Is there a SQL table that maintains recorders of sales orders that have been deleted and by whom?

Thanks

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: Identifying if a sales order was deleted and by whom

    Or use GP Power Tools to create some code to track changes.

    For example:

    winthropdc.wordpress.com/.../

    winthropdc.wordpress.com/.../

    winthropdc.wordpress.com/.../

  • Joseph Markovich Profile Picture
    Joseph Markovich 3,900 on at
    RE: Identifying if a sales order was deleted and by whom

    Actually, one more option I just remembered:

    Write a trigger on the SOP10100 table that will track deletes and save it to a new table in the GP database you've created.

    One caveat with this:

    Any upgrade that modifies the SOP10100 table -- your trigger will be gone and you'll have to recreate it.

    Joe

  • Suggested answer
    Joseph Markovich Profile Picture
    Joseph Markovich 3,900 on at
    RE: Identifying if a sales order was deleted and by whom

    Hi Gilbert, there's two options:

    1) Turn on the activity tracking in GP. Administration > Setup > Activity Tracking. Change the activity type drop-down to File Tracking. Then check "Deletions to Trx files." Then you'll have to go through the list of users underneath and check the Activate checkbox for each company listed you want to track.

    The report is very basic -- date, username, transaction number showing it was deleted.

    If you add users in the future, this is not automatically turned on by default, so you'll have to remember to turn on this tracking on for users.

    One caveat about this for sales orders: when sales transactions are moved from the work to history tables, this is also considered a delete and will be logged on the report.

    Not ideal.

    2) Look into a third-party auditing solution like Rockton Software's Auditor or FastPath's Audit Trail. These give you options that allow you much more detailed control on the auditing setup. These also work somewhat independently of GP, so if other systems that are interacting with the GP data do something to transactions, these tools can report on that too.

    I hope this helps.

    Joe

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans