The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing


<< end (timesheet) << Table Of Contents >> epilog >>


Keyword endcredit

This keyword should no longer be used. It will be removed in future versions of this software.

Use charge instead.

Purpose
Specifies an amount that is credited to the accounts specified by the chargeset attributes at the moment the task ends.
Syntax endcredit (<INTEGER> | <FLOAT>)
Arguments none
Context task, supplement (task)
See also charge

account project_cost "Project Costs"
account payments "Customer Payments"{
  credits 2007-01-01 "Customer down payment" 500.0,
          2007-01-14 "1st rate" 2000.0
}

balance project_cost payments

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

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

  task plan "Plan work and buy material" {
    # Upfront material cost
    charge 500.0 onstart
    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
    chargeset payments
    # Customer pays at end of acceptance
    charge 2000.0 onend
  }
}


<< end (timesheet) << Table Of Contents >> epilog >>


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.