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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Cannot generate CoC subscription inialization code for 'GeneralJournalEntry'.'update'

(0) ShareShare
ReportReport
Posted on by
Hi All,
 
We have created extension class for /*****_GeneralJournalEntry/ table , and deleted this class due to some reason.
 
but when we are building/compiling the other extended classes getting the below error:
 
/*****__GeneralJournalEntry/ is not there in the AOT as we have already deleted this class.
 
Please advice how we can resolve this issue.
 
Severity    Code    Description    Project    File    Line    Suppression State
Error        Cannot generate chain of command subscription inialization code for 'GeneralJournalEntry'.'update'.  Exception: 'Value cannot be null.
Parameter name: No extension class type found for CoC subscription ******_GeneralJournalEntry_Extension.update' at:    at Microsoft.Dynamics.AX.Metadata.XppCompiler.AssertHelper.Panic[T](String failDescription, Object[] args)
   at Microsoft.Dynamics.AX.Framework.Xlnt.ILGenerator.ILGeneratorPass3Worker.TrackAndThrowExceptionIfTypeNull(Type type, String extensionClassName, String extensionTargetElementName, String extensionTargetElementTypeName, String methodName, String exceptionMessage)
   at Microsoft.Dynamics.AX.Framework.Xlnt.ILGenerator.ILGeneratorPass3Worker.EmitChainOfCommandSubscriptionsCode(Parameters parameters, IXppcMetadataProvider metadataProvider, NetModuleNameByTypeName netModules, FileRollbackHandler fileRollbackHandler, IDiagnosticSink diagnosticsHandler).        GeneralJournalEntry    0    
 
Regards,
Akbar
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,734 Most Valuable Professional on at
    Deleting it from AOT means that you don't have source code for it anymore, but you still have binaries generated from your old code. You need to build the model to update binaries.
  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi Akbar, Have you tried Building your custom model, if still error then try buildng custom model with its referenced packages.
  • Akbar Pasha Profile Picture
    1,540 on at
    Thank you very much Martin and Mohit, we have performed Build of the model with referenced models and able to compile the customized objects.
  • Martin Dráb Profile Picture
    238,734 Most Valuable Professional on at
    Great! Please don't forget to verify the answer verify the answer.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 586 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 311

#3
Diego Mancassola Profile Picture

Diego Mancassola 271

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans