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
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Re: updating the grandchild record
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
updating the grandchild record
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 01:56 AM
can we update the grandchild record in salesforce using apex?
0
Re: updating the grandchild record
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 03:09 AM
Yep!! you can, unless you have the permission from the profile, Or else if you want to ignore the prior, then you can run your apex class in the system mode, this is done by declaring
public without sharing class noSharing {
// your code!
}
Hope this helps!
Thanks
Prady
Salesforce Certified Developer.
0
Re: updating the grandchild record
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 03:17 AM
Thank you sir
0
Re: updating the grandchild record
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-02-2013 08:29 AM
You can use relationship name to get the grand parent child records and easily update them.
Thanks
Ankit Arora
Force.com MVP
Certified Developer | Twitter
Don't forget to give KUDOS if post helped you.
Latest Blog Posts : Streaming API- Easy Code AND Uploading Multiple Attachments into Salesforce - Simple Code
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Certified Developer | Twitter
Don't forget to give KUDOS if post helped you.
Latest Blog Posts : Streaming API- Easy Code AND Uploading Multiple Attachments into Salesforce - Simple Code
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

