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

Insufficient rights to execute Menu Item Copy Cash Invoice Preview?

$
0
0

Hii,

We have created different SSRS report designs for SalesInvoice report. I created new Output menu item by duplicating the SalesInvoiceCopy and named it SalesInvoiceCopy_Cash.

On the CustInvoiceJournal form I duplicated SalesInvoiceCopy button and on clicked method updated following code

// Sales order invoice
new MenuFunction(menuitemOutputStr(SalesInvoiceCopy_Cash),MenuItemType::Output).run(args);

If I open this new report from CustInvoiceJournal  print menu, its opening fine from AX Admin account.
But with some normal user its giving "Insufficient rights to execute Menu Item Copy Cash Invoice Preview?" infolog.

While this normal user can open and view "Copy view" and "Original view". 

-> I also added this new report in PrintMgmtReportFormat table and its populate method.

-> I also added new menu in Privilege named SalesInvoiceCopyGenerate and SalesInvoiceGenerate.

-> Restarted service. 

But still same result.

Your guidance please.

Thanks,  


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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