Skip to main content
Solved

Last Vendor Order Date GI


Forum|alt.badge.img

Hi community members! I am looking to build a GI that lists all Vendors and the Date the Last PO was placed with them. It would be nice if the last PO number also was returned. 

I have left joined the Vendors to the PO’s and have the dates and fields mentioned above but, of course, the vendor repeats with each different date. I tried to use a Max formula on the PODate field to get the most recent but, no luck. I also tried grouping but the date returned is not always the Last PO Date in the system. Any ideas on how to accomplish this?

 

Best answer by Laura02

Hello,

My example shows latest AP Document (not latest PO):

I think you want to Group by Vendor ID, Sort by Vendor ID ascending then PO Date descending, and use Aggregate Function = Max.

I hope this helps you. If not, please you show the details of your grouping, sort order, results grid, and (incorrect) results.

 

Laura

View original
Did this topic help you find an answer to your question?

2 replies

Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3135 replies
  • Answer
  • August 22, 2024

Hello,

My example shows latest AP Document (not latest PO):

I think you want to Group by Vendor ID, Sort by Vendor ID ascending then PO Date descending, and use Aggregate Function = Max.

I hope this helps you. If not, please you show the details of your grouping, sort order, results grid, and (incorrect) results.

 

Laura


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 17 replies
  • August 22, 2024

Works perfectly! Thank you Laura.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings