The TaskJuggler Manual | ||
---|---|---|
Prev | Chapter 4. Tutorial: Your First Project | Next |
The use of our resources will create costs. For a profit and loss analysis, we need to balance the costs against the customer payments. In order not to get lost with all the various amounts, we declare 3 accounts to credit the amounts to. We create one account for the development costs, one for the documentation costs, and one for the customer payments.
account dev "Development" cost account doc "Documentation" cost account rev "Payments" revenue
The account property has three fixed attributes: an ID, a name, and a type. The type can either be cost or revenue. For the analysis TaskJuggler subtracts the total amount of all cost accounts from the total amount from all revenue accounts.
Accounts can also be nested. Nested accounts may not have a type specified. They inherit the type of the top-level account.