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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

How to delete all transaction in Legal entity in D365FO

(0) ShareShare
ReportReport
Posted on by 567

How to delete all transaction in Legal entity in D365FO?

Can we make copy of sysdatabasetransdelete?

I have the same question (0)
  • Suggested answer
    Sumit Loya Profile Picture
    2,230 on at

    There is a standard class and it also has delegates for both global and and company specific trans tables. You can make use of those to add your own custom transaction tables.

  • huijij Profile Picture
    19,811 on at
  • Udit Profile Picture
    567 on at

    Deleting records table wise will be too risky and data flows to multiple tables.

    Also posted data deletion will throw error.

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at

    SysDatabaseTransDelete is marked as obsolete in Dynamics365.

    This class was NEVER maintained for Dynamics365 so does not result in a valid database. Do NOT use it.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,095 Super User 2025 Season 2 on at

    I'm with Joris here. At least do not use it in a production environment or golden configuration environment which will be used at go-live.

  • Rogerio da Costa Profile Picture
    26 on at

    Is there any replacement for this class in D365 or would the guidance be to setup a new empty legal entity if clearing transactions is ever needed?

  • André Arnaud de Calavon Profile Picture
    301,095 Super User 2025 Season 2 on at

    Hi Rogerio,

    There is no replacement for the class. You can indeed consider creating a new legal entity. Can you tell your reason for this requirement?

  • Ravi Kumar Desu Profile Picture
    80 on at

    I agree with others on this thread not to take short cuts with this. But why you would like to delete all the transactions first place?

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans