[OGo-Developer] referredPerson in tasks

Helge Hess developer@opengroupware.org
Tue, 13 May 2008 14:46:06 +0200


Hi,

not sure whether its what you are looking at, but there is some  
'preferred job executant' facility which is turned off per default. It  
somehow connects a 'preferred' account to a contact, the contact  
viewer is extended with a 'new task' button.

I don't remember the exact behaviour, but I have written it down  
somewhere. I think the functionality wasn't too bad, though the  
implementation is a bit weird.


Besides that I was playing with an InReply link, maybe thats what you  
want:
---snip---
SELECT * FROM Job BASE
   WHERE BASE.job_id IN
     (SELECT source_id FROM obj_link
      WHERE target_id = 10160 AND link_type = 'InReply');
---snap---
We could always set this if some object was created 'in reply' to  
another object. Eg if you create a task for a contact or something.

Greets,
   Helge