Cannot Delete the record which is existing inside dynamics
In result I'm able to fetch the record but still it throws record doesn't exisits
var fetchXml1 = @"<fetch mapping='logical'> <entity name='bookableresourcebooking'> <attribute name='bookableresourcebookingid' /> <attribute name='name' alias='bookableresourcebookingname'/> <filter type='and'> <condition attribute='bookableresourcebookingid' operator='eq' value='" + bookableResourceBooking + @"' /> </filter> </entity> </fetch>"; EntityCollection result2 = organizationProxy.RetrieveMultiple(new FetchExpression(fetchXml1)); DeleteRequest deleteRequest = new DeleteRequest { Target = new EntityReference(er.LogicalName, er.Id) }; var response2 = (UpsertResponse)organizationProxy.Execute(deleteRequest);
↧
Cannot delete bookable resource booking from sdk method. Throws and error " 'bookableresourcebooking With Id = **** Does Not Exist"
↧