Understanding the Budget Checking Calculation

The G/L Budget Checking Report uses this predefined calculation:

Primary ledger – (second ledger + third ledger) = available budget amount