implement line item quantity