Skip to main content
Answer

Approved AP Bills

  • June 24, 2022
  • 2 replies
  • 208 views

Yuri Karpenko
Captain II
Forum|alt.badge.img+6

Trying to build a GI to show AP Bills approved by a specific employee (or any employee really), and can’t find a way to join APInvoice with EPApproval or EPOwned or any other DAC that can have approval data (approvedByID). Any ideas how to solve this riddle?

Best answer by Yuri Karpenko

Thank you @hkabiri 

I figured that actually joining APInvoice and EPApproval on NoteID = RefNoteID works too.

Thanks for your comment though!

2 replies

hkabiri
Acumatica Moderator
Forum|alt.badge.img+8
  • Acumatica Support Team
  • June 27, 2022

@Yuri Karpenko 

  1. Use APRegister DAC for the AP document
  2. Use EPApproval DAC for Approval Data
  3. Use Left Join on relation and APRegister.NoteID = EPApproval.RefNoteID

Yuri Karpenko
Captain II
Forum|alt.badge.img+6
  • Author
  • Captain II
  • Answer
  • June 27, 2022

Thank you @hkabiri 

I figured that actually joining APInvoice and EPApproval on NoteID = RefNoteID works too.

Thanks for your comment though!