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.
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).
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 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)
Comments
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).
Microsoft - Dynamics NAV
The button will still be there though.
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)