+ Start a Discussion
sfdclearnsfdclearn 

Bringing all the opportunity product names in the custom text field in Account object.

I have a custom text field in the Account. And i am trying to copy all the opportunity product names of the associated account in the custom text field.

Does anyone have sample trigger for this?

 

Thanks!

nickwick76nickwick76

Just so that I understand. 

Your account may have 0->X opportunities. Each opportunity have 0->X opportunity products.

You want to copy the opportunity products names of all these and put in this custom text field when saving an account?

 

// Niklas

sfdclearnsfdclearn

yes.to copy all the product names in a custom text field in the account object.