Added QUANTITY_KEY to detail level