Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Customer API search with CVR/GLN

(1) ShareShare
ReportReport
Posted on by 27

Hi, so i made a thread a few days ago getting a customers CVR/GLN Number, but now facing a new issue, the API doesn't return a customer ID ?

Is that possible to retrieve in same call, since that's the only unique in customers? As two customers can have same GLN Number?

EDIT:

To clarifiy, i need to search up in a DB if we have GLN/CVR number in it, if not then create a row with the customerId, but it doesn't get retrieved when using customer card

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Customer API search with CVR/GLN

    Hello,

    Here you can start:

    docs.microsoft.com/.../devenv-page-ext-object

    And some useful links here:

    docs.microsoft.com/.../readiness-ready-to-go

    Thanks.

  • Izet Profile Picture
    Izet 27 on at
    RE: Customer API search with CVR/GLN

    Im still new to BC, so i have no clue how to open a new field on a page, do you have any tutorials?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Customer API search with CVR/GLN

    If the field is not present in your page layout it is not exposed through the API. So you need to either create a new page or add the missiong filed to the page that you currently use as your API page.

  • Izet Profile Picture
    Izet 27 on at
    RE: Customer API search with CVR/GLN

    Alright, thanks :)

    Let's hope someone can help, else i will need to make another call to get the id from account number :/

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Customer API search with CVR/GLN

    Hello,

    If you do not get further traction from the community, feel free to raise it to Microsoft support via your partner or CSP.

    Thanks.

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!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans