Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
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,831 Moderator 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,863 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,863 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans