Skip to content

app.budget_totals

View

Budget totals, NULL-aware: the total is NULL while any line is unpriced, with the unpriced count and the priced subtotal beside it (Section 3.7, invariant 11).

Columns of app.budget_totals
ColumnTypeNullableDescription
budget_iduuidYesBudget.
project_iduuidYesProject.
currency_codecharacter(3)YesCurrency of the budget.
line_countbigintYesLines in the budget.
unpriced_countbigintYesLines whose unit price is NULL.
priced_total_minorbigintYesSum of the priced lines only; NULL when no line is priced.
total_minorbigintYesBudget total; NULL while any line is unpriced or the budget has no lines.
actual_minorbigintYesApproved and paid expenses against the budget.