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

How to Get Projected Available Balance by Item No. and Location Code

(4) ShareShare
ReportReport
Posted on by 26

Hi,

I am working on retrieving the Projected Available Balance (PAB) for an item from the "Item Availability by Location" page in Dynamics 365 Business Central.

I have both: Item No & Location Code

My requirement is to get the Projected Available Balance based on these two parameters. Could you please guide me on the correct way to query or access this information programmatically?

Specifically, I would like to know:

  • Is there a standard table or method I can use to retrieve the PAB for a given Item No. and Location Code?
  • If not directly available via an API or standard table, is there any recommended approach (e.g., using the Item Availability Buffer or Item Ledger Entry) to calculate the PAB manually?
Any insights or examples you could share would be greatly appreciated.
 
Thanks!
  • Suggested answer
    Valentin Castravet Profile Picture
    27,891 Super User 2025 Season 1 on at
    How to Get Projected Available Balance by Item No. and Location Code
    As Yun Zhu mentioned you need to calculate this value as its not stored by the system anywhere. 
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    14,928 Super User 2025 Season 1 on at
    How to Get Projected Available Balance by Item No. and Location Code
    In Dynamics 365 Business Central, the Projected Available Balance (PAB) is not stored in any single table. It's calculated on the fly using inventory data and expected supply/demand. Microsoft uses codeunit to do this calculation behind pages like "Item Availability by Location".
  • Suggested answer
    Jainam M. Kothari Profile Picture
    6,567 on at
    How to Get Projected Available Balance by Item No. and Location Code
  • Suggested answer
    YUN ZHU Profile Picture
    81,794 Super User 2025 Season 1 on at
    How to Get Projected Available Balance by Item No. and Location Code
    Hi, you can write one yourself by referring to the calculation of the standard code.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    How to Get Projected Available Balance by Item No. and Location Code
    Moved the question from the Dynamics 365 General to the Business Central forum.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans