Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How to change x++ query without joins? I have to change below code to x++ query with out joins? how

Posted on by 100

How to change x++ query without joins? I have to change below code to x++ query with out joins? how

*This post is locked for comments

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    Hi Venu,

    Does the code in the link help you?

    Or do you have any doubts?

  • Suggested answer
    venu123 Profile Picture
    venu123 100 on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    all of them are in memory table only

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    Hi Venu,

    I see that you have tmp tables in the first half, but query has only two tables.
    In addition, if you want to query more than one join table, I don't see joinmode and relations.
    Specifically, you can refer to the example code of this blog.

    https://community.dynamics.com/365/financeandoperations/b/ax2012codingaxclated/posts/multi-table-lookups-sysmultitablelookup

    I hope it will help you.

  • venu123 Profile Picture
    venu123 100 on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    inventt.addLink(fieldNum(InventSettlement, TransRecId), fieldNum(InventTrans, RecId));

    invents.addRange(fieldNum(InventSettlement, TransDate).value(>contract.parmFromDate());

    this is showing wrong how to do

  • Suggested answer
    venu123 Profile Picture
    venu123 100 on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    how change it

  • Suggested answer
    venu123 Profile Picture
    venu123 100 on at
    RE: How to change x++ query without joins? I have to change below code to x++ query with out joins? how

    how change it

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans