Hi Guys,
I have a display method in Vend Trans Table displayDiscountDate() which gives the cash discount date for the vendor transactions. I want to give this display method in Query range in ssrs report. I tried by giving it but can't be done, because queries are run on SQL Server while display methods are defined in Dynamics AX. Can you please advise on this. I heard about sysqueryrangeUtil class but not sure how to use that. Please help me
query = new Query();
qbdsvendTrans = query.addDataSource(tableNum(vendTrans), tableStr(vendTrans));
qbdsvendTrans.addRange(fieldNum(VendTrans, displayDiscountDate())).value(queryRange(fromdate,todate));
*This post is locked for comments