Remove Schedule Button from Report

guidorobbenguidorobben Member Posts: 157
edited 2015-02-17 in NAV Three Tier
Is there a way to remove the Schedule.. button from the reports in 2015? I have looked at all the properties, but it doesn't looks like there is a way.

I just want to avoid that some reports are scheduled.

Comments

  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    No.
    However, when you run a report modally (RUNMODAL), it will not show the Schedule... button, as the RUNMODAL implies that the report/batch job should be processed in context of the code (e.g. Copy Document).
    Bardur Knudsen
    Microsoft - Dynamics NAV
  • Mark_BrummelMark_Brummel Member, Moderators Design Patterns Posts: 4,262
    Without looking at the code and details I seem to remember that a trigger is fired when scheduling a report. I guess you can add some (generic) code there that prevents reports from being scheduled.

    The button will still be there though.
  • emerikspemeriksp RødovreMember Posts: 9
    edited 2019-10-09
    The schedule button only appears on ProcessingOnly-reports.
    As mentioned above, running the report modally might remove the button too.

    I am not aware of other ways to hide the Schedule-button.

    Otherwise, have a look at function ReportScheduler() in codeunit 1, which calls the report scheduler page 682. (True for NAV2017, I haven't checked with NAV 2015)
Sign In or Register to comment.