Skip to main content
Answer

Adding vendor last payment date to a generic inquiry

  • June 2, 2023
  • 2 replies
  • 232 views

Forum|alt.badge.img

Hi

I am trying to get the last payment date for vendors on a generic inquiry.  Does anyone know where that field is stored or the best way to pull that date into a generic inquiry.

Thanks!

Coleen.

 

 

Best answer by dcomerford

Join the APPayment table to the Vendor and then Group by the VendorID and use the Max of the DocDate as the Aggregate function. See attached 

2 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • Answer
  • June 2, 2023

Join the APPayment table to the Vendor and then Group by the VendorID and use the Max of the DocDate as the Aggregate function. See attached 


Forum|alt.badge.img

@dcomerford  - Thank you that is what I thought, appreciate the response.