Revert "add inverse of for inventory unit and line items"