web
You’re offline. This is a read only version of the page.
close
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...
Suggested Answer

Stock On Hand API with better performance for PowerBI

(0) ShareShare
ReportReport
Posted on by 3,247

Hi All

I can create an API using item ledger entries to pull stock on hand by warehouse and lot number. However, since this table is quite large, I'm looking for options to create a better-performing API. One option is to filter at the source for ILE lines with remaining qty <> 0- is it possible to define filters at the API level?, another would be to create a flow field on the lot number but in BC there is no separate table for lot numbers.  Looking for other suggestions

Thanks

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, The following info comes from AJ. I think you can add some filtering in OnOpenPage trigger.

    More details: https://www.youtube.com/watch?v=5iRv0y0rVzw&t=47s

    pastedimage1669938953511v1.png

    pastedimage1669939112906v2.png

    pastedimage1669939123562v3.png

    Hope this helps.

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans