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 :
Microsoft Dynamics AX (Archived)

"The field 'XXX' on the extension 'CaseDetailBase.MyExtension' already exists. This extension cannot be applied to the base element."

(0) ShareShare
ReportReport
Posted on by 160

I have moved a specific table extension from one specific overlaying model (which belong to ApplicationSuite) to a new specific Package (in full extension).

When i build my project i have this error on a table extensions: All the specific extensions fields already exist:

"The field 'XXX' on the extension 'CaseDetailBase.MyExtension' already exists. This extension cannot be applied to the base element."

I check the xml file in the origin folder model: not exist => OK

I had try with no success:

-http://mybhat.blogspot.fr/2017/07/error-field-fieldname-on-extension.html => KO

-Full Build of all models with referenced packages + Build of the project => KO

-Full Build of the ApplicationSuite + Build of the project =>KO

-Full Build of my new Model + Build of the project => KO

-Destroy the object from my project  + Full Build of all models whith referenced packages + check with a new test extension file (no specific fields seen => Ok)

  => errors are gone then i paste the xml file in my target model folder + refresh model  in Visual Studio + build of my project: KO  => errors reappears

Any Ideas?

Version: 1611 Release Plateform10

*This post is locked for comments

I have the same question (0)
  • Foxsor Profile Picture
    160 on at
    RE: "The field 'XXX' on the extension 'CaseDetailBase.MyExtension' already exists. This extension cannot be applied to the base element."

    Already check:

    -Not duplicate xml file

    -When i delete the extension and recreate a new extension i not see duplicate fields and no errors appears after building.

  • Community Member Profile Picture
    on at
    RE: "The field 'XXX' on the extension 'CaseDetailBase.MyExtension' already exists. This extension cannot be applied to the base element."

    Just a thought, Is it because there is another extension of table existing with the same fields that you have created in your extension.

    You could recheck by doing this step

    1. Destroy the object from my project  + Full Build of all models whith referenced packages + check with a new test extension file (no specific fields seen => Ok)

    2. Then create a runnable class and then try to reference the table to see if your field exists.

  • Foxsor Profile Picture
    160 on at
    RE: "The field 'XXX' on the extension 'CaseDetailBase.MyExtension' already exists. This extension cannot be applied to the base element."

    Hi Sukrut,

    It does not work.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans