Pages
Home
About Me
Contact Us
Videos
How to get Standard Price Book Id in test class?
Test.getStandardPricebookId() is used to get Standard Price Book Id in test class.
Sample Code:
Id pricebookId = Test.getStandardPricebookId();
Cheers!!!
Newer Post
Older Post
Home