• RAHUL KARMAKAR
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 1
    Replies
Build a custom lead assignment engine, which uses a custom objects to store Lead assignment rules. Rule consider Lead’s geographic details, product and other fields.
Employee is a custom object on which below fields are to be created : 
Emp ID
Emp Email
Emp User  ( User Lookup )
Profile 
Role 
Designation 
Manager 
Last Logged In
IsActive

When a new employee record is created the following should be checked : 
1.    There should be no other employee associated with the same user as in the Emp User field
2.    If no User is provided ( blank ) then a new internal user record should be created “Salesforce License” and the user mandatory fields should get auto populated based on the above values. 
3.    If an InActive User is provided then only if the email id of the employee record and the user record match, the user record should be made active after employee record creation.

When an existing employee record is updated the following actions should be performed : 
1.    Update the user record if there is any change in Email, Role, Profile fields 

When an existing employee record is deleted or marked as InActive the following actions should be performed : 
1.    Mask the employee record email id
2.    De-activate the associated user record 
3.    Mask the user record email id with “_inactive” suffix

Write bulkified code for all the above tasks. 
 
Develop a VF page which would enable a user to assign profiles to multiple users at a time. User selection should be paginated

On Case record users should be able to put a case comment. Case is a standard object and Case Comment should be a custom object. Case detail page should be a VF Page and should display Case Comments Related List in an Expand/Collapase. I am on a urgent need of the code of the vf page please help me out
 
On Case record users should be able to put a case comment. Case is a standard object and Case Comment should be a custom object. Case detail page should be a VF Page and should display Case Comments Related List in an Expand/Collapase manner
Build a custom lead assignment engine, which uses a custom objects to store Lead assignment rules. Rule consider Lead’s geographic details, product and other fields.