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

Getting Purchase confirmation report data after Confirmation

$
0
0

Hello, 

Here's the situation. 

I'm able to access report data (VendPurchOrderJour table record in this case) via element.controller().parmArgs().record() in SrsReportViewer form if I'm running the confirmation report, after its changes has been confirmed, from the normal Preview/Print dialog.

But, if I try to do the same right after I make some changes and then click Confirmation button, then thick Posting and Print purchase order boxes - I get exactly same report, however, I'm not able to access the data via element.controller().parmArgs().record() anymore. The record is simply empty. Obviously, if I close this report window and then try to print that version from Preview/Print dialog - it works.

In debugger, I see the record I'm interested in (vendPurchOrderJour) under ELEMENT.controller and I also can see the its Recid under ELEMENT.controller.ReportContract.rdpContract.recordid, but I can't refer to them in any way I've tried.

So how could I access that record?

Thank you!


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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