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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Set Vendor General Business Posting Group via API

(0) ShareShare
ReportReport
Posted on by 87

I am creating vendors via the Business Central API and I do not see anywhere that exposes the option to set the General Business Posting Group or the Vendor Posting Group.  Can someone tell me how I expose those to the API so I can retrieve them and set them if missing?

pastedimage1593122030573v1.png

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    Create your own api by copying existing standard  Vendor API ( Page 5472 "Vendor Entity) then add all the extra fields you need.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype

  • HPC Keith Profile Picture
    87 on at

    Although that specific link is not what answered my question, it got me on the right path:

    docs.microsoft.com/.../admin-configuring-api-template

    API Setup in Business Central is what did it in the end.  I was able to set a default value for those two fields.  Now the fun comes into play when I need logic behind that.  In the API Setup, I do see the option for logic, but haven't explored it just yet.  Thanks for the answer.

  • HPC Keith Profile Picture
    87 on at

    Any idea on where to begin with API Pages?  The Microsoft doc page tells what it's for but doesn't explain how to create one.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans