Skip to main content

Notifications

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

  • Hana Xue Profile Picture
    Hana Xue 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

  • alexsoftwareltd Profile Picture
    alexsoftwareltd 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

  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue 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
    alexsoftwareltd 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

  • alexsoftwareltd Profile Picture
    alexsoftwareltd 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!

  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: Definition of the INVENTWAREHOUSEONHANDAGGREGATEDVIEW table/view/entity

    Definition as in query statement of that view?

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,996 Super User 2025 Season 1 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

  • alexsoftwareltd Profile Picture
    alexsoftwareltd 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

  • Martin Dráb Profile Picture
    Martin Dráb 230,853 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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans