[budget_sample]

Budgeting — Sample Actuals

Try it in your workspacefree workspace · you confirm before anything installs

v0.3.2 · 30 installs · free

What it does

budget_sample is a reference module, not a finished product. It shows how an external source posts actual amounts into the budget module, so planned figures and real figures meet on the same budget line.

It is meant to be read, copied and adapted. Replace its actual_fact entity with your own document (an expense claim, a purchase, a timesheet) and keep the same posting pattern.

What it demonstrates

  • A posting column on your own document — actual_fact has an "A" column, Budget Posting, driven by a Posted checkbox.
  • Posting into another module's entity — ticking Posted adds the fact's amount to the actual_amount of the referenced budget.line. Unticking it reverses the amount.
  • Postings only on planned lines — the posting does not create budget lines, so a fact can only land on a line that already exists.
  • Locked once posted — the budget line and the amount cannot be changed while the fact is posted.
  • Extending another module's entity — the module adds an Actual Facts set to budget.line, so a line shows the facts that make up its actual.

What it contains

Entity Purpose Key fields
actual_fact One actual amount against a budget line budget_line, amount (at least 0.01), memo, Posted
budget.line (extension) Adds the facts set to the budget line actual_facts

Views: Actual Facts (grid) and Budget Lines & Facts (budget lines; opening one shows its facts in a card layout). Role: budget_sample.admin, with full rights on facts and read access to budget categories, periods and lines. There is no seed or demo data.

How to use it

  1. Install budget and plan some budget lines.
  2. Install budget_sample and add an actual fact against a line.
  3. Tick Posted. The line's actual and variance update.
  4. Copy the post_to_budget column definition into your own entity to feed the budget from your data.

Extends other modules

What this module adds to entities of other modules.

Budgeting budget

Budgeting — Sample Actuals
Try it
/ explore more

Browse the full
module catalog.

Every module is metadata — install it in one click, then change anything.