I have an incident form in crm 2015. After spme operations the incident entity becomes passive. In my database the passive incident is to be understood by looking the state and status columns. If the incident is passive the statecode becomes 1 and the status code becomes 5.
After the incident becomes to be passive. I want to do someyhing to that incident entity.
As an operator I want to change the state and status to activate the incident. (state=0,status=1)
If I success I want to update the new_anketgonderildi field (bit field) to true. Then make the incident again passive and update the entity.
But I got an error while updating the entity.
This case has already been resolved. Close and reopen the case record to see the updates.
I realized that if the incident is active I can change the new_anketgonderildi field. When the incident is in passive situation I can not change. To change the bit value field I have to activate the incident change the bit field and then deactivate the incident again.
How can I achieve this situation ? code enter image description here