Notifications
Announcements
No record found.
This is causing for one field only. It looks weird as I haven't seen this issue before.
Please let me know how to figure out this issue.
Thanks,
Raziq.Ali
*This post is locked for comments
is that a newly/recently created report?
I have added new field in SalesInvoiceTmp Standard Temp table and rendering on Sales Invoice report through event handler. when I debugged, it is not even going into debugger for first time but it is going fine from second time in debugger as well.
is that a pre/post event handler? and where you have written the code?
This is pre event handler added to insertIntoSalesInvoiceTmp method of SalesInvoiceDP class.
SalesInvoiceDP is an extended class of SalesInvoiceDPBase
basically method insertIntoSalesInvoiceTmp is called from createData method of insertIntoSalesInvoiceTmp .
your event says that code should be called before insertIntoSalesInvoiceTmp .
can you kindly debug SalesInvoiceDPBase to know how and when insertIntoSalesInvoiceTmp is being called.
I kept my debugger to find out cause but it is not stepping in createdata method of SalesInvoiceDpBase class for first time. So, very hard to find root cause I guess.
probably because reports run through BI services which is an AIF service and runs under CIL.
To debug it you need to follow certain process which you can find on TechNet.
https://technet.microsoft.com/en-gb/library/gg724081.aspx
I meant code is also stepping into debugger mode from second time onwards but not from first time.
interesting.
can you kindly provide me steps to re-produce issue. doing so, can help me to debug on my DEV box
Below are the steps which I followed for SO-0007106 to reproduced it in DEV.
When I click on Invoice for this SO, it opens Invoice journal form
When I click on preview/print to generate report.
It has generated report with blank packing list number for first time which I attached for reference.
When I run again for second time, it rendered perfectly which I attached for your reference.
Report is rendering perfectly from second time onwards.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2