You need to sign in to do that
Don't have an account?
jishan roy
Write trigger on opportunity object opportunities associated all product count and display in opportunity.
Can anybody help to out of this que how to associated record and count display in oppoprtunity in trigger.I just started to learn development.
Hey Jishan,
You don't have to write the trigger to get the count of Opportunity product record.
You can create a roll up summary field on the Opportunity object which will count the number of associated product and thus the count value will be displayed on the opportunity record.
Hope this information.
Kindly mark it as the best answer so that it can help others.
Regards,
Priya Ranjan
thanks for replay,
but the requirement is to write the trigger for that thats why.
Try Below Code Please Mark It As Best Answer If it Helps
Thank You!