docs: @Override
  	public CPAttachmentFileEntry findByC_ERC(long companyId,
  		String externalReferenceCode)
  		throws NoSuchCPAttachmentFileEntryException {
  		CPAttachmentFileEntry cpAttachmentFileEntry = fetchByC_ERC(companyId,
  				externalReferenceCode);
  
  		if (cpAttachmentFileEntry == null) {
  			StringBundler msg = new StringBundler(6);
  
  			msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  			msg.append("companyId=");
  			msg.append(companyId);
  
  			msg.append(", externalReferenceCode=");
  			msg.append(externalReferenceCode);
  
  			msg.append("}");
  
  			if (_log.isDebugEnabled()) {
  				_log.debug(msg.toString());
  			}
  
  			throw new NoSuchCPAttachmentFileEntryException(msg.toString());
  		}
  
  		return cpAttachmentFileEntry;
  	}