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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to Display the Total Amount as Vendor in Customer Card

(0) ShareShare
ReportReport
Posted on by 63

Hi,
Balance as Vendor in Customer Card shows only one Vendor's Balance even when the Customer Contact has the relationship with multiple Vendors.
Is it possible to display total amount of all Vendors linked to the contact of the Customer?

Contact can have multiple Vendors and Customers, which looks like many to many relationships with business relation function.

Here is the example:
Cust-A has the relationship to 01-Vendor and 02 Vend with Contact Cust-A.
Account Payable
 01-Vendor : 243.75
 02 Vend : 120.13
 Total : 363.88
Account Receivable
 Cust-A : 8,117.50

I want to display the total account payable in Balance as Vendor of Customer Card.

pastedimage1667879477882v1.png

pastedimage1667879487735v2.png

pastedimage1667879494504v3.png

pastedimage1667879602777v4.png

I have the same question (0)
  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    customization should be done in AL code

    creating a flow field with the same logic as the Balance as Vendor but adding up the vendor amounts linked to the customer

    DAniele

  • Verified answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at

    Hi, I've investigated the standard code before, and unfortunately, it doesn't support 1-to-many. The standard doesn't take into account multiple vendors, either for getting values, or for Drilldown. So this requires customization if you need it.

    pastedimage1667952750751v1.png

    pastedimage1667952796764v2.png

    More details: https://yzhums.com/23556/

    Hope this helps.

    Thanks.
    ZHU

  • Y.Nakayama Profile Picture
    63 on at

    Thank you, Daniele and ZHU!

    I understood Balance As Vendor is not a FlowField, and so customization is needed.

    I don't understand why one Contact is able to be set multiple codes for Vendor and Customer in Contact Business Relations.
    It looks like 1 to Many or Many to Many relations in Contact Business Relations.
    It would be a cause to misunderstand one Customer can link to multiple Vendors.

    pastedimage1668217623941v1.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans