Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

ODATA for Invoice and Invoice Line For Power BI - Dataset

Posted on by 15,409

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

Categories:
  • Verified answer
    JAngle Profile Picture
    JAngle 33,135 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,409 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 400 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,835 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,526 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans