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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

database exports issues through the LCS tools

(0) ShareShare
ReportReport
Posted on by

Hello All,

one of my project i am trying export azure db on my client sand box environment . i ma having issues with mu custom model objects having some invliad reference errors while export db usind lcs.

error

*** Error exporting database:One or more unsupported elements were found in the schema used as part of a data package.

 

[2020-05-20 11:42:11Z] Error SQL71501: Error validating element [DBO].[INVENTORYSITEONHANDENTITY]: SqlView: [DBO].[INVENTORYSITEONHANDENTITY] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [DBO].[INVENTSITEONHANDAGGREGATEDVIEW].[I95DEVMODIFIEDDATETIME] or [DBO].[INVENTSITEONHANDAGGREGATEDVIEW].[T1].

I have tried updated the view with proper two part name by removing alias name T1. but when rebuild my model  and synchronize the db it is again  retaining back to alias T1.

Can anyone let me know the process or steps to resolve the same.

Regards,

Praveen

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Praveen,

    Is I95DEVMODIFIEDDATETIME field you added to the view INVENTSITEONHANDAGGREGATEDVIEW?

  • Community Member Profile Picture
    on at

    Yes. this is the custom field i have added. extended this view in my model

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Praveen,

    And you added the field only to the view or to the entity as well?

  • Suggested answer
    Rahul Mohta Profile Picture
    21,032 on at

    try removing the custom object and after clean build and DB sync , initiate database export and suggest

  • Community Member Profile Picture
    on at

    Yeah, we do have these fields available on entity level.

  • Community Member Profile Picture
    on at

    Hello Rahul.

    Yes , Thanks for the heads up.

    however , is there anyway i can resolve and export along with custom object.

  • WillWU Profile Picture
    22,363 on at

    Hi praveen,

    Could you see your custom field in the view INVENTSITEONHANDAGGREGATEDVIEW?

    pastedimage1590117949399v1.png

  • Suggested answer
    Tad Okada Profile Picture
    on at

    Hi Praveen,

    I think I need to add field to entity as well as view. Did you add field to the entity?

    Hope it helps, Tad

  • Community Member Profile Picture
    on at

    Hello Will,

    No, we don't have custom fields available on standard view. we have created extension to this standard view where these custom fields available

  • Community Member Profile Picture
    on at

    Hi Tad,

    Yes, We do made these fields available on entity extension using from its data source of our extension of INVENTSITEONHANDAGGREGATEDVIEW

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 307 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans