
3 个回答

Hi dindev,This scenario can be done by using TriggersLet Us considerObject 1 - AccountObject 2 - contactWrite trigger on account object(after insert)TRIGGER:Trigger objecttgr on Account(after insert){List<contact> cons =new List<contact>(); for(Account a :trigger.new){ contact c =new contact(); c.lastname = a.name; c.phone = a.phone;// we can match the fileds of both objects, what are required fileds u want before going to insert of contactc.accountid = a.id; cons.add(c); }insert cons;}I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too. Thanks and Regards, Deepali Kulshrestha