[taskjuggler] Re: vacation-report

From: Ernst Pfann (pfann_at_br-online.de)
Date: Tue Aug 12 2003 - 16:45:41 CEST


From: Ernst Pfann <pfann@br-online.de>
Date: Tue, 12 Aug 2003 16:45:41 +0200
Message-Id: <200308121645.41335.pfann@br-online.de>
Subject: [taskjuggler] Re: vacation-report

Hi Chris!

Am Montag, 11. August 2003 16:44 schrieb Chris Schlaeger:
> On Monday 11 August 2003 15:59, Ernst Pfann wrote:
> > Another problem is to create an away-report. This should be a
> > calendar/staff-table with colored dates, where a resource has vacation or
> > is not in house.
> > If i use "flags away", it seems to be not possible, to create a report
> > using this flag (without tasks in the report).
> > "hidetask ~away" leeds me to a tree view of tasks, which is not what i
> > want. "export away.tjp" knows nothing about allocations.
> > To you have any hint for me, how to create such a report?
>
> You have lost me there. Where are you attaching the flags to? What type of
> report are you generating?

I want to generate something like this:

-------------------------------------
Name Aug 2003
             1 2 3 4 5 6 7 8 9 10 ...
Ernst Pfann x x x x x x
Florian Hub x x
Gerd Müller x x
-------------------------------------
where 'x' means, the person is in vacation or not in house (i. e. workshop).

The information source are resource-properties i.e.:

  resource EP "Ernst Pfann" { vacation 2003-08-02 - 2003-08-07-23:59 }

and a tasks.tjsp with "flags away", i.e.:

  task xml "XML Schulung"
  {
   flags away
   priority 950
   start 2003-08-09
   end 2003-08-10
   allocate FH
   allocate GM
  }

The goal is a report which answers the question:
I can't find this guy - when he will be back?

Your tip (hideresource 0) is very good :-)
Now i do:

export "away.tjsp"
{
  hidetask ~away
  hideresource 0
}

... and compile a away.tjp which includes away.tjsp and the nessesary
reporting. After your recoloring-trick - everything is fine :-)

Thank you very much for your help!!!

Mit freundlichen Grüßen
Ernst Pfann

-- 
Bayerischer Rundfunk                          Rundfunkplatz 1, D-80300 München
Tel: +49 89 5900-16016    Fax: +49 89 5900-16000    E-Mail: pfann@br-online.de
Absolute Macht korumpiert absolut. Was ein Problem ist, wenn man keine Macht
hat.                                     --Drago Museveni, "Manifesto" CY 8433
-- 
To unsubscribe, email the address listed in the List-Unsubscribe header
For additional commands, email: taskjuggler-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue Aug 12 2003 - 16:48:12 CEST