-
How can I get Standard Price Book within our Test Class in Salesforce?
When I Insert a Product in Test Class,it fire a Trigger in which a Query is used to Find Standard Price Book(i.e. Pricebook2 pb = [Select id from Pricebook2 where isStandard = true];),How can I get Standard Price Book in our Test Class?
Log In to reply.
Popular Salesforce Blogs
Difference between a Salesforce Administrator and a Salesforce Developer
Managing your business, you will definitely meet a question how to store and analyze data about your customers and their needs. Times when you did…
Why Enterprises Should Implement Salesforce Development and Consulting Services?
Investing completely during a Salesforce Customer Relationship Management tool doesn’t guarantee you success in business or necessarily improve your customer relationship strategy. You still have…
Creating A Multi-Select Picklist As Checkbox In Salesforce Visualforce Pages
Introduction: Visualforce is a web development framework that enables developers to build sophisticated, custom user interfaces for mobile and desktop apps that can be hosted…
Popular Salesforce Videos
Salesforce Einstein Keynote: AI for CRM
Salesforce Einstein is delivering more than one billion predictions every day, helping companies get a new level of insight about their business and their customers.…
How to Become Salesforce Developer | Salesforce For Beginners
In this how-to become Salesforce developer video, you will be learning what is Salesforce, the fundamentals of Salesforce, how to become a Salesforce developer, how…
Share Visualforce Pages Between Classic and Lightning Experience | Salesforce Trailhead
Visualforce Pages should be created correctly such that they behave properly whether they run in Salesforce Classic or Lightning Experience. Detecting and Responding to the…