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, ...
Answered

Deleting a company can't proceed because there are batch jobs with tasks that belong to different companies, manually delete them to continue

(0) ShareShare
ReportReport
Posted on by 2,459

I am trying to delete a legal entity from the system (D365 F&O) , that does not have any transactions, and it is giving me the error "Deleting a company can't proceed because there are batch jobs with tasks that belong to different companies, manually delete them to continue"

I have deleted all the batch jobs linked to that company, and cleared the cache using:

Refresh data caches (particularly interesting to run after imports through data management): .../?&mi=SysClassRunner&cls=SysFlushData

Clear system caches: .../?&mi=SysClassRunner&cls=SysDataCacheSystemCacheFlushController

Is there a another step that i am missing?

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Deleting a company can't proceed because there are batch jobs with tasks that belong to different companies, manually delete them to continue

    moved to the d365 forum

  • Verified answer
    André Arnaud de Calavon Profile Picture
    299,397 Super User 2025 Season 2 on at
    RE: Deleting a company can't proceed because there are batch jobs with tasks that belong to different companies, manually delete them to continue

    Hi James,

    Also check if you deleted the batch job history for that company. There is a validation on the batch tasks and the history.

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,028

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 579 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans