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
ani123ani123 

HELP IN TRIGGER

CAN ANY ONE HELP ME HOW TO GET PRODUCT VIA PRICEBOOKENTRY IN OPPOTUNITY *TRIGGER.

Ankit AroraAnkit Arora

Here is the code from which you can get product from pricebookentry :

 

List<PricebookEntry> pb = new List<PricebookEntry>() ;
pb = [Select Pricebook2Id From PricebookEntry] ;

 All fields of pricebookentry : http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_pricebookentry.htm

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page