Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Error executing code: object does not have method 'new' in Batch Job

$
0
0

Hi,

I have a custom class which extends runbasebatch. The class I created have a new method which will initialize some variables. I have another classes which extends this class. Now, when I manually run the child class, no errors appears and it works as expected. But when I ran it as batch job, an error appears. The error log is: Error executing code: SomeObject object does not have method 'new'.

I tried the solution from this link: http://dynamics-ax-prasankumar.blogspot.co.nz/2012/07/ax2012-error-executing-code-object-does.html   but still no luck.

Any ideas?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>