Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Add cross company in form datasource

Posted on by 5

Hi,

I have a form with formdatasource TmpTable_DS and I'd like to add a cross company to display both data.

Best regard. Thank you

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Add cross company in form datasource

    Hi,

    if you have resolved the issue, please mark the correct answer(s) as verified.

  • R. Maxime Profile Picture
    R. Maxime 5 on at
    RE: Add cross company in form datasource

    Exact. Thank you !

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Add cross company in form datasource

    Hi,

    Did you try the crosscomapny query on InventLocation table?

    You can follow the example Nikolaos provided or you can check here.

  • R. Maxime Profile Picture
    R. Maxime 5 on at
    RE: Add cross company in form datasource

    Yes, exact!

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Add cross company in form datasource

    You mean you are displaying the inventLocationIds of the current company in your form. You want to display the inventLocationIds from other companies as well?

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Add cross company in form datasource

    Check this: dynamicsuser.net/.../crosscompany-join

  • R. Maxime Profile Picture
    R. Maxime 5 on at
    RE: Add cross company in form datasource

    Hi,

    Yes, I have a temp table as datasource of the form and i wold like to display InventLocation of the crosscompany.

    The temp table contains InventLocationId and I'd like to display also the InventLocationId of the crosscompany in the form.

    Thank you for your replay

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Add cross company in form datasource

    Hi,

    Could you please elaborate?

    Do you have a temp table as the data source of the form? What data do you want to display using crosscompany?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans