Announcements
No record found.
Hello Everyone,
I am Customizing Customer account statement report whichis in AR Module.
And here Trying to Duplicate the "CustAccountStatementIntDP" class in my project and it is giving me error That is : " The type 'CustAccountStatementMonitor' of the member variable 'monitor' is internal to Model 'Foundation' and is not accessible from model 'MyModel'.
please give any idea to solve this Issue.
Hi Ganesh,
CustAccountStatementMonitor is internal class. Internal class will be accessible inside the models only. You cannot refer to that class in your custom models.
Workaround will be you need to implement the same logic in the class CustAccountStatementMonitor in your custom model. Refer the custom class in the report instead of standard one.
Thanks,
Girish S.
Thank You Girish It works .
Remember, possible changes to the standard class you are copying will create differences between the copy and the original.
Maybe in your case its perfect solution but in general you must look for possible extensible points
Yes exactly, but can you provide some ideas on extending the internal classes. It will be useful.
Girish S
We have an verfied answer and I'm accepting that answer too
But I don't see community as an environment where only case-based answers are given. People learn ax from here.
I also thought about my junoirs while writing my answer. If they start copying every internal class when they read the answer, we'll have a serious headache.
In the first step, they have to see if the code goes through a non-internal class and an extension will work at this point.(I accept that it is not necessary for this question)
Yes ergun sahin ,
Actually I am also a Fresher right now and there is lot of things to learn in Ax.
and through this community I got lot of help to solve the issue and to learn the Ax.
And in this Example i cant use the Dp class extension bcoz of that internal class.
so i had to copy Standard Class.
Thank You.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 659
André Arnaud de Cal... 465 Super User 2026 Season 1
Syed Haris Shah 304 Super User 2026 Season 1