web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Can you make a report to see all the companies that are linked to one bank account

(0) ShareShare
ReportReport
Posted on by

We have several companies that all have the same pay to vendor and I was wondering if it is possible to get a list or report from that one vendor to see all the companies linked to it?

Thanks,

*This post is locked for comments

  • Suggested answer
    26P2ER Profile Picture
    1,775 on at

    This can be done with a custom SQL query.  The output of this custom SQL query will be the query that you need. Let me know

    Here is the custom query to use:

    select 'SELECT bnkactnm, '+''''+RTRIM(INTERID)+''''+' AS CMPNY from '+RTRIM(INTERID)+'..CM00100 WHERE BNKACTNM = ''07300360606'' UNION'

    FROM DYNAMICS..SY01500

    Paste the results to a second query and drop the "UNION" in the end.

    This query is what you need. This assumes the bank account number you are looking for is known.

    Replace the 07300360606 with your bank account number. 

    In this example the second query should yield TWO and this account number in the results.

    Hope this helps and feel free to email me directly if you need further help with this query.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans