You need to sign in to do that
Don't have an account?
Mack Dsoza
Explain me error
System.DmlException: Upsert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, Fund: id value of incorrect type: a06N00000009bFoIAI: [Fund__c]
Class.InvestmentAssetServices.save: line 101, column 9 Class.InvestmentAssetController.save: line 113, column 13 External entry point
I think you are assiging id of the record which is not of type Fund__c to the field Fund__c.
just trying viewing the a06N00000009bFoIAI record in your Salesforce instance.