- Himanshu Verma 9
- NEWBIE
- 0 Points
- Member since 2016
- SFDC Developer
- Mobilyte India Pvt Ltd
-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
6Questions
-
3Replies
How to get error message on based of record type?
Hii All,
A User edits a account record and changes the Status to Inactive,A account record exists:
If the Account record has any related Contact Status records where Record Type = Contact Shift and Status = Pending or Scheduled, then the system displays an error saying "You cannot deactivate a account that has pending or scheduled shift."
System displays the view screen for the related Account.
A User edits a account record and changes the Status to Inactive,A account record exists:
If the Account record has any related Contact Status records where Record Type = Contact Shift and Status = Pending or Scheduled, then the system displays an error saying "You cannot deactivate a account that has pending or scheduled shift."
System displays the view screen for the related Account.
- Himanshu Verma 9
- August 30, 2016
- Like
- 0
- Continue reading or reply
how to show errror message
Hii All,
If the account record has any related contact records where Record Type = Worker Shift and Status = Pending or Scheduled, then the system displays an error saying "You cannot deactivate a account that has pending or scheduled shift." System displays the view screen for the related contact.
If the account record has any related contact records where Record Type = Worker Shift and Status = Pending or Scheduled, then the system displays an error saying "You cannot deactivate a account that has pending or scheduled shift." System displays the view screen for the related contact.
- Himanshu Verma 9
- August 30, 2016
- Like
- 0
- Continue reading or reply
How to get this scenario with trigger
We need the unit test to verify that a user that should not modify a Worker Status record is unable to Delete it, and then to verify that a user who IS supposed to modify a Worker Status record IS able to Delete it. How to get with trigger ?
- Himanshu Verma 9
- August 18, 2016
- Like
- 0
- Continue reading or reply
When user click on button how to redirect the calendar view on selected date field in visualforce page?
Hi,
If the User enters a date in the Selected Date field and presses the 'Go' button, then the system centers the calendar view on the date that was entered. How to achieved this?
If the User enters a date in the Selected Date field and presses the 'Go' button, then the system centers the calendar view on the date that was entered. How to achieved this?
- Himanshu Verma 9
- August 12, 2016
- Like
- 0
- Continue reading or reply
Trigger on account deletion related contacts also delete
i want to write a trigger when i delete account related contacts also get deleted,please help me
- Himanshu Verma 9
- July 19, 2016
- Like
- 0
- Continue reading or reply
web to contact validation
I have a custom field event on lead and when we create lead it convert into account and contact. I want to create campaign record with name selected event field and also show related list in contact(campaign history).
please help
please help
- Himanshu Verma 9
- May 19, 2016
- Like
- 0
- Continue reading or reply
How to get this scenario with trigger
We need the unit test to verify that a user that should not modify a Worker Status record is unable to Delete it, and then to verify that a user who IS supposed to modify a Worker Status record IS able to Delete it. How to get with trigger ?
- Himanshu Verma 9
- August 18, 2016
- Like
- 0
- Continue reading or reply
Trigger on account deletion related contacts also delete
i want to write a trigger when i delete account related contacts also get deleted,please help me
- Himanshu Verma 9
- July 19, 2016
- Like
- 0
- Continue reading or reply