
This is in Ax 7. We have customized a standard form and added a new method to it. I want to move that method out of that form. The approach we are taking is creating an extension class and keeping the method on it. I have tried creating a new extension class and put the customized method in it, however class extension is not allowing to move a completely new customized method in it. Please share some light on how to add a customized method for a form on a class extension.
Attaching screenshot for more clarity.
*This post is locked for comments
I have the same question (0)The error clearly says that you forgot to specify the method parameter, which is mandatory if you're creating an extension method.
But the better solution is using an extension class instead. Yes, extension methods (in AX 7 from the beginning) and class extensions (added in Platform Update 1) are two different things, although closely related. Your title suggests that you intended to create a class extension, but you'll have to fix a few things to get there.