Sequence for report calculation
Jump to navigation
Jump to search
Sequence on the Client
What happens when the User clicks "Generate Report"
- In the class TFrmPetraReportingUtils
- ReadControlsWithErrorHandling
- ReadControls
- In the Reporting form class:
- ReadControls
The ReadControls method reads the report settings and checks if they are valid. (Check for TVerificationResult)
- In the class TrptCalculator
- GenerateResultRemoteClient
- The Server calculates and generates the report
- AsyncProgressCheckThread checks if the sever has finished and enables for status bar updates. When the server calculated the result, get the results.
- GenerateResultRemoteClient
- In the class TFrmPetraReportingUtils
- PreviewReport (Displays the results of the report)
Sequence on the Server
- In the class TReportGeneratorLocigConnector
- Run()
- In the class TRptDataCalculator
- GenerateResult (Load the xml file, does some initialisation)
- Calculate (Initialises the header, footer and column captions)
- In the class TRptDataCalcLevel
- Calculate (Calculate the main level and recursively all the other leves)
- In the class TRptDataCalculator
- Run()