• SudipT
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies
I have written this code block,
trigger Firm_LOB_Check on Fund__c (before insert, before update) {
for (Fund__c lfund : Trigger.new) {
Firm__c f  = [select Line_Of_Business__c FROM Firm__c where Id = :lfund.Firm__c];
f.Name.AddError('Error');
}
}
 
I get the below mentioned error message when the trigger gets fired. If anyone got an idea please share.
 
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger Firm_LOB_Check3 caused an unexpected exception, contact your administrator: Firm_LOB_Check3: execution of BeforeInsert caused by: System.Exception: SObject row does not allow errors: Trigger.Firm_LOB_Check3: line 10, column 1
  • April 25, 2008
  • Like
  • 0
Hi,
 
I have the following queries regarding entering values in SFDC fields:
 
1. Can we make a field such that whatever data is entered in the field is saved in UPPERCASE?
2. How to restrict entry of special characters in a field?
 
If someone has got an idea to achieve this, please share.
 
Thanks,
Sudip
  • November 29, 2007
  • Like
  • 0
Hi,
 
I wanted to know the following about public groups:
 
In a public group, what access rights do the members have on each other records, if the organization wide default for the object is private?
 
Help on this will be highly appeciated. If someone can tell if there is some documentation around public group members access rights in Salesforce, it will be great.
 
Thanks,
ST
  • November 18, 2007
  • Like
  • 0
Hi,
 
I want to know, how I can get Visualforce activated for my salesforce instance?
 
Thanks and Regards,
Sudip
  • November 14, 2007
  • Like
  • 0
I have written this code block,
trigger Firm_LOB_Check on Fund__c (before insert, before update) {
for (Fund__c lfund : Trigger.new) {
Firm__c f  = [select Line_Of_Business__c FROM Firm__c where Id = :lfund.Firm__c];
f.Name.AddError('Error');
}
}
 
I get the below mentioned error message when the trigger gets fired. If anyone got an idea please share.
 
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger Firm_LOB_Check3 caused an unexpected exception, contact your administrator: Firm_LOB_Check3: execution of BeforeInsert caused by: System.Exception: SObject row does not allow errors: Trigger.Firm_LOB_Check3: line 10, column 1
  • April 25, 2008
  • Like
  • 0
Hi,
 
I have the following queries regarding entering values in SFDC fields:
 
1. Can we make a field such that whatever data is entered in the field is saved in UPPERCASE?
2. How to restrict entry of special characters in a field?
 
If someone has got an idea to achieve this, please share.
 
Thanks,
Sudip
  • November 29, 2007
  • Like
  • 0
Hi,
 
I wanted to know the following about public groups:
 
In a public group, what access rights do the members have on each other records, if the organization wide default for the object is private?
 
Help on this will be highly appeciated. If someone can tell if there is some documentation around public group members access rights in Salesforce, it will be great.
 
Thanks,
ST
  • November 18, 2007
  • Like
  • 0