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**, and **After** only when a row has money dated after the last period column. When nothing lies outside the window, KOSMA shows neither column. The first window of a new plan spans every payment the plan has, so a new plan shows neither **Before** nor **After**.
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).
**Before** stands between the row names and the first period column, **After** between the last period column and the last column of the grid. When you scroll sideways, **Before** and **After** scroll with the periods, and the row names and the last column stay in place. The grid has no header row: the captions **Before** and **After** stand in the chart above the grid.
On each income and expense row, **Before** adds up the row's payments dated before **Start**. **After** adds up the row's payments dated on or after the end of the last period column.
Each period runs from its start date up to the start of the next period. The last period does not stop at **End**: in **Monthly**, it runs to the end of its month. A payment dated on **Start** falls into the first period. A payment dated on **End** falls into **After** only when a new period would begin on **End**. In **Monthly**, that is the 1st of a month. In **Weekly**, it is a day a whole number of weeks after **Start**. Otherwise, the payment stays in the last period column. When you switch between **Weekly** and **Monthly**, KOSMA can therefore count money in **After** that was in the last period column before, or the other way round. The last column of the income and expense rows stays the same.
An empty period cell means that no money moved on that row in that period. A 0 means that KOSMA calculated zero for that period. When a row's money lies only outside the window, all its period cells are empty, and its money stands 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. When you switch to another company, they change together with every other figure.
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. The period columns show the money 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.
**Cumulated cash flow** starts from its **Before**: the income minus the expenses of everything dated before the window. In each period, KOSMA adds that period's **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. The last column shows the balance after the last period, because a running balance cannot be added up across periods.
The lowest figure in **Cumulated cash flow** marks the period in which the production comes closest to running out of money. A credit facility has to cover at least that amount. To draw a credit ahead of that period, see [add a credit line](/kb/article/add-a-credit-line).
Markdown