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? 

  • André Arnaud de Calavon Profile Picture
    293,207 Super User 2025 Season 1 on at
    RE: How do I run a query to see if the vendors I have in MSD have transactions posted against it?

    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.

  • Suggested answer
    Sheikh Sohail Profile Picture
    6,125 on at
    RE: How do I run a query to see if the vendors I have in MSD have transactions posted against it?

    Hi

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

  • Verified answer
    huijij Profile Picture
    19,811 on at
    RE: How do I run a query to see if the vendors I have in MSD have transactions posted against it?

    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).

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,207 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans