Remove Schedule Button from Report

guidorobbenguidorobben Posts: 157Member
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 Posts: 137Member, Microsoft Employee
    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 Posts: 4,262Member, Moderators Design Patterns
    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ødovrePosts: 9Member
    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.