Budgeting
You know what Clear Budget Data and Renumber Budget Items change in a budget and what you can undo.
The **Edit** menu has two commands that change a whole budget at once. With **Clear Budget Data**, you empty the figures and keep the structure. With **Renumber Budget Items**, you give the rows new numbers in their current order.
Use this command to keep the structure of a finished budget and enter new figures in it. In the **Edit** menu, choose **Clear Budget Data** and confirm with **Ok**.
Every account and subaccount then has a quantity of 1, a factor of 1 and a price per unit of 0, like a new account. Every markup has a base of 0 and a percentage of 0, so accounts and markups show 0. Extra costs with a fixed amount keep it, so the budget total does not drop to 0. Names and all other details stay. You can then type new figures straight into the same cells.
After you move rows, their numbers no longer follow the order of the rows. In the **Edit** menu, choose **Renumber Budget Items** and confirm with **Ok**.
Every row, markups included, then gets the number that matches its current place. Formulas follow: if account 9.02 becomes 9.04, KOSMA changes `ACCOUNT("9.02")` to `ACCOUNT("9.04")`. See [number accounts and groups](/kb/article/number-accounts-and-groups) and [reference another account in a formula](/kb/article/reference-another-account-in-a-formula).
If a cost control set was made from the budget, **Renumber Budget Items** changes only the numbers of accounts and markups. Categories and groups keep their numbers, and each account takes the number of its group. KOSMA changes the same numbers in every set made from the budget. If a set already uses one of the new numbers, KOSMA changes nothing and names the number and the set. See [how a cost control set relates to a budget](/kb/article/how-a-cost-control-set-relates-to-a-budget).
**Discard** in the **Project** menu does not undo these commands. KOSMA saves the budget about one second after the command, and **Discard** returns only to the last saved state, which already includes the command. **Discard** also deletes the Undo history, so you can no longer undo the command afterwards.
To undo **Clear Budget Data** or **Renumber Budget Items**, choose **Undo** in the **Edit** menu once. KOSMA restores all the old values, even after saving. For more, see [saving, discarding, and why KOSMA makes a budget read-only](/kb/article/save-discard-and-read-only).
KOSMA greys out the commands when you cannot edit the budget. This is the case on a Free licence, on a licence that does not cover Budgeting, on a budget that was shared with you for reading only, and when you are signed out. The reasons are in [what your licence includes](/kb/article/what-your-licence-includes).
Both commands work offline as long as you are signed in. KOSMA saves the change on this computer and syncs it when you are back online. See [work offline or in local-only mode](/kb/article/work-offline-or-in-local-only-mode).
Markdown