Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Customer API search with CVR/GLN

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

Categories:
  • 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,744 Moderator 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans