code: public static CPInstance removeByC_ERC(long companyId,
  		String externalReferenceCode)
  		throws com.liferay.commerce.product.exception.NoSuchCPInstanceException {
  		return getPersistence().removeByC_ERC(companyId, externalReferenceCode);
  	}
docs: Removes the cp instance where companyId = &#63; and externalReferenceCode = &#63; from the database.
  
  @param companyId the company ID
  @param externalReferenceCode the external reference code
  @return the cp instance that was removed