Randomly get the error below, and I have to create a contact page but cannot save any address and then i can process the temp contact. Assistance please!!!
Error message: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, A validation rule is preventing the record from saving: Use one of these records?: [] Error is in expression '{!SaveItem}' in component <apex:commandButton> in page cnp_paas_evt:eventtemporarycontact: (CnP_PaaS_EVT) An unexpected error has occurred. Your solution provider has been notified. (CnP_PaaS_EVT)
<apex:commandButton action="{!SaveItem}" value=" Process " onclick="if(!contactselection()){return false;}" rerender="EventTempForm" status="loadingstatuscheck"/> <!--<apex:commandButton action="{!deleteItem}" value=" Delete " onclick="return confirm('Are you sure you want to delete this Temporary Contact Record permenantly?')" status="loadingstatuscheck"/>--> <apex:commandButton action="{!cancelItem}" value=" Cancel " status="loadingstatuscheck"/> </div> </apex




































Comment