web
You’re offline. This is a read only version of the page.
close
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

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
    95,597 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans