Renders a developer review of a named calculation group, showing each SQL step with variable tracking and syntax highlighting.
REVIEWCALCULATION — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — calculation group name (lowercased, matched against def_calculation.CalculationGroup).Param2 — optional tracking GUID; when provided, the report fetches the most recent resolved SQL and return values from track_calculations and overlays them on the rendered steps.Returns an HTML string showing a metadata table of all versions of the calculation group, followed by each SQL step in the active version rendered with render_sql.
render_set(package, calculation, calculation_group_guid, tracking_guid)Queries def_calculations for all steps in the given group GUID (ordered by Rank), renders each with variable tracking, and highlights unused context variables. Accepts an optional tracking_guid to pull resolved values from track_calculations.
ObjReportReview; uses render_sql and scan_variables from the base class.highlight.js (v11.9.0) and the SQL language plugin.Active = 'Y' or an empty Active field.