Skip to content

app.budget_revised_totals

View

Budget totals with approved change orders applied. Only fully priced change orders can be approved, so the approved amount is never unpriced; the revised total is NULL while the budget itself has an unpriced line (Section 3.7).

Columns of app.budget_revised_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.
total_minorbigintYesOriginal total; NULL while any line is unpriced.
actual_minorbigintYesApproved and paid expenses against the budget.
approved_change_countbigintYesApproved change orders against the budget.
approved_change_minorbigintYesSum of approved change orders; zero when there are none.
revised_total_minorbigintYesOriginal total plus approved change orders; NULL while the original total is NULL.