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 :
Small and medium business | Business Central, N...
Unanswered

Can I run report in Partner Company using ChangeCompany function in Business Central?

(1) ShareShare
ReportReport
Posted on by 93
Edit - It was my doubt/question earlier, but I can't delete it so adding my findings in the description.
 
Feel free to reply if my findings lack anything.
 
We can only use ChangeCompany function for Record type and RecordRef type. 
 
If you want to run other objects like reports, codeunits, etc in the partner company using change company, you will need to create a Job Queue via AL Code and pass the codeunit or report that you want to run. This will allow you to run the report or codeunit in other companies.
 
In practice, using ChangeCompany is typically only safe for reading data across companies. Writing or posting with it often leads to subtle bugs or data inconsistencies. Creating APIs for these kinda tasks is more preferrable.
I have the same question (0)

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,844

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,010

#3
Sumit Singh Profile Picture

Sumit Singh 2,815

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans