Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Adding Custom Field to SalesOrderLine Api V2

Posted on by 45

I need to add a field (Description2) to the SalesOrderLine Api

I remember reading I could get the git Repo of the API, copy the API i need and modify it and use it in my extension.  I just don't remember where the API is stored.

Thanks

Categories:
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    Adding Custom Field to SalesOrderLine Api V2
    Hi,
     
     
    You cannot add custom field in any standard API endpoints.
     
    Standard API endpoints are set to Extensible to false.
     
     
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Adding Custom Field to SalesOrderLine Api V2

    Please check this blog

    https://www.kauffmann.nl/2021/04/16/extending-standard-apis-2/

    Here is the source for the API 2.0

    https://github.com/microsoft/ALAppExtensions/tree/main/Apps/W1/APIV2

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: Adding Custom Field to SalesOrderLine Api V2

    Hi, search for **salesOrderLineentity** in base application, then you can find it.

    pastedimage1633391958377v3.png

    pastedimage1633391981968v4.png

    Hope this will help.

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans