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 :
Dynamics 365 Community / Forums / Finance forum / the name 'Accounti...
Finance forum

the name 'AccountingDate' does not denote a class a table or an extended data type

(1) ShareShare
ReportReport
Posted on by

Hi All, 

Anyone encounter and found solution for this 'AccountDate' error?

"the name 'AccountingDate' does not denote a class a table or an extended data type"

Screen-Shot-2019_2D00_04_2D00_04-at-5.51.05-PM.png

Thanks,

Ariston J.

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type

    AccountingDate data type is defined in some package, which you will see in brackets in AOT.

    You need to add package reference from your package to this package. Otherwise the code in your package can't use this data type.

  • Verified answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type

    Accountingdate exist in calendar package . Do you have reference to that package ?  Are you getting it in Purchtable or somewhere else ?  You might want to check in packageslocaldirectory folder  as well  and see if the xml is present in the package for that EDT.

  • Verified answer
    Jie G Profile Picture
    on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type
    Hi Ariston,
    The model name which contains the model element is shown up in the Application Explorer in italics.
    8054.1.png
    You can update the current module in which the build error occurred, from Dynamics 365 -> Module management -> update module parameters form:
    8054.1.png
    1. Select the current model in Model name.
    2. Click next.
    3. In the "Select referenced packages", select the required packages.
    5140.2.png
    4. Click Next and Finish.
  • Suggested answer
    Ariston J. Profile Picture
    on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type

    Thanks Nikolaos Mäenpää, i overlooked to select referenced packages 'Calendar' Model into my current models.

    By adding 'Calendar' error fixed.

  • Suggested answer
    Ariston J. Profile Picture
    on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type

    Thanks Sukrut Parab i overlooked to select referenced packages 'Calendar' Model into my current models.

    By adding 'Calendar' error fixed.

  • Suggested answer
    Ariston J. Profile Picture
    on at
    RE: the name 'AccountingDate' does not denote a class a table or an extended data type

    Thanks Ada Ding, i overlooked to select referenced packages 'Calendar' Model into my current models.

    By adding 'Calendar' error fixed.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans