+ Start a Discussion
suresh143suresh143 

Trigger

 iam an one req once i have created opportunity  the number of opps releted accounts count displayed in account object  and account having field Number of opportunities write trigger asking pls given that one

@anilbathula@@anilbathula@
Hi Suresh143,

For this you don't need a trigger.
Just create a roll up summary field on account .
Summarized object as opportunity and select roll up type as count.
That's it you can get the count of opportunities on Account.

suresh143suresh143
Ok Good My req is through trigger is asking my team lead
suresh143suresh143
Ihave an account object there is one field no of opportunitys.once i had created new record with account and no of opportunitys count displayed in Account object field like no of opportunitys in detail page