Skip to main content

Notifications

Community site session details

Community site session details

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

Getting error in gated check-in build

(1) ShareShare
ReportReport
Posted on by 29
While working on customizing an ISV solution, I extended a class and successfully overridden a replaceable method in my development environment. However, when I attempted to check in my changes and In  gated build process, an error was encountered during the build process. The specific error message was as follows:
 
  1. ##[error]C://DynamicsSDK//Metadata//Microsoft.Dynamics.AX.Application.Build.targets(40,5): Error : Error: dynamics://Class/Upload_Extension/Method/BatchUpload(5,5) - Chain of command method must contain one next call.
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Getting error in gated check-in build
    Can you send your code? Because if it is extension means you need to call a next method if you are extending any standard method.
  • Martin Dráb Profile Picture
    234,013 Most Valuable Professional on at
    Getting error in gated check-in build
    Could react to the error message, please?
     
    The error says that Upload_Extension.BatchUpload() is a CoC extension but you don't call next there (or maybe do it multiple times). Is there something you don't agree with? Do you think that it's not a CoC extension or that there is the next call?

    Update: I've just noticed that you said that the method is replaceable. A possible explanation is that the method is replaceable in the version of the application that you have in your DEV environment, but the build server uses a different version where the method isn't replaceable.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans