-
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
Salesforce Wave: The New Salesforce Analytics Platform
For those who missed the Dreamforce keynotes or the highlights of the marketing and promotional campaigns by Salesforce teams, here is a quick one-line summary…
Federated Authentication Using SAML to Log in to Salesforce Org
Federated Authentication is one of the SSO(Single Sign On) Methods that uses SAML(Security Assertion Markup Language) assertion sent to the Salesforce endpoint and if everything…
No Code ScheduleOnce and Salesforce Integration
ScheduleOnce is a cloud-based scheduling service that enables businesses of all sizes to schedule and manage user engagement with their users and prospects. Users can…
Popular Salesforce Videos
Get Ready for a More Connected Partner Experience | Salesforce Partners
Your destination for a connected partner experience is the Partner Community. Get Ready For an Enhanced and Personalized Experience. Watch this video and learn more…
How to Deactivate Salesforce Users
In this video, we'll show you how to Deactivate Salesforce Users. In Salesforce, you cannot delete users outright, as other references to the user may…
How Cross Channel Marketing Can Drive More Engagement ? | Salesforce Marketing Cloud
Cross-channel marketing is a customer-focused digital marketing technique used by marketers globally to provide an integrated experience across all paid, owned, earned media, and digital…