The TaskJuggler III User Manual

Project Management beyond Gantt Chart Drawing


<< copyright << Table Of Contents >> currency >>


Keyword credit

Purpose
Book the specified amount to the account at the specified date.
Syntax credit <date> <description> <amount>
Arguments date
See date for details.
description [STRING]
Short description of the transaction
amount
Amount to be booked.
Context account

account project_cost "Project Costs"
account payments "Customer Payments"{
  credit 2007-01-08 "Customer down payment" 500.0
}

resource tux "Tux" {
  rate 300
}
resource konqui "Konqui" {
  rate 200
}

task items "Room decoration" {
  start 2007-01-06
  # The default account for all tasks
  account project_cost

  task plan "Plan work and buy material" {
    # Upfront material cost
    startcredit 500.0
    length 2d
  }
   task remove "Remove old inventory" {
    allocate tux
    allocate konqui
    effort 1d
    depends !plan
  }
  task implement "Arrange new decoration" {
    effort 5d
    allocate tux, konqui
    depends !remove
  }
  task acceptance "Presentation and customer acceptance" {
    duration 5d
    depends !implement
    account payments
    # Customer pays at end of acceptance
    endcredit 2000.0
  }
}


<< copyright << Table Of Contents >> currency >>


Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 by Chris Schlaeger <chris@linux.com>.TaskJuggler is a trademark of Chris Schlaeger.