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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Database trans delete

(0) ShareShare
ReportReport
Posted on by 550
Hello
I try to delete all transaction in D365 F&O 
I am using sysDataBaseTransDelete class to delete transactions.
but it doesn't working.
I'm getting error. 
anybody knows the reason?
////
I have the same question (0)
  • Martin Dráb Profile Picture
    236,958 Most Valuable Professional on at
    Database trans delete
    SysDatabaseTransDelete class is deprecated; it was never tested for and maintained in F&O.
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Database trans delete
    Hi,

    Here is a similar issue that has been verified, please check if it helps.
    https://community.dynamics.com/forums/thread/details/?threadid=85a3bb9f-c0de-4acc-a74d-0cd992ed77e0
    If the above answer does not solve your problem, we recommend you find solutions in the Finance forum.

    Best Regards,
    Dengliang Li
  • André Arnaud de Calavon Profile Picture
    300,088 Super User 2025 Season 2 on at
    Database trans delete
    Hi Davutdal,
     
    In addition to the reply from Martin, what is the use case that you are using this class? If you are aware that the class will not delete all correctly, you can try to follow the suggestion by first finalizing the invoice process and then rerun the class. 
    If this is a production environment, you should NOT use this class at all.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 580 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 554

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans