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, ...
Suggested Answer

Cannot Access Elements of Refrenced Model

(0) ShareShare
ReportReport
Posted on by 40

Hi Folks,

I have 2 models named DSS and DSSReports. DssReports have references to DSS.

I am trying to create a report in DSSReport but in my contract class when I try to create a buffer for  DSSRFPNum (EDT in DSS Model) it gives the error "The name 'DSSRFPNum' does not denote a class, a table, or an extended data type."

Is there anything that I am missing?

If yes Kindly guide me to fix the problem.

pastedimage1664195334424v1.png

pastedimage1664195511216v2.png

I have the same question (0)
  • Shahzaib Ahmed Profile Picture
    40 on at

    And when I try to edit and save the class it gives following error.

    pastedimage1664195694174v1.png

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi Shahzaib Ahmed,

    After adding the reference packages, have you tried refreshing the models?

    Thanks,

    Girish S.

  • Shahzaib Ahmed Profile Picture
    40 on at

    Yes I have done that as well.

  • GirishS Profile Picture
    27,827 Moderator on at

    After creating edt(DSSRFPNum) in the DSS model, have you build the DSS model?

    Thanks,

    Girish S.

  • Suggested answer
    Srihari.molaka Profile Picture
    339 on at

    Hi,

    Try to close and open the Visual studio, if not works try restarting VM.

    Thanks and regards,

    Srihari.

  • Martin Dráb Profile Picture
    237,896 Most Valuable Professional on at

    The error message is very strange. It says that it can't save a file in DSSReports model because it can't read the DocentricAX directory. Do you have any idea what your changes have to do with DocentricAX directory?

    Were you able to compile the application before creating DSSTendorReportContract class?

  • Arunraj Rajasekar Profile Picture
    1,743 on at

    Hi Shahzaib,

    Did you refresh the model after adding the reference package?

    dynamics365musings.com/.../

  • Shahzaib Ahmed Profile Picture
    40 on at

    The thing is we had 12 models in total.

    We were deploying a new environment for a new client which does not need three models (DocentricAX, DocentricAXEmail, and DocentricAXExtension) So we discarded those models.

    We kept 9 models only but the DSSTendorReportContract doesn't have anything to do with the DocentricAX model.

    This is our first full build on the new Dev VM.

  • GirishS Profile Picture
    27,827 Moderator on at

    Hi Shahzaib Ahmed,

    Does your models(DSS & DSSReport) refer to any of those 3 models(DocentricAX,DocentricAxEmail,DocentricAXExtension).

    After installing all the 9 models have you done build?

    Thanks,

    Girish S.

  • Martin Dráb Profile Picture
    237,896 Most Valuable Professional on at

    It indeed seems that you still have a reference to DocentricAX in a descriptor file of one (or more) of your models, most likely in DSSReport. Please review the desriptors, remove invalid references and then re-compile your application. Don't try to write any new code before you get the current application to a compilable state.

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 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans