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
Dany Flipkart appDany Flipkart app 

How to do this trigger (I have two objects one custom and one standard here custom object is vendor__c* this is parent object and , standard object is opportunity is standard child object*i want number of opportunity count value in vendor obj

I created fields in 
vendor object
No of Opportunities..............................
i want code for this pls any body can help......?
Virendra ChouhanVirendra Chouhan

I think this will help you. Rollup Summary Trigger (https://salesforcegeek.in/rollup-summary-trigger-for-lookup-relationship/)

Dany Flipkart appDany Flipkart app
No i have one custom and standard at that time this soql query not working to me
Virendra ChouhanVirendra Chouhan

Im sorry. what is not working?
Can you share your SOQL here.