code: public static com.liferay.commerce.model.CPDefinitionInventory deleteCPDefinitionInventory(
  		long CPDefinitionInventoryId)
  		throws com.liferay.portal.kernel.exception.PortalException {
  		return getService().deleteCPDefinitionInventory(CPDefinitionInventoryId);
  	}
docs: Deletes 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 PortalException if a cp definition inventory with the primary key could not be found