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

Delete Sales Agreements after Delete Database transactions (sysDatabaseTransDelete Class) Ax

(0) ShareShare
ReportReport
Posted on by 46

Hello Everyone,

I have just use the SysDatabaseTransDelete to delete all transactions. but some Sales Release orders still remains,

When I try to delete a SalesAgreement , It says that a Sales order is Attached

pastedimage1584351303888v1.png

When I go to the SalesTable & SalesLine tables there is only the active one that I have created after the transDelete

pastedimage1584351532478v2.png

You know wich other Table could by referencing this Sales Agreement?

I have the same question (0)
  • HenryXie Profile Picture
    on at
    RE: Delete Sales Agreements after Delete Database transactions (sysDatabaseTransDelete Class) Ax

    Hi CNNestor,

    you can double click the warning message then go to where the message popup out, then debug to figure out which relation logic.

  • Suggested answer
    CBNestor Profile Picture
    46 on at
    RE: Delete Sales Agreements after Delete Database transactions (sysDatabaseTransDelete Class) Ax

    At last I found the Answer.

    After Applying the SysDatabaseTransDelete , Many Sales Agreement Will Remain. First Delete any Release order manually and as final step:

    Open the AgreementReleaseHeaderMatch Table and delete All releated records in that table (all records would be best)

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,004

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 548 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans