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

Community site session details

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

Not allowing Vendor Name to be same for any vendor in Vendor Card

(0) ShareShare
ReportReport
Posted on by 82

Hello Experts,

we have a requirement for not allowing same vendor name for any vendor in vendor card in business central. what is the best way to achieve that?

Any help would be appreciated.

Thanks. 

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    119 on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    With a modification. The OnValidate of the field will need altering so it runs a procedure to check the name value against all other records. I’m sure your Microsoft partner can help with this requirement.

    Alternative would be to control onboarding outside of BC. I have clients who use a Microsoft Form and it then goes through an approval process with power automate. A name check could form part of that. On approved data gets into BC

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,043 Moderator on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    Is there really a business need for this? You now have functionality to merge vendors if someone by accident should create any doublets.

    And using some kind of company registration no. would be a better way to avoid doublets. People can type the "same" name in lots of various ways.

  • Verified answer
    YUN ZHU Profile Picture
    92,764 Super User 2025 Season 2 on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    Hi, Vendor Name is not a primary key, so the standard cannot do this.
    Unless you put the Vendor Name directly in the No., but I don't think the length is enough, so this may require a little customization.

    When you enter a new Vendor Name, or modify the Vendor Name, search all the vendor lists, if there are duplicates, it will prompt an error.

    A simple example:

    pastedimage1646955701663v3.png

    pastedimage1646955691983v2.png

    pastedimage1646955679562v1.png

    Hope this will help.

    Thanks.

    ZHU

  • riya patel Profile Picture
    82 on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    Thank You,

    YUN ZHU

    I was thinking the same but was bit confused if this was right approach

  • riya patel Profile Picture
    82 on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    Thank you,

    Josh Anglesea

    We will go with modification on onvalidate of the field

  • riya patel Profile Picture
    82 on at
    RE: Not allowing Vendor Name to be same for any vendor in Vendor Card

    Thank you Inge M. Bruvik for the reply ,Yes the customer wants to have that  customized functionality

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,327

#2
Sumit Singh Profile Picture

Sumit Singh 2,734

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,599

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans