Cash Flow
You know when the Before and After columns appear, what each row counts in them, and what the Cash Flow and Cumulated cash flow rows each tell you.
**Before** and **After** show the money of each row that lies outside the plan window. **Before** holds what is dated before the window, **After** what is dated after it. With these two columns, the grid still shows all the money when you narrow the window.
KOSMA shows **Before** only when a row has money dated before **Start** or the plan has an opening balance other than zero, and **After** only when one has money dated after the last period column. KOSMA calculates the opening balance from all payments dated before **Start**. A new plan shows neither, because its first window spans every payment.
The columns appear when you narrow the window. When you move **Start** later, the payments before it appear in **Before**. When you move **End** earlier, the payments after the last period appear in **After**. You can move **Start** and **End** only between the first and the last payment of the plan. See [set the plan window](/kb/article/set-the-plan-window).
The grid has no header row. The chart right above it labels the columns: each period column with its date, the other two with **Before** and **After**.
On each income and expense row, **Before** shows the total of the payments dated before **Start**, and **After** the total of those dated on or after the end of the last period column.
The last period does not stop at **End**. It runs to the end of its month or week. For example, in **Monthly** with **End** on 15 March, the last column is March and runs to 31 March. Payments dated 15 and 20 March appear in March, a payment dated 2 April in **After**. With **End** on 1 April, March is still the last column, and a payment dated 1 April appears in **After**. A payment dated on **End** goes to **After** only when a new period starts on **End**: the 1st of a month in **Monthly**, the same weekday as **Start** in **Weekly**. A payment dated on **Start** falls into the first period.
When you switch between **Weekly** and **Monthly**, the last period ends on a different day. Money can then move between the last period column and **After**. The total on the far right stays the same.
An empty period cell means no money moved on that row in that period. A 0 means KOSMA calculated zero. When a row's money lies only outside the window, all its period cells are empty, and its money shows up in **Before** or **After**. A row that is empty everywhere usually has no cash flow rule on its account or source. See [why something is missing from the plan](/kb/article/why-something-is-missing-from-the-plan).
**Before** and **After** count only the companies the grid currently shows.
On every row except **Cumulated cash flow**, the last column shows the row's total over all time: **Before**, every period column and **After** together. Once money lies outside the window, this total no longer shows how much of the row falls inside the window.
**Cash Flow** and **Cumulated cash flow** stay at the bottom of the grid while the rows above them scroll. KOSMA shows **Cash Flow** in blue and negative figures in **Cumulated cash flow** in red.
| Row | What it shows for a period | | ----------------------- | -------------------------------------------------------------------------- | | **Cash Flow** | The income minus the expenses of that period alone | | **Cumulated cash flow** | The balance after that period: everything before it plus its **Cash Flow** |
**Cash Flow** carries nothing over from the period before. Several negative periods in a row are normal, because a production spends money long before it is paid. On **Cash Flow**, **Before** shows the income minus the expenses before the window, **After** the same after the window, and the last column the same over all time.
On **Cumulated cash flow**, **Before** shows the balance before the window: the income minus the expenses of everything dated earlier. Each period adds its **Cash Flow** to the balance. A period without payments shows the balance of the period before. **After** shows the balance after the last period plus the income minus the expenses dated after the window. On this row, the last column adds nothing up, because balances cannot be added. It shows the balance after the last period, without **After**.
The lowest figure in **Cumulated cash flow** shows the period in which the production has the least money, or owes the most. A credit facility has to cover at least that amount. See [add a credit line](/kb/article/add-a-credit-line).
Markdown