How to use Recalculate Cube process in iDempiere

Introduction

Recalculate Cube is a background process window in iDempiere that rebuilds summarized accounting facts stored in the Fact_Acct_Summary table based on the dimensions defined in a Report Cube.

It runs from the Performance Analysis module whenever Report Cube definitions change or accounting data grows, and it can be launched manually or scheduled as a job.

Accurate cube summaries keep performance reports, dashboards, and OLAP-style analysis fast and consistent with the underlying Fact_Acct transactions.

Process Flow Diagram

TenthPlanet-iDempiere-Process-RecalculateCube-ProcessFlow

Business Rules

  • Only active Report Cube definitions are processed during recalculation.
  • Full rebuild clears existing summary records before regenerating them.
  • Force option recalculates records even when no changes are detected.
  • Run as Job executes recalculation asynchronously without blocking the session.
  • Recalculation is scoped to the client of the logged-in user.
  • Leaving Report Cube blank processes all active cubes for the client.
  • Summary data in Fact_Acct_Summary reflects only the last successful recalculation.

Prerequisites

  • Report Cube definition configured in the Performance Analysis module.
  • Accounting facts already posted to the Fact_Acct table.
  • Report Cube dimensions and measures configured correctly.
  • User role has access to the Recalculate Cube process and Report Cube window.

Navigation

Menu → Performance Analysis and Accounting → Financial Reporting → Recalculate Cube
TenthPlanet iDempiere Process RecalculateCube 1

After opening the window, users see a Report Cube selector along with Full rebuild, Force, and Run as Job checkboxes, plus OK and Cancel buttons at the bottom.

TenthPlanet iDempiere Process RecalculateCube 2

Configuration Steps

Step 1: Select the Report Cube

Choosing the Report Cube determines which summary definition is being rebuilt. Leaving it blank recalculates every active cube for the client.

Instructions

Open the Report Cube dropdown and select the cube to recalculate, or leave it empty to process all active cubes for the current client.

TenthPlanet iDempiere Process RecalculateCube 3
FieldSample ValueDescription
Report CubeSales Performance CubeReport cube definition whose summary facts will be rebuilt

Step 2: Decide on Full Rebuild

Full rebuild is required after structural changes to a cube, such as new dimensions or measures, since old summary rows no longer match the definition.

Instructions

Check Full rebuild only when the cube structure changed or summary data looks incorrect; leave it unchecked for routine incremental updates.

FieldSample ValueDescription
Full rebuildUncheckedClears existing Fact_Acct_Summary rows before regenerating them

Step 3: Enable Force if Needed

Force overrides the system’s internal check that skips cubes it considers already up to date, useful when summary data is suspected to be out of sync.

Instructions

Check Force when totals look stale despite no reported errors, such as after a manual correction to accounting facts.

TenthPlanet iDempiere Process RecalculateCube 4
FieldSample ValueDescription
ForceCheckedForces recalculation even if the system detects no pending changes

Step 4: Choose Run as Job for Large Datasets

Large cubes can take significant time to rebuild; running as a background job prevents the user session from timing out during processing.

Instructions

Check Run as Job for large or multi-organization cubes so the process executes in the background instead of holding the browser session.

FieldSample ValueDescription
Run as JobUnCheckedSubmits the recalculation as an asynchronous background job
Note: Running large or multi-organization Report Cubes without Run as Job may cause the browser session to time out before the process finishes.

Step 5: Execute the Process

Submitting the process starts the recalculation and returns a completion log summarizing the cubes processed.

Instructions

Click OK to run the process, or Cancel to close without recalculating. Review the process log for confirmation once it completes.

TenthPlanet iDempiere Process RecalculateCube 5

Common Issues and Resolutions

IssueCauseResolution
Process times out on large cubesSynchronous execution on high Fact_Acct_Summary volumeEnable Run as Job to process in the background
Summary data appears outdatedFull rebuild not selected after a cube definition changeRerun the process with Full rebuild enabled
No Report Cube listed in dropdownNo active Report Cube record existsCreate and activate a Report Cube definition first
Recalculation processes zero recordsCube dimensions do not match posted Fact_Acct dataReview the cube’s dimension and measure configuration
Recalculation does not affect other clientsProcess is scoped only to the logged-in clientLog in under the target client and rerun the process
Duplicate or inconsistent summary rowsRepeated runs without Full rebuild after structural changesRun Full rebuild to clear and regenerate cleanly
Background job never appears to completeProcess Scheduler or job queue is not activeVerify the Process Scheduler is running and retry

Next Steps

  • Configure additional Report Cube definitions for other reporting dimensions.
  • Schedule Recalculate Cube as a periodic Process Scheduler job.
  • Review Performance Analysis dashboards to confirm updated cube data.