1

Hi,


 

Please find the issue below described –


 


I noticed one thing that when we delete any record in CRM and after deleting if we search same record with that GUID (the record which we have deleted) we get this error - The requested record was not found which is valid (working accordingly ) –




But when using same GUID with the Microsoft CRM standard API and trying to update that record(which is already deleted)


For example, Microsoft CRM standard PATCH API URL -


https://operations-nxdmdev7.api.crm8.dynamics.com/api/data/v9.2/msdyn_journals(27477921-1411-ef11-9f89-6045bdaad182)?$select=msdyn_journalid,modifiedon,alle_amount,alle_actualamount,alle_invoicevalue


 


Request Body –

{

  "alle_actualamount" : 100

}

 


Here , we are trying to update the deleted record deleted GUID (27477921-1411-ef11-9f89-6045bdaad182) , now when we hit this API , instead of getting error that “The requested record was not found” in the Response, it’s just creating the record (with deleted GUID 27477921-1411-ef11-9f89-6045bdaad182) immediately with all fields blank.




Problem:


When the record is already deleted, why does updating the same record with the PATCH API create a new record with the same GUID and all fields having no value? Please help to prevent this issue. Instead of creating new record it should throw error that The requested record was not found.






STATUS DETAILS
New