
2 answers

We have those 2 fields from letter request that we need to be auto populated via trigger above. However with the current trigger we have the field Item_esi__c is getting the salesforce id of the value in Product_vod__c field which is a lookup field from Call Sample object, instead of the Name.1. How can i insert the NAME of the Product_vod__c field value (this is the lookup field from call sample object that looks up to Product object) instead of the salesforce id, using and modifying the current trigger above, in Item_esi__c field of Letter Request.2. How can I insert the name of the Parent product of the Product_vod__c field value (this is the lookup field from call sample object that looks up to Product object) in the Product_esi__c field of Letter request object. What should i add on the above current trigger. I thought that the trigger we had before will work but it didn't. So i need assistance to modify the current trigger to get the right values just by simply using or referencing the product_vod__c field from call sample object.