Cash Flow
You can find the accounts whose amounts are missing from the cash flow plan and give each one a cash flow rule.
An account, a subaccount or a markup without a cash flow rule is missing from every period of the cash flow plan. You find these rows from the plan and give each one a rule in Budgeting. For this you need the **Budget** licence or a higher one. You do not need a licence that edits cash flow.
While a row has no rule, the budget line under **Linked Sources** shows  with a red bubble. The bubble opens by itself and says:
There are accounts (=expenses) in your budget which do not have a cash flow rule. The cash flow display of the expenses is incomplete.
KOSMA counts only rows that have no rule at all. A row whose rule is incomplete (see the note under step 1) is also missing from the plan, in full or in part, but KOSMA does not count it. If only such rows are left, the budget line shows neither  nor the bubble. If a source of the financing plan has no rule, the bubble then opens on the financing plan line instead. In that case, set the filter in Budgeting yourself, as described in the last section of this article.
In the red bubble, click **Click here to complete**. KOSMA opens Budgeting on the budget the plan reads, with the filter **Cash flow rule**, **is**, **empty** already applied. The grid lists every row without a valid rule of its own. This includes rows with a total of 0 and accounts whose subaccounts each have their own rule. Neither leaves money out of the plan, so neither needs a rule.
The grid shows these rows only for the category selected under **Categories** on the left, and **Categories** lists only the categories that contain such rows. Click each category in turn. The **Grand Total** below the list adds up the totals of the listed accounts of every category.
The list also shows rows whose rule is incomplete, for example with percentages that do not add up to 100 %, or with a milestone while the timeline has no first shooting day. Such a row is missing from the plan in full or in part. Correct its rule as in step 2.
Select a listed row, then click  **Edit cashflow rule** on the **Cashflow** panel. KOSMA opens **Set Cash Flow Rule**. For the settings in it, see [set a cash flow rule on an account](/kb/article/set-a-cashflow-rule-on-an-account). A rule on an account also applies to each of its subaccounts that has no rule of its own.
If the list is long, start with the rows that have the largest totals. They leave the most money out of the plan.
For costs tied to the shoot, base the rule on a milestone. Milestone dates count from the first shooting day of the timeline, so the payment moves when the shoot moves. A rule on a calendar date stays where it is.
Go back to the cash flow plan. Once every row has a rule, the red bubble no longer opens on the budget line. With **Combined Producers** selected under **Producer**, the plan's expenses now include the total of every row you gave a rule. If sources of the financing plan lack a rule too, the red bubble now opens on the financing plan line; see [find sources without a cash flow rule](/kb/article/find-sources-without-a-cash-flow-rule).
In that case, **Click here to complete** opens Cost Control on that set. The rows to fix are its unpaid cost items. Give each one a rule in its **Cashflow** panel as in step 2. An account whose forecast is higher than the sum of its cost items also needs a rule in its own **Cashflow** panel, or, if it has subaccounts, in theirs: KOSMA places the part of the forecast that no cost item covers by that rule. For this you need the **Cost Control** licence or a higher one. You cannot change the rule of a paid cost item. When you point at its pen, KOSMA shows:
This cost item is paid and carries a payment date — its cashflow rule can no longer be changed
The filter does not list markups. In the **Account Details** column, a markup without the dot in the colour of the **Cashflow** panel has no valid rule. Give it a rule in its **Cashflow** panel as in step 2. The tooltip of the column header explains the dots:
Account details — each coloured dot marks a detail this account contains, colour-matched to its detail panel. A half-filled dot means the subaccounts have mixed content; a ring means subaccounts inherit their content from the parent account.
**If the budget line shows no bubble, or the link does nothing.** If only rows with an incomplete rule are left, the budget line shows no bubble. The link does nothing when KOSMA cannot find the budget the plan reads. In both cases, if you can open that budget in Budgeting, set the filter yourself: click  **Filter**, choose **Cash flow rule**, **is** and **empty**, and click **Apply**. The grid then lists the same rows as after step 1.
Markdown