Hello,
We have a custom entity with a lookup field to contact. The custom entity contains a notes field.
For only one record (so far), we can not edit the notes field because onSave we get an error
Exception Message: Contact With Id = (the guid) Does Not Exist
ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService
ApiStepKey: c3cbf56a-0b91-e911-a81b-000d3aba5e95
ApiDepthKey: 1
ApiActivityIdKey: 3cd55625-6a1c-4c0c-a68a-e87a1a457eee
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: ObjectDoesNotExist
ApiExceptionHttpStatusCode: 404
HelpLink: go.microsoft.com/.../
Activity Id: ac0af527-1f62-4e66-a3bb-13844a3788ab
The contact with that ID does not, indeed exist. (confirmed by XRM Toolbox)
If we select another contact via the lookup from the custom entity, we can then edit the notes and save - but ONLY ONCE! - When we try again the same error is thrown - it keeps reverting back to the guid of the missing contact record.
Additional error info:
UciError: contact With Id = xxxxxxxxxxxxxxxxx Does Not Exist at i (xxxxxxxxx.com/.../app.js at new f (xxxxxxxxxxxxx.dynamics.com/.../app.js at Function.fromLegacyErrorStatus (xxxxxxxxxxxxxxxx.com/.../app.js at y (xxxxxxxxxxxxxx.dynamics.com/.../app.js at https://xxxxxxxxxxxxxxxxxxx.com/uclient/scripts/app.js?v=1.4.3750-2112.3:3726:25486
Thanks in advance for any assistance.
- Seamus