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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

View extension problem

(0) ShareShare
ReportReport
Posted on by 133

Good day everyone,

I am facing a strange problem in Dynamics where I can use some help.

We created a customization to add the RetailVariantId column to the InventWarehouseOnHandV2Entity data entity. In order to do this, we created extensions to add the field to

  • InventSumByWarehouse view
  • InventOnHandByWarehouse view
  • InventWarehouseOnHandView view
  • InventWarehouseOnHandAggregatedView view
  • InventWarehouseOnHandV2Entity data entity
  • InventWarehouseOnHandV2Staging table

On my local development onebox VM this works fine. However, on our sandbox cloud environment we get an SQL error when trying to export the DMF project:

"Error adding updating OLEDB source properties-Exception from HRESULT: 0xC0202009"

To debug this issue, I looked at the SQL database on the sandbox server. When looking at the views, I noticed that our new field is correctly added to the first 3 views, but the field is not added to the InventWarehouseOnHandAggregatedView view. I have checked and verified that the extension is merged to the correct branch for the sandbox server.

I am not entirely sure yet, but I suspect that this could be the source of the SQL error.

Has anyone seen anything like this before? That a view extension is not properly synchronized to the database? Can I do anything to debug or fix this issue?

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi FV@E,

    The following blog mentions the same topic about changes to views are not Synchronizing or deploying. You can refer to see if it can help.

    deepakkadajjid365fo.wordpress.com/.../

  • FV@E Profile Picture
    133 on at

    Hey Judy,

    Thanks a lot! I suspect that this indeed my problem. That's a nasty hidden feature.

    I'll be able to test this solution tomorrow, and then I'll mark your response as correct answer if it worked.

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

News and Announcements

Season of Giving Solutions is Here!

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
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 349 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans