Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Karen,All custom fields need to have the "__c" suffix appended - the error you're seeing is on lines 13-18:
a.ZoomInfo_Country__c = a.ZoomInfoCountry__c; a.ZoomInfo_Street__c = a.ZoomInfoStreet__c; a.ZoomInfo_City__c = a.ZoomInfoCity__c; a.ZoomInfo_Country_State_Province__c = a.ZoomInfoCountryStateProvince__c; a.ZoomInfo_Postal_Zip_Code__c = a.ZoomInfoPostalZipCode__c; a.ZoomInfo_Website__c= a.ZoomInfoWebsite;
Karen,
All custom fields need to have the "__c" suffix appended - the error you're seeing is on lines 13-18:
All Answers
Karen,
All custom fields need to have the "__c" suffix appended - the error you're seeing is on lines 13-18:
// map any other fields you would like
// Now preserve the standard fields when editing
if (Trigger.isUpdate == true) {
a.AnnualRevenue = trigger.oldmap.get(a.Id).AnnualRevenue;
a.NumberOfEmployees = trigger.oldmap.get(a.Id).NumberOfEmployees;
a.Description = trigger.oldmap.get(a.Id).Description;
a.ZoomInfoCountry = trigger.oldmap.get(a.Id).ZoomInfoCountry;
a.ZoomInfoStreet = trigger.oldmap.get(a.Id).ZoomInfoStreet;
a.ZoomInfoCity = trigger.oldmap.get(a.Id).ZoomInfoCity;
a.ZoomInfoCountryStateProvince = trigger.oldmap.get(a.Id).ZoomInfoCountryStateProvince;
a.ZoomInfoPostalZipCode = trigger.oldmap.get(a.Id).ZoomInfoPostalZipCode;
}
}
}
}
Invalid field AnnualRevenue for SObject Account_Management__c
Not sure why its come up on first line and seems to be referring to a different object?
Thanks for your help, Karen.