web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans