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
A G NagarajA G Nagaraj 

Apex Code for filling Lookup field between two objects

Need help in getting code for criteria is like this "Trigger when we create or update a Jpost_object. so that, JPost_Object should lookup with ID of JUser_Object where field name CID__c from JUser_Object is equal to field name UID__c from JPost_Object.
SandhyaSandhya (Salesforce Developers) 

Hi,

Check with below thread where you have sample code for similar requirement.


https://developer.salesforce.com/forums/?id=906F000000090KLIAY
 
Best Regards,
Sandhya