+ Start a Discussion
Sindhu AmbarkarSindhu Ambarkar 

Getting system.finalexception on executing code

Getting this error when trying to retrieve.When the contact is created shipping address fields of account should be copied to other address fields of contact.
trigger ShippingAddressFieldcopytoOtherAddress on Contact (after insert) {

//When contact is created shipping address fields from account should be copied to other address of contact
For(Contact con:trigger.new)
{
con.OtherCountry=con.account.ShippingCountry;
}
ShashankShashank (Salesforce Developers) 
If you are still facing the issue, could you please provide more details of the issue?