[Solved] How do Prepared Reports "Actually" work?!?

Your post got me curious, so I did some digging.

In the SQL table 'tabReport', there are actually -2- fields that talk about Prepared Reports.

SELECT
   `name`,
    prepared_report,
    disable_prepared_report
FROM tabReport
WHERE disable_prepared_report = 1
   OR prepared_report = 1

In all of ERPNext v13, it appears there is only one report marked as ‘prepared_report’.

Stock Balance.

And sure enough, when you run that report? You get the “Generate New Report” button.

(by the way, after clicking that, I -never- have seen a message indicating completion. I always have to manually click the refresh button. every single time. See also: Scheduler for prepared report not working - #7 by Mohammed_Redha)

How does one mark an existing report as “Prepared Report”? You cannot. Frappe has made that field entirely non-editable.

image

Why is it this way? Is it deprecated? Is the documentation wrong, or the software?

:man_shrugging: