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...
Answered

ODATA for Invoice and Invoice Line For Power BI - Dataset

(0) ShareShare
ReportReport
Posted on by 15,435

Hi

I know I can publish page 132 and 133 for Posted Sales Invoice Header and Line through Webservice. But when I go to Action -> New Document -> Create Data Set then I cannot access the dataset to include/exclude fields. 

What is the method to publish these pages through Web Service?

Thanks

  • Suggested answer
    JAngle Profile Picture
    JAngle 63 on at
    RE: ODATA for Invoice and Invoice Line For Power BI - Dataset

    Object type makes a difference here. You have query objects in usage which purely read data. If you want to perform http patch requests you should try the api pages or publishing the page objects as web services.

    I’d read through this if you intend to insert lines: www.kauffmann.nl/.../

  • MahGah Profile Picture
    MahGah 15,435 on at
    RE: ODATA for Invoice and Invoice Line For Power BI - Dataset

    Thanks for your answer but my question is not about publishing. is more about how to edit the dataset. After publishing invoices I cannot go and find them in dataset and edit them. 

    pastedimage1635082538175v1.png

  • Akshay_Panchal Profile Picture
    Akshay_Panchal 402 on at
    RE: ODATA for Invoice and Invoice Line For Power BI - Dataset

    Hello,

    You can add those pages into webservice using below steps

    1. Search the "Web Services" on business central web client

    pastedimage1634982368647v1.png

    2. Add your new pages on webservice and mark to publish

    pastedimage1634982408505v2.png

    Please verify if my answer solve your query.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans