Skip to Content
author's profile photo Former Member
Former Member

how to find journal entries that played in outgoing paymen?

Hi All,

i created Outgoing Payments document that contains 1 row of A/P invoice and 2 rows of journal entries. my purpose is to build report that will present all documents data which apears in outgoing paymants matrix. i succed to find that receiptNum field in OPCH and OPRC connect A/p Invoce and A/p Credit Memo to Outgoing Payments document but i couldn't find how to connect between Journal entries which apears in Outgoing Payments matrix to their Outgoing Payments document father. In the attached print screen in green square you can see the JE that i want to find their connection and not the JE in red that i already now how he connect to this document by BaseRef field. i will 10x you all if you can reply me correct query which presents the data i describe here.

please help!!!

picture1.png (33.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 05:21 PM

    I believe this is not the best way to do it, using the receiptNum you are going to have problems if you have more than one payment for the same document, the receiptNum will show only the last payment number.

    I would to the opposite, instead of getting the payments using the documents, try to get the documents based on the payments, then you can use the invType and docEntry from RCT2 to get the document you are paying.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.