Error: unable to construct an object from the class in the batch framework Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters.
I have created a custom class which extends RunBaseBatch class and this overrides canGoBatch and canGoBatchJournal methods of that class.
I get this message when running batch job. I have done all the suggested solutions (run Full CIL, Incremental CIL, Restart AOS, Ran class on Server), but still have the same error. Please advise how we can further troubleshoot this issue. The class runs fine when I manually run it but when I set it to batch job it throws this error.