code: @Override
  	public CPDefinition removeByC_ERC(long companyId,
  		String externalReferenceCode) throws NoSuchCPDefinitionException {
  		CPDefinition cpDefinition = findByC_ERC(companyId, externalReferenceCode);
  
  		return remove(cpDefinition);
  	}
docs: Removes the cp definition where companyId = &#63; and externalReferenceCode = &#63; from the database.
  
  @param companyId the company ID
  @param externalReferenceCode the external reference code
  @return the cp definition that was removed