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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How do I run a query to see if the vendors I have in MSD have transactions posted against it?

(0) ShareShare
ReportReport
Posted on by 40

We have 12K vendors in our system.  I want to clean up the vendors that dont' have any historical transactions against it (and find the date of the last transaction)  What is easiest way to get a list of vendors without posted transactions including the last posted date? 

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,813 on at

    Hi edgeappsba,

    You can write query statements similar to:

    Select * from vendtable where not exists (select ACCOUNTNUM from VendTrans where transdate > your cut off date).

  • Suggested answer
    Sheikh Sohail Profile Picture
    6,125 on at

    Hi

    There are many tables where the applications set the reference of posting transaction but as the first step check-in vendttrans table

  • André Arnaud de Calavon Profile Picture
    306,430 Super User 2026 Season 1 on at

    Hi,

    Your question contains a contradiction. You want to have a list with vendors without posted transactions, but including the last posted date? If there are no transactions; then there can't be a last posted date.

    If you need to have a list of vendors without transactions, you can edit the advanced query on the form and add the Vendor transactions table using the operator not-exists.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 396 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 323

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans