CalculationResult


Description

Report calculation results storing computed values and results from report calculations and business intelligence queries. This table maintains calculated results for performance metrics, financial summaries, and analytical reports with user and market-specific tracking for dashboard displays and reporting systems.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ResultID int identity 4 null

Primary key - Unique identifier for each calculation result

fkConfigID int 4 null

Configuration reference - Links to CalculationConfig for the calculation definition

UserID int 4 null

User reference - Links to the user who requested or owns this calculation result

Result decimal 20,2 ((0))

Calculated value - The computed result value from the calculation

UpdatedDate datetime 16,3 null

Update timestamp - Date and time when the result was last calculated

DeletedDate datetime 16,3 null

Deletion timestamp - Soft delete date for audit trail purposes

fkCalculationMarketId int 4 null

Market reference - Links to market-specific calculation parameters

Indexes

Constraint Name Type Sort Column(s)
PK_SummaryResult Primary key Asc ResultID
IX_CalculationMarketId Performance Asc fkCalculationMarketId
IX_ConfigID Performance Asc fkConfigID
IX_UserId Performance Asc UserID

Relationships