-
Update Parent Record from a Salesforce trigger
I have been trying to come up with the pattern in which I need to handle the below scenario ( considering recursion ).
On Insertion of Child Record ( Object - B ) I need to update parent record ( object - A) as well as conditionally insert an object ( object - B again ).
Could anyone point me what is the best way to handle this kind of scenario?
** EDIT **
Sorry if it is confusing. Giving another shot 🙂
Initially Insert record for Object B ( consider of type Apple), after that update Object A and then based on some criteria create new records for Object B ( this time it might be Mango and Orange ) again after that need to update Object A.
Log In to reply.
Popular Salesforce Blogs
What Is Data Loader In Salesforce and How To Use It?
Data Loader Overview Salesforce Data Loader is an instrument given by deals power to perform the following operation on the information. By utilizing Salesforce information…
Page Layouts in Salesforce - Here's All You Need to Know
Introduction Page layout is an important concept introduced by Salesforce. It is mainly used to maintain the appearance of your object records detail page. It…
Integration from Quickbook Desktop to Salesforce Using DBSync
Hello guys, Today, I am going to show you integration from Quickbook Desktop to Salesforce Using DBSync Requirement:- Salesforce Account Quickbook Desktop must be installed.…
Popular Salesforce Videos
Introduction to Programming | Live Salesforce Development
Learn Salesforce development from start to finish for free. Want to take your Salesforce Knowledge to the next level? Want to learn advanced Salesforce admin,…
What Role Can Salesforce Industries Play in Helping Various Sectors Grow?
Discover more about what role can Salesforce Industries play in helping various sectors grow then have a glance at this extract from our latest webinar!…
Salesforce Checkout: Manage Your Subscription & Buy Licenses
Watch this video to understand how to manage your Salesforce subscription and buy licenses on your own. This makes an easy process even easier, this…