web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Insufficient rights to execute Menu Item Copy Cash Invoice Preview?

(0) ShareShare
ReportReport
Posted on by 1,813

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,  

*This post is locked for comments

I have the same question (0)
  • Rana Anees Profile Picture
    1,813 on at

    help please...

  • Verified answer
    Rana Anees Profile Picture
    1,813 on at

    I added new menu item "SalesInvoiceCopy_Cash" into SalesInvoiceCopyGenerate and SalesInvoiceGenerate Privileges.

    I removed it from SalesInvoiceCopyGenerate privilege and it started working.

    One more thing there was one another custom menu item at usr layer and I added my new menu at var layer.

    I deleted my var layer customization from SalesInvoiceGenerate privilege and added at usr layer.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans