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?