Budgeting
You can create milestones on the timeline, place each one on a date or in days from First Shooting Day, and move or delete them.
A milestone marks one day on the production timeline, for example the delivery. A cash flow rule can pay against a milestone instead of a fixed date, and the payment moves when the milestone moves. KOSMA places every milestone in days from one fixed milestone that every date depends on. In a budget created with **No Template**, it is called **First Shooting Day** in every interface language. A template can give it another name, and you can rename it. This article calls it First Shooting Day.
You need editing access to the budget. Without it, a double-click on the timeline creates nothing, and **Ok** in the **Timeline** is greyed out. Its tooltip says why.
Click  **Timeline** in the left panel. KOSMA opens the **Timeline** with the **Milestones** lane at the top and the **Work Phases** lane below.
Double-click an empty spot in the **Milestones** lane, on the day of the milestone. KOSMA opens **New Milestone** with that day as its date.
Under **Name**, type what the milestone stands for, for example Delivery. If **First Shooting Day** has a date, change the **Date** to place the milestone on another day.
If **First Shooting Day** has no date, the dialog shows **Position to First Shooting Day** instead of **Date**. Enter the number of **Days** after First Shooting Day, or a negative number for the days before it. When you point at the field, KOSMA shows:
To enter a date, set date in milestone First Shooting Day first.
Under **Select color**, choose the colour of the milestone on the timeline. Then click **Ok**. The milestone shows its name and date on the timeline. If **First Shooting Day** has no date, it shows `Day` and the number of days from First Shooting Day instead of the date.
Double-click the milestone to change it in **Edit Milestone**, or drag it sideways on the timeline.
You cannot drag **First Shooting Day**. To move it, double-click it and change its **Date**. KOSMA then moves every other milestone and phase by the same number of days, together with the payments set against them.
You cannot delete **First Shooting Day**. Double-click the milestone, then click  in **Edit Milestone** to delete it. You can also select the milestone on the timeline and press the Delete key. KOSMA asks:
Are you sure you want to delete this milestone?
Click **Delete**.
Click **Ok** in the **Timeline**. KOSMA saves every milestone you created, changed or deleted since you opened the timeline.
If you click **Cancel** in the **Timeline** or close it, KOSMA discards all of these changes, including milestones you confirmed with **Ok** in **New Milestone** or **Edit Milestone**.
A cash flow rule pays against the milestone. You can see this before you delete: the milestone carries a red dot on the timeline and in the legend. When you point at it, KOSMA shows how many rules use it, for example:
Used in 2 cash flow rules
If you delete it anyway, KOSMA shows **Milestone in use** with the number of rules, for example:
This milestone is used in 2 cash flow rules and cannot be deleted.
Click **Ok**. In each of these rules, choose another milestone or a fixed date, then delete the milestone again. For the steps, see [use milestones in cash flow rules](/kb/article/use-milestones-in-cashflow-rules). If the milestone only needs another day, move it instead (step 4).
Markdown