function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC consultant integratiSFDC consultant integrati 

When inserting Pricebookentry i am getting "standard price not defined" error.

Hello,

When inserting Pricebookentry i am getting "standard price not defined" error.
i don't know how to resolve it. if any buddy has idea. please reply me!!!

Thank You.
Best Answer chosen by SFDC consultant integrati
SantoshChitalkarSantoshChitalkar
Hi Rajesh,

Every Product has to have a Standard Price that is part of the Standard Price Book before you can create any additional prices in other Price Books. So define a standard price for the product for which you are trying to insert pricebookentry

Regards,
Santosh Chitalkar