calculate unit of cost to specified item in item card

You need to reverse the consumption entries and pass correct entries.