code: public static CPDefinitionInventory remove(long CPDefinitionInventoryId)
  		throws com.liferay.commerce.exception.NoSuchCPDefinitionInventoryException {
  		return getPersistence().remove(CPDefinitionInventoryId);
  	}
docs: Removes the cp definition inventory with the primary key from the database. Also notifies the appropriate model listeners.
  
  @param CPDefinitionInventoryId the primary key of the cp definition inventory
  @return the cp definition inventory that was removed
  @throws NoSuchCPDefinitionInventoryException if a cp definition inventory with the primary key could not be found