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

RunBase::makeObject Method in a batch

$
0
0

Hi all,

At the moment I am working with RunBase::makeObject(ClassA) method, which is used on both - server and client side.

ClassA.new(object, object) inherited from RunBaseBatch - class which is instantiated has new() overwritten method with additional optional parameters.

Client side works perfectly, but not server..."new() method" error has been occurred (no new() method is not found).

For instance there is a documentation from msdn: http://msdn.microsoft.com/en-us/library/runbase.makeobject.aspx

RemarkWhen using this method, the parameter profile of the new method must no contain any non-default parameters.

According this remark I can understand a reason. However it doesnt sounds very logical, because I am working with parent object constructor (sysDictClass = new SysDictClass(_classNum);) and my new()  arguments (in a child object) are optional.

Can anybody explain me why?

Artur


Viewing all articles
Browse latest Browse all 73760

Trending Articles



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