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

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

How to print x- or z-report via custombutton?

(0) ShareShare
ReportReport
Posted on by

Hey,

I would like to build a custombutton that shows a dialog in which you can choose between functions like x- or z-report. If the user chooses one of these, I have to manually generate that report from source.

How can I do this? I can change the transactiontype to 16 (x-report) but nothing happens at the pos. Only in the left top corner I can see that the transactiontype has changed correctly but how can I post my action?

Please don't ask me why I m not using the F5 at the pos, I have to avoid this by security. I m searching for the possibility to call z- or x- report via a com-component on a custombutton.

thx

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    Re: How to print x- or z-report via custombutton?

    x-report should be too hard.  You will have to generate the report and then hook the printer and output the report.

    Z-report is much harder because it closes the batch, resets the current totals, updates the daily tables for the daily sales reports, and prints the report.  

    Why not just put security on the F5 button.  By not allowing the other options does this meet your goals?  Because you can block the other options.

    You can try the FireEvent PrintZReport and PrintXReport as a function of a custom button.

    put that in the command field.  Then you can set security on the buttons individually.

    Thanks

    Ed Boyer

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans