Gets an array of all part references in the database.
eOk if successful or the appropriate error code otherwise.