ItemTable.getInstance().destroyItem(process, sourceitem, actor, reference);
}
if(targetitem != null) // If possible, only update counts
{
targetitem.changeCount(process, count, actor, reference);
}
else
// Otherwise add new item
{
targetitem = target.addItem(process, sourceitem.getItemId(), count, actor, reference);