Get Standard Price Book Id in Salesforce Test Class
Jun 15, 2024
Test.getStandardPricebookId() is used to get or fetch Standard Price Book Id in the Apex test class.
Blog Post:
https://www.infallibletechie.com/2016/09/how-to-get-standard-price-book-id-in.html
Show More Show Less 