During the inventory closing process, there is an item that has zero in stock , however there is a negative financial amount.
A purchase order is created and receipt posted , another purchase order is created a few days later and also received. A sales order is created, packing slip updated and Invoiced .
The second purchase order is Invoiced and an IC is run.
The first purchase order then needs to be cancelled and the IC is run again