How can I add the PO # to the Bills and Adjustment generic inquiry screen?
I added the related table APTRAN but then I had duplicate invoices.
What would the proper “join” be to get this info?
How can I add the PO # to the Bills and Adjustment generic inquiry screen?
I added the related table APTRAN but then I had duplicate invoices.
What would the proper “join” be to get this info?
Best answer by wfilipiak67
Hi Sarah,
Here are 2 ways of doing this. Both assume that there is only 1 PO per Invoice.
You can have the Join only read the first line number.

Or you can do a grouping on the APInvoice.RefNbr.

If you do the second, remember to set the Aggregate Function to Average on the Numberic fields to avoid adding the document total for each line. (6 lines * doc toal of 1000 would show 6000 not 1000)

Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.