You need to sign in to do that
Don't have an account?

How to add Product information to a field on Opportunity
I have Type field on OpportunityLineitem which is different for different products.As users add products ,the list of types should be added to a field on Opportunity.
Eg: product 1 has type 1,Product 2 has Type 2 Product 3 has Type 3 if these products are added ,then field on Opportunity must be type1,type2,type 3.
try this.
All Answers
Hi,
I think you have to write a trigger on Opportunity Line Item(After Insert, After Update), that takes up the Product details and update the field on opportunity(after framing the unique list).
thanks
Hi
The type on opportunity is picklist field.
suppose first opportunity with values type1, type2 etc
second opportunity with values type3, type4 etc.
by using trigger, you can't restrict picklist field based record level.
you need to overwrite page with visualforce page to achieve above functionality.
The field on Opportunity is text field. Also i have the field on OpportunityLineItem- not required to get it from product.Can anyone please provide code for trigger.
try this.
Thank You.It worked.