code: public static CPDefinitionInventory removeByCPDefinitionId(
  		long CPDefinitionId)
  		throws com.liferay.commerce.exception.NoSuchCPDefinitionInventoryException {
  		return getPersistence().removeByCPDefinitionId(CPDefinitionId);
  	}
docs: Removes the cp definition inventory where CPDefinitionId = &#63; from the database.
  
  @param CPDefinitionId the cp definition ID
  @return the cp definition inventory that was removed