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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,758 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans