RE: Generating data model on Electronic Reporting
Hi Danilo. I've been researching a bit more this strange behaviour. Here is what I've found:
There is no filter about the classes. The system uses a special form called ERClassNameLookup when building the control for "Class Name". So, it uses a method for filling a temp table which is the one the lookup uses.
That method is very simple but I think there's something wrong with it:
![]()
If you look at the code, the standard uses typeCnt2Id function which MSDN oficial doc reads "Provides the ID of a specified extended data type."
I don't know why this function it's used if you want to get the className based on its Id. Anyway, when using that function I didn't get any of my brand new developed classes as you mentioned. So I decided to try another different function (classCnt2Id) and voilá!, my classes started to appear at the info screen.
Maybe it's a bug because I've seen other code even at the Inside Dynamics AX 2012 book that uses the same function as me.
I think we need to try to open a MSFT case as there's no much documentantion about GER and get more info from them.