Cost Control
You can delete one or several cost items, undo a deletion and tell when moving or editing an item is the better fix.
Delete a cost item only to clear a duplicate or a commitment that was cancelled before it was paid. For most other problems, moving or editing the item is the better fix.
In the **Cost Items** panel, KOSMA deletes an item without asking. You can undo it only right after, with **Edit** > **Undo**.
Do not delete a paid cost item unless it is a duplicate. The payment stays, and the set no longer agrees with the accounting. Move or edit the item instead.
In the **Cost Items** panel under the account, click  **Delete cost item** in the item's row. KOSMA deletes the item and recalculates the account.
 **Delete** in the toolbar and the `⌫` or `Delete` key never delete a cost item. They delete the selected account with its subaccounts, even when a cost item is selected in the **Cost Items** panel. The budget the set came from stays unchanged. If a markup row is selected, KOSMA deletes the markup without asking.
Before deleting an account, KOSMA asks you to confirm:
Are you sure you want to delete {count} account(s)? Subordinate subaccounts will be removed too.
To keep the account, click **Cancel**.
In the toolbar, click  **Cost Item List**. KOSMA opens the **Cost Items List** with every item on the set's accounts. Select the items. To select every item the filters leave visible, press `⌘ A` (`Ctrl A` on Windows). Then click **Delete Selected**. KOSMA asks before it deletes the items:
Are you sure you want to delete selected cost item(s)?
To delete a single item from the list, click  **Delete** in its row. KOSMA asks here too. For the list's columns and filters, see [work with the cost item list](/kb/article/work-with-the-cost-item-list).
A markup row can have cost items too. They are not in the list. Delete them one at a time in the **Cost Items** panel under the markup row with  **Delete cost item**.
The account's **Expected** or **Paid** falls by the item's amount. If **Consolidate** is off and the items add up to no more than the forecast you entered, **Forecast** stays as it is. **Free** (the forecast minus what is booked) then rises by the item's amount.
With **Consolidate** on, **Forecast** falls by the item's amount and **Free** stays the same. With it off, if the items add up to more than the forecast you entered, **Forecast** falls too, but never below that figure. Say you entered 100 and the items total 120: deleting 30 drops **Forecast** to 100, and **Free** rises by only 10. Deleting 15 leaves **Free** at 0.
A paid cost item records money that the production has paid out, so it stays in the set unless it is a duplicate.
| The problem | The fix | | ---------------------------------------- | -------------------- | | Booked to the wrong account | Move it | | The same cost booked twice | Delete the duplicate | | The amount is wrong | Edit it | | The commitment was cancelled, never paid | Delete it |
To book an item on another account, see [move cost items to another account](/kb/article/move-cost-items-to-another-account).
A commitment you entered by hand and the matching invoice from a later import can become two items for one cost. This happens when the import cannot match the two by itself. **Find Duplicates** is still greyed out, so search by hand: open the **Cost Items List** and type the reference or a word of the description into the filter box above **Reference** or **Description**. Then delete the commitment you entered by hand. The imported invoice is paid and stays.
You can also avoid creating the duplicate. When you import the invoice, in the fourth step, drag the imported line onto the item you entered by hand. See [import accounting data](/kb/article/import-accounting-data).
Markdown