[Vtigercrm-developers] Automatic Calendar Entry

Prasad prasad at vtiger.com
Fri Jun 6 05:49:29 PDT 2008


Hi Scott,

Activity class itself is used for both Task and Events. However columns used
slightly differs.

To create Event (Call) instead of Task (Todo) here is the solution

Instead of the following lines:
$event->column_fields['activitytype']  = 'Task';
$event->column_fields['taskstatus']    = 'Planned';

Change it to:
$event->column_fields['activitytype']  = 'Call';
$event->column_fields['eventstatus']   = 'Planned';

Regards,
Prasad
vtiger Team

On 6/6/08, Scott Brown <scott at centritechsolutions.com> wrote:
>
>  Prasad,
>
>
>
> This looks like exactly what I want except, I'd like to see it as an event
> instead of a To Do/Task.  What is the class to use to create an Event on the
> calendar instead of a Task.
>
>
>
>  [image: Centritech Solutions Logo]
> Scott Brown
> Tel: 804-360-9753 Ext. 400
> Fax: 1-800-851-0516
> http://www.centritech.net
>   ------------------------------
>
> *From:* Prasad [mailto:prasad at vtiger.com]
> *Sent:* Friday, June 06, 2008 8:06 AM
> *To:* scott at centritechsolutions.com;
> vtigercrm-developers at lists.vtigercrm.com
> *Subject:* Re: [Vtigercrm-developers] Automatic Calendar Entry
>
>
>
> Hi Scott,
>
> I have attached the documentation of achieving your requirement with more
> details.
>
> Also the customized patch is attached in the mail (which is w.r.t vtiger
> CRM 5.0.4)
>
> If you need further customization you can drop in email at
> services at vtiger.com
>
> Regards,
> Prasad
>
> On 6/5/08, *Scott Brown* <scott at centritechsolutions.com> wrote:
>
> Does anybody know of an add-on or a way to have calendar entry
> automatically created when creating a trouble ticket.  We create a trouble
> ticket for each service order and then create a calendar entry and have them
> related.  There is a lot of double entry doing this.
>
>
>
> My thoughts were to have an option that says create calendar entry(yes/no).
> When a ticket is saved it would take the title and some other custom fields
> and create a calendar entry and assign it to the username that is assign to
> the ticket.
>
>
>
>
>
> Anybody have any thoughts on this?
>
>
>
>  [image: Centritech Solutions Logo]
> Scott Brown
> Tel: 804-360-9753 Ext. 400
> Fax: 1-800-851-0516
> http://www.centritech.net
>
>
>
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080606/df0ec125/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2190 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080606/df0ec125/attachment-0003.jpe 


More information about the vtigercrm-developers mailing list