web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I would like to ask how can I see the definition of this view : INVENTWAREHOUSEONHANDAGGREGATEDVIEW in the D365. I have to export it's underlying tables  in Data Lake container with option export to Data Lake but unlike the other entities I cannot see this one?  

Any advice?

Thank you in advance!

Alex

I have the same question (0)
  • Martin Dráb Profile Picture
    236,879 Most Valuable Professional on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    It's a view, not a data entity. You'll find it in the AOT under Data Model > Views.

  • alexsoftwareltd Profile Picture
    5 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    HI Martin,

    Thank you for the response!

    Unfortunately I do not have any access to the AOT application, the only accessible is D365 FO application.

    Is it possible somebody to share the definition of this view , since I see it is a standard Microsoft view which comes with D365 FO.

    Thank you in advance!

    Alex

  • André Arnaud de Calavon Profile Picture
    299,947 Super User 2025 Season 2 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi Alex,

    The view is based on two tables: InventSum linked with InventDim. You can preview the results of this view when you change the URL parameters of your F&O environment to: https://[yourenvironment].dynamics.com/?mi=SysTableBrowser&TableName=InventWarehouseOnHandAggregatedView

  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Definition as in query statement of that view?

  • alexsoftwareltd Profile Picture
    5 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi Bharani,

    Exactly. I would like to see the "CREATE VIEW AS SELECT...." statement.  

    Actually this view is part of the entity : INVENTWAREHOUSEONHANDENTITY. In Export to Data Lake feature in D365 there is an option to export the definition and underlying tables of the entity , but in case  its definition is another entity/view it should be exported as well. So was the reason I need to find the definition of the abovementioned view.

    Thank you in advance!

  • alexsoftwareltd Profile Picture
    5 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi Andre,

    Thank you for the response!

    I know this feature and I am able to see this view, but I need its definition in format : CREATE VIEW AS SELECT....

    Alex

  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi alexsoftwareltd,

    This view is part of the 'InventWarehouseOnHandV2Entity' definition which is used for calculating the On hand inventory in POS using a real time service call to HQ.

    Maybe you can check the link below. Hope it will be helpful.

    Extend inventory on-hand data entities - Supply Chain Management | Dynamics 365 | Microsoft Learn

    InventWarehouseOnHandV2Entity in InventoryAndWarehouseManagement - Common Data Model - Common Data Model | Microsoft Learn

    Best Regards,

    Hana

  • alexsoftwareltd Profile Picture
    5 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi Hana,

    I have already had the definition of the [INVENTWAREHOUSEONHANDENTITY] since it is an entity and it is inside manifest definition in the Data Lake :

    CREATE VIEW [DBO].[INVENTWAREHOUSEONHANDENTITY] AS ...     ... FROM INVENTWAREHOUSEONHANDAGGREGATEDVIEW T1

    But I cannot obtain the definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW since it is not an entity but only a view. I can browse this view and see the columns but I cannot see the definition like the above entity.

    Alex

  • Hana Xue Profile Picture
    Microsoft Employee on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Hi Alex,

    In an implementation project, maybe you can find the view definition of INVENTWAREHOUSEONHANDAGGREGATEDVIEW view in Tier 2 as described in the InventWarehouseOnHandAggregateViewBuilder class.

    Best Regards,

    Hana

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 588

#3
Martin Dráb Profile Picture

Martin Dráb 542 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans