Information Needed

See more
See less

C&P Alias contact throws error

  • Filter
  • Time
  • Show
Clear All
new posts

  • C&P Alias contact throws error

    I was going to use C&P Alias Contact Screen https://haiglobal--cnp-paas.na88.vis...fdc.override=1 to copy information to a contact. When I changed the phone from "Business Phone" to "Mobile Phone" and hit the "Copy to Contact" button, it threw an error:

    "System.DmlException: Update failed. First exception on row 0 with id 003i0000043LHuuAAG; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Please select a Preferred Phone: [npe01__PreferredPhone__c]
    Error is in expression '{!save}' in component <apex:commandButton> in page cnp_paas:aliasviewpage: (CnP_PaaS)

    An unexpected error has occurred. Your solution provider has been notified. (CnP_PaaS)"

    I can work around this by using the business phone number to do the update and then editing the contact record afterwards.

    I granted access.

  • #2
    We found that you have validation rule on contact object which is causing an issue to copy alias information to the contact.

    Please see:

    Click image for larger version

Name:	validation.jpg
Views:	8
Size:	80.0 KB
ID:	53813
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars:
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday:
    Are you on Salesforce? Join us at the Power of Us Hub: