Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Show products bought (purchase order) from the vendor "X" for werehouse "Y"

Posted on by 30

Hey! I am new in Ax 2012 and I have to fulfill a task. I have to do a job where the info shows the products bought from vendor "x" using purchase order for a specific werehouse "X". Can you help me with the code please?

  • Suggested answer
    Mehdi AMRANI Profile Picture
    Mehdi AMRANI 1,422 on at
    RE: Show products bought (purchase order) from the vendor "X" for werehouse "Y"

    Hi,

    You can start from the inventtrans table where all transaction are stored then you can fine-tune your request with inventtrans origin if you want to filter on specific Purchase orders. here is a simple example I hope it will help you.

    Select il.INVENTLOCATIONID, it.ITEMID, it.QTY,it.STATUSRECEIPT from INVENTTRANS it

    inner join INVENTDIM id on id.INVENTDIMID = it.INVENTDIMID

    Inner join inventlocation il on il.INVENTLOCATIONID = id.INVENTLOCATIONID

    where it.QTY > 0

    Regards,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans