Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

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

Posted on by Microsoft Employee

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
    26P2ER 1,773 on at
    RE: Can you make a report to see all the companies that are linked to one bank account

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,232 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans