This is my class data source for my project. Recently it worked normally but when I pin debug then remove it. I don't know what's happen, but I got an error like this message below can someone guide me on how to solved it?
and when I compare 2 project in the same class 1 project I got an error and another is error???
Calling a report data provider (RDP) class from a menu item doesn't look normal to me. What are you trying to achieve by that?
These classes are called by the reporting framework when a report executes and it needs to fetch the data. If you want to to run the report, call its controller class, not the RDP class.
I'm assuming that you run the project. The first one calls HSTStockCard menu item, the other HSTStockCardData. I don't know what these menu items call and which of them is failing, but it seems that one of tries to calls class xxxx and it can't, because it requires the class having main(Args) method, which it doesn't have. Either you shouldn't call the class or you need to add main(). If it's about the data provider class, calling it by a menu item doesn't make good sense to me.
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.