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

About SourceTable of cutom api for AL Extension in business central

(1) ShareShare
ReportReport
Posted on by 8
Hello team,
I am endeavoring to create a custom API for purchase invoices using AL Extension with OData. In this API, I've employed the SourceTable = 'Purch. Inv. Entity Aggregate' as it provides fields such as Vendor Id, Pay-to Vendor Id, among others. However, crucial fields like Posting Description, On Hold, Remit-to Code, Purchaser Code, and others are absent. How can I integrate these additional fields into the Purch. Inv. Entity Aggregate table? Furthermore, how can I utilize them within the custom API code with OData, particularly when invoking the custom API via the POST method, how can I pass those additional properties?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    98,128 Super User 2026 Season 1 on at
    Hi, Use Table Extension to first add fields to 'Purch. Inv. Entity Aggregate'.
    You can then add fields to your new API page.
     
    More details: Dynamics 365 Business Central: Can we extend standard APIs? – Download Standard Source Code for APIs
     
     
    Thanks.
    ZHU

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,964 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,086 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,039 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans