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 :
Finance | Project Operations, Human Resources, ...
Answered

Entity for OnHandInventory using oData

(0) ShareShare
ReportReport
Posted on by 584

Hi All

On F&O 10.0.0.23

Anyone know which entity I would use to get onhand inventory for a given legal entity using oData?

Thanks

Mark

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,030 Super User 2025 Season 2 on at

    Hi Mark,

    There are various different entities. Which one to use depends on your requirements and inventory break-down per e.g. site or warehouse. All these entities do contain 'OnHand' in the name. 

    e.g:

    - CDSInventoryOnHandEntitiy

    - InventorySiteOnHand

    - WarehouseOnHandV2

    You also might have a look at a new Inventory visibility service which can be used for external calls also: Inventory Visibility Add-in overview - Supply Chain Management | Dynamics 365 | Microsoft Docs

    I think this new service might be the future direction from Microsoft.

  • markmj Profile Picture
    584 on at
    [quote]

    Hi Mark,

    There are various different entities. Which one to use depends on your requirements and inventory break-down per e.g. site or warehouse. All these entities do contain 'OnHand' in the name. 

    e.g:

    - CDSInventoryOnHandEntitiy

    - InventorySiteOnHand

    - WarehouseOnHandV2

    You also might have a look at a new Inventory visibility service which can be used for external calls also: Inventory Visibility Add-in overview - Supply Chain Management | Dynamics 365 | Microsoft Docs

    I think this new service might be the future direction from Microsoft.

    [/quote]

    Thanks Andre

    FYI

    /data/WarehousesOnHandV2?&cross-company=true&$filter=dataAreaId eq 'xxxx' and InventoryWarehouseId eq 'yyyy'   - works

    /data/InventorySitesOnHandV2?&cross-company=true&$filter=dataAreaId eq 'xxxx' and InventoryWarehouseId eq 'yyyy'   - works, but cannot get or filter by warehouse name

    The public collection name for the CDS entity is "CDSInventoryOnHandEntries", but I just get this response. Not sure why

        "value": []
  • markmj Profile Picture
    584 on at

    So I got this working, but unfortunately, I'm missing the batch ID's anyone know how to get onhand with batches via oData?

  • André Arnaud de Calavon Profile Picture
    301,030 Super User 2025 Season 2 on at

    Hi Mark,

    Related to your follow-up question, you already created another post on this forum. There are already two answers to your question: How to get onhand inventory WITH batch numbers via oData - Dynamics 365 Finance Forum Community 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans