Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Unable to find Production Orders Table via Power BI Desktop API

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello community, 

within Dynamics 365 Business Central we find some Production Orders information like fixed production orders and planned production orders. 

We'd like to use this information in Power BI Desktop to create some reports. But through the build-in API for Dynamics 365 Business Central we were unable to find the Production Orders table. 

With ctrl + alt + F1 (site check window) we can identify a table called "Production Order (5405)", but in Power BI Desktop this table isn't shown. 

firmPlanned.PNG

Any advise to this issue? Thank you in advance!

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,433 on at
    RE: Unable to find Production Orders Table via Power BI Desktop API

    Hi

    As other experts here mentioned you need to publish page (for Power BI you can publish page and not the table) through web services or created API or Query in BC and publish. 

    For a project (kind of similar) I needed to publish following pages. But you may just need 9325

    1) Firm Planned Prod. Orders (9325, List)

    2) Firm Planned Prod. Order (99000829, Document)

    3) Firm Planned Prod. Order Lines (99000830, ListPart)

    Go to Web Service page then New then select the Page and enter 9325 and enter service name (no space) and select Publish. Then you should see it in Power BI.

    Sometimes you may not see all the fields you need then you can go back to Web Services then Action -> New Document -> Create Data Set then select either Edit Existing or create and edit from existing and then see if you can find the field their and select. Please know that you only can add the field if field is made available in page (you can add it to page through personalization)  

    pastedimage1641910874818v2.png

    pastedimage1641910920897v3.png

  • Suggested answer
    JAngle Profile Picture
    JAngle 46 on at
    RE: Unable to find Production Orders Table via Power BI Desktop API

    Given creating a custom api isn’t always possible, albeit the best approach, you could try using page 9325 as a web service.

    Search for the web services page and add a row for that page. Publish and it should be available in power bi. I think web services have their own subcategory in the BC data connector. Not 100% on that but you will locate any published web services you have via the connector

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 993 Super User 2024 Season 1 on at
    RE: Unable to find Production Orders Table via Power BI Desktop API

    The best practice here would be to create a custom API that can publish the required data to Power BI.

    Here you can see how the custom API can be developed:

    docs.microsoft.com/.../devenv-develop-custom-api

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans