Pages
Home
About Me
For Contact
September 8, 2016
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!!!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment