Update CI data after closing the incident

Hello, 

I added a field contaiing the quantity of the item in CM , once an incident is processed and the quantity of that item is decreased how can i update the quantity of that item upon the processing of the incident .

 

Thanks in advance