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 :
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,811 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
    301,037 Super User 2025 Season 2 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans