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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Voucher Transaction Form in Cross Company Query not working

(1) ShareShare
ReportReport
Posted on by 2,147

I am trying to get the form to pull from all companies.  I set Cross Company Query to Yes for all the data sources, but after build, the form still only show data that I am logged into.  Is there anything I am not doing to achieve this?  any help would be appreciated.

I have the same question (0)
  • Suggested answer
    WillWU Profile Picture
    22,361 on at

    Hi partner,

    Could your provide your codes? We don't konw what you have done and on what table.

    And please check the document:

    docs.microsoft.com/.../cross-company-x-code-basics

  • Tremor Olaes Profile Picture
    2,147 on at

    Hi Will,

    I am not making code changes, but going into the user interface (form) data sources and changing the Cross Company Query  property from no to yes for all tables in the data sources.  I am not in AOT but in Visual Studio in BYOD in my VM.

  • Suggested answer
    mconnors Profile Picture
    4 on at
     

    If you comment out:

     

     

     

     "GeneralJournalEntry::addSecureRangeForLedger(dataSourceGeneralJournalEntry);"

     

     

     

    it will remove the current company filter.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans