Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
connection between two s-objects( without relationsh ip)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-07-2012 11:02 PM
i have 2 s-objects student and financialstatements.
in student sobject a field called amount
in financialstatements sobject a filed called revenue
so my requirement is ::::
when i enter a value in amout field it as to update revenue field.....
how can i achieve this
NOTE:::::::: THERE IS NO RELATIONSHIP BETWEEN 2 SOBJECTS
Solved! Go to Solution.
Write a Trigger on Student
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-08-2012 05:35 AM
Re: Write a Trigger on Student
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-08-2012 06:03 AM
can u pls send me code for this.......
iam new to the salesforce.....
thaks for giving reply
Just Try this
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-08-2012 06:51 AM
trigger studenttrg on Student__c (Before insert,Before update){
student__c st=Trigger.new[0];
fs__c f=new fs__c();
f.revenue__c=st.amount__C;
insert f;
}

