...
If budget has no included budgets "Plan" is filled manually. If budgets are included, then "Plan" is calculated from plans of included budgets and the field becomes read only.
Fact field is read only and is calculated automatically with transactions with "Fact" status that correspond to budgets conditions (period, direction, department etc.).