code: @Override
  	public CPDefinitionInventory removeByCPDefinitionId(long CPDefinitionId)
  		throws NoSuchCPDefinitionInventoryException {
  		CPDefinitionInventory cpDefinitionInventory = findByCPDefinitionId(CPDefinitionId);
  
  		return remove(cpDefinitionInventory);
  	}
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