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 :
Microsoft Dynamics AX (Archived)

SQL query to get contact details for a vendor

(0) ShareShare
ReportReport
Posted on by

I have a need to retrieve contact addresses and emails for all vendors with current transactions.

According to the Query window from Personalisation VendTable joins to Dirparty then LogisticsElectronicAddress but I can't see what field joins the first two tables. Assuming it is RecId, a record in VendTable finds the incorrect record in DirParty (at least according to the data when viewed in AX).

Can anyone please help?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Anoop Tripathi Profile Picture
    790 on at

    party rec Id should be the field joining them.

    Also are you in need of SQL query or and AX query/code ??

  • Community Member Profile Picture
    on at

    Sorry it's an AX query that I need help with.

    I found that VendTable.Party joins to DirPartyTable.RecId - obvious right?

  • Verified answer
    Anoop Tripathi Profile Picture
    790 on at

    yes. Basically party recid uniquely related to all kind of party(customer,vendor etc. )

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans