Summary:

An error occurs when trying to create a new opportunity

Symptoms:

On clicking save for a new Opportunity this error appears:

"An unexpected event has occurred: Exception: Invalid Integer"

Cause:

This can be caused by a selection field being saved on the screen that has an unexpected symbol in its translation code.

In this example there was a selection field called Certainty%, its translations and codes both had a % symbol in them.

Once the % was removed from the code (can be kept in the Translation) the error no longer occured.

Resolution:

Browse to the relevant screen in Administration -> Customisation -> And go into the field in question.

Delete the entries with bad codes (choose selection + Delete) and add new entries in.

Eg: Add Transaltion (UK): 0% ... Code: 0  (rather than Code: 0%)

Save. 

Status:

This issue is currently with development and should be solved in a future version of Sage CRM