Issue #21942:set itemcost id at savecore