Hi Mauricio,
The simple answer is - Don't let inventory go negative. There's an option in the company profile to prevent this.
I think the average cost amount would have been messed up when you posted the receipt, since you'd then have 0 on hand with a cost of 11,960.
You then ship 2300 at what I think would work out to infinite cost. Someone more familiar with what's going on in this case will probably correct me.
_________________________
Andrew Bates