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
sagar077sagar077 

Write an apex trigger for update custom field Details_oF_Product__c (text area datatype) . after insert, after update , after delete this events want to use. On the Opportunity object, there is a releted list name as Products (Standard) it will take recor

Write an apex trigger for update custom field Details_oF_Product__c (text area datatype) .
after insert, after update , after delete this events want to use.
On the Opportunity object, there is a releted list name as Products (Standard) it will take record data from there and show on custom fields name as Details_oF_Product__c (text area datatype).
Three fields should be show name as Product Code, List Price, Quantity.

Plz help me in this trigger i am new in trigger.
thanks

The result will show on the custom field that is  Details_oF_Product__c (text area datatype)
----------------------------------------
----------------------------------------
Product Code : beds 
List Price :200
Quantity : 1 
----------------------------------------
---------------------------------------- 
Product Code : black
List Price : 400 
Quantity : 2
----------------------------------------
---------------------------------------
AbhishekAbhishek (Salesforce Developers) 
Hi,

Can you try the suggestions as mentioned in the below blogs,

https://success.salesforce.com/answers?id=90630000000haFOAAY

https://developer.salesforce.com/forums/?id=906F00000008zPRIAY

You have to make some changes based on your requirement, then only it will work.

Thanks.