### The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing

<< accountreport << | Table Of Contents | >> active >>

Keyword | accountroot

Purpose | Only accounts below the specified root-level accounts are exported. The exported accounts will have the ID of the root-level account stripped from their ID, so that the sub-accounts of the root-level account become top-level accounts in the report file.
Syntax | `accountroot <ID>`
Arguments | none
Context | accountreport, resourcereport, taskreport, textreport, tracereport

    project "AccountReport" 2011-11-09 +1y {
      currencyformat "(" ")" "," "." 0
    }

    account resourceCost "Resource Cost" {
      aggregate resources
      account teamA "Team A"
      account teamB "Team B"
    }
    account productCost "Product Cost" {
      aggregate tasks
    }
    account customerPayments "Customer Payments" {
      credits 2011-12-01 "First downpayment" 80000,
              2012-06-01 "Second downpayment" 200000
    }

    balance productCost customerPayments

    resource teamA "Team A" {
      rate 420
      chargeset teamA
      resource "R1"
      resource "R2"
    }
    resource teamB "Team B" {
      rate 380
      chargeset teamB
      resource "R3"
      resource "R4"
    }

    task "Products" {
      chargeset productCost

      task p1 "Product 1" {
        effort 20m
        allocate teamA, teamB
      }
      task p2 "Product 2" {
        effort 18m
        allocate teamA
        priority 600
      }
      task p3 "Product 3" {
        effort 6m
        allocate teamB
        priority 600
      }
      task mf "Manufacturing" {
        depends !p1, !p2, !p3
        duration 2w
        charge 12000 onend
      }
      task "Final Payment" {
        depends !mf
        purge chargeset
        chargeset customerPayments
        charge 170000 onstart
      }
    }

    accountreport "TeamBudget" {
      formats html
      accountroot resourceCost
      balance -
      columns no, name, quarterly { celltext 1 "<-query attribute='turnover'->" }
    }

    accountreport "ProfiAndLoss" {
      formats html
      columns no, name, monthly
    }

<< accountreport << | Table Of Contents | >> active >>

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 by Chris Schlaeger <cs@taskjuggler.org>.TaskJuggler is a trademark of Chris Schlaeger.