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...
Suggested answer

Default Gen. Bus. Posting Group for customer created through the API

(4) ShareShare
ReportReport
Posted on by 12
How can I create a customer via the API and have their posting details set up. Is there a way to set a default? Is there a way to send it via the API? In the UI it makes you select a template when creating a customer, why is not possible to supply a template ID when creating a customer through the API?
  • Suggested answer
    Jainam M. Kothari Profile Picture
    7,355 on at
  • Suggested answer
    YUN ZHU Profile Picture
    82,093 Super User 2025 Season 1 on at
    Default Gen. Bus. Posting Group for customer created through the API
    Hi, hope the following helps.
    Dynamics 365 Business Central: Can we extend standard APIs? – Download Standard Source Code for APIs
     
    As for the templates mentioned by Suresh, you can set them in the following page, which is simpler than customizing the API, but you can only set a fixed set.
     
    Hope this helps.
    Thanks.
    ZHU
     
  • Suggested answer
    Suresh Kulla Profile Picture
    47,212 on at
    Default Gen. Bus. Posting Group for customer created through the API
    You can use templates to set default values. If you are using a standard API, you can add customization to the customer insert to establish some default values, or you can create an API with those fields and set those values using the API.
  • Ramesh Kumar Profile Picture
    3,733 on at
    Default Gen. Bus. Posting Group for customer created through the API
     Hi,
     
    You need to expose the field from the Customer (18) table and set the default value or allow user to select from the default value.
     
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,459 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans