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