• s_rubdi
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Business Requirement:

 

Lock records from editing if they are > 2 weeks old.

 

Proposed Solution:

 

Develop a validation rule that prevents a non-system administrator end user from editing a record > 14 days old.

 

Error Condition Formula:

 

AND 

TODAY() - (DATEVALUE(CreatedDate)) > 14 , 
NOT( $Profile.Id ="00e3000000xxxx") 
)

Business Requirement:

 

Lock records from editing if they are > 2 weeks old.

 

Proposed Solution:

 

Develop a validation rule that prevents a non-system administrator end user from editing a record > 14 days old.

 

Error Condition Formula:

 

AND 

TODAY() - (DATEVALUE(CreatedDate)) > 14 , 
NOT( $Profile.Id ="00e3000000xxxx") 
)

Hi,

 

I have a requirement wherein I need to prepopulate the Due Date field on tasks[Created from an Opportunity] by the current date. I have overrridden the New button of tasks with an S-control. 

 

It would be helpful if you could help me in pre-populating the due date field with the current date.

 

 

 

  • July 13, 2012
  • Like
  • 0