Results 1 to 5 of 5

Thread: Task Start Date should not lesser than project start date

  1. #1
    scvinodkumar is offline Member
    Join Date
    Sep 2008
    Posts
    18

    Smile Task Start Date should not lesser than project start date

    Hi there,

    I will explain now,

    If i added a project and will start from 20 oct 2008.

    And then if i add a task to this project, then the start date for this task should be greater or equal to project start date.

    How to do this in sugarcrm?

    I hope you peoples can understand this easily.

    Regards
    SCVinodKumar

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Task Start Date should not lesser than project start date

    Hi SCVinodKumar

    Which SugarCRM version are you using?
    The implementation changes according to version.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    scvinodkumar is offline Member
    Join Date
    Sep 2008
    Posts
    18

    Smile Re: Task Start Date should not lesser than project start date

    Hi andopes

    I am using sugar5.1 version

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Task Start Date should not lesser than project start date

    Hi SCVinodKumar

    Are you experienced to SugarCRM programming?
    To accomplish easily this feature you need to:

    1. Customize the system to only create Project Tasks through Project Task Subpanel under Project DetailView;
    2. Create an extended Vardefs for Project Task to add a new field (project_date_start) and add a validation attribute into date_start which assure the date_start is greater or equal to project_date_start;
    3. Create a controller for Project Task which identify the related project to get its date start and fill into project_date_start;
    4. Edit the custom/modules/ProjectTask/metadata/editviewdefs.php to add a customCode for any field where you will define a hidden field project_date_start;

    This way the user can define a date start lower than the project date start, but when clicking on Save button the validation will check the inconsistence and avoid submitting the form, forcing the user to update that date.

    Let me know if you need additional help.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    scvinodkumar is offline Member
    Join Date
    Sep 2008
    Posts
    18

    Thumbs up Re: Task Start Date should not lesser than project start date

    Hi andopes,

    Thanks for your hints.

    I am not well experienced in sugarcrm but have knowledge in php verywell.

    I will go through the steps one by one and let me update you once i completed.

    Thanks/SCVinodKumar

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Due Date on Project Task
    By morn in forum Help
    Replies: 3
    Last Post: 2009-11-17, 08:52 AM
  2. Replies: 0
    Last Post: 2008-06-03, 08:16 PM
  3. Project Task due date requirement
    By dschaefer in forum Feature Requests
    Replies: 0
    Last Post: 2006-02-03, 07:08 PM
  4. Replies: 3
    Last Post: 2005-09-01, 06:16 AM
  5. Project task start and end dates not saving
    By bpoteet in forum General Discussion
    Replies: 0
    Last Post: 2005-07-14, 11:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •