/* * John Poelstra * TaskJuggler Workshop -- exercise #4 */ project poelcat "Poelcat 1.0 First Voyage" "0.1" 2007-04-01 2007-06-01 { # Hide the clock time. # Show only show the date in DAY-MONTH-YEAR format timeformat "%d-%b-%Y" } account expense "Expense Accounts" cost { account labor "Salary cost" account equipment "Computer hardware" } account income "Revenue Accounts" revenue { account receipts "Customer Payments" } # create an opaque team resource opaque_team "Opaque Team of Five" { efficiency 5.0 rate 25000 } task projstart "Poelcat 1.0 First Voyage" { start 2007-04-02 } # Work performed task step1 "Step 1- Scope Hardware requirements" { depends projstart duration 3d allocate opaque_team account labor } task steptwo "Step 2" { depends step1 length 2w allocate opaque_team account labor } task steptres "Step 3" { depends steptwo duration 5d allocate opaque_team account labor } task step4 "Step 4" { depends steptres length 3w allocate opaque_team account labor } # buy hardware task setup "Buy Hardware" { depends step1 account equipment startcredit 500000 } # payments from customers task payment1 "Customer Installlment Payment" { depends step1 milestone startcredit 50000 account receipts } task payment2 "Customer Installment Payment" { depends steptres milestone startcredit 50000 account receipts } task payment3 "Customer Payment" { depends step4 milestone startcredit 1500000 account receipts } # basic reporting taskreport "Tasks" { columns name, start, end, chart } # accounting reports # A P&L report for the project. htmlaccountreport "Accounting.html" { # Besides the number of the account and the name we have a column # with the total values (at the end of the project) and the values # for each month of the project. columns no, name, scenario, total, monthly headline "P&L for the Project" caption "The table shows the profit and loss analysis as well as the cashflow situation of the Accounting Software Project." # Since this is a cashflow calculation we show accumulated values # per account. accumulate } htmlaccountreport "PAndL.html" { timeformat "%d-%M-%y" accumulate columns index, name, weekly }