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

ERROR VISUAL STUDIO REPORT DATASET BASED ON QUERY

$
0
0

Hello,

this is my scenario:

AX2012 R2CU7

VISUAL STUDIO 2010 SP1

I'm trying to create a report about free text invoice. We have it on the previous instance, AX2009, and I'm trying to recreate it.

The old one is based on query and the dataset tree is made by

CUSTPAYMSCHEDLINE->CUSTPAYMSCHED->CUSTINVOICETABLE->CUSTINVOICELINE + TAXWORKREGULATION

I made it in AX2012 and then I created a new ax report project in visual studio. When I add a new dataset, I choose my query and then there is the classic visual studio error "object reference not set to an instance of an object".

I've modified my query, I tried adding one table at time trying to understand the error.

So I start with CUSTPAYMSCHEDLINE and obviously my query works on visual studio and it lets me choose the filelds. So I've added the join with CUSTPAYMSCHED and here it is.

If I invert the order I'have no errors.


Where am I wrong?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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