-
How to update multiple sObjects field in a Salesforce Apex batch class?
Hi All,
I am in a scenario where i have to update two sObjects (say Account and Lead)name field to a particular same name.I am provided with different sObject's Ids.i have to differentiate them to which sObject these ids belong and based on that i have to update the name using batch class operation.
please give suggestions
Thanks
Log In to reply.
Popular Salesforce Blogs

Future-Proof Your Business: The Importance of Salesforce in Today's Market
In the ever-evolving landscape of modern business, staying ahead of the curve is not just an advantage; it's a necessity. As a business owner, you…

Flow Builder and Approval Process in Salesforce
Flow Builder is the interface where Flows can be designed and tested. The below screenshot shows the Flow builder screen, and the following table explains…

Top Helpful Youtube Channels To Get You Started With Salesforce
Salesforce skills can help advance careers for beginners or for anyone who wants to get into the Salesforce ecosystem. Job seekers can find high-demand, high-paying,…
Popular Salesforce Videos
Salesforce Public Groups and Queues
In this video, Bhavesh Jain demonstrates how to create Salesforce public groups and how they can be used, as well as provides an understanding of…
Build a Discount Approval Process | Step by Step Guide | Trailhead Project
Building a robust discount approval process is the first step in getting a grip of price discounts that are eating into profit. In this video…
How to import data from Sage ERP to Salesforce - Part 1
Greytrix offers GUMU™ integration for Salesforce with Sage ERP systems - a best-of-breed solution for organizations to enhance their customer interaction. With Salesforce and Sage…