Business & farm

If the beginning inventory of livestock is say 30,000 and the ending is zero due to all lost to fire. that gives me a negative for cost of sales how do I handle that if there were only a few hundred dollars in sales.  will the software know what to do? thanks.