public static CommerceAccount removeByC_ERC(long companyId,
		String externalReferenceCode)
		throws com.liferay.commerce.account.exception.NoSuchAccountException {
		return getPersistence().removeByC_ERC(companyId, externalReferenceCode);
	}
public static CommerceAccount removeByC_ERC ( long companyId , String externalReferenceCode ) throws com . liferay . commerce . account . exception . NoSuchAccountException { return getPersistence ( ) . removeByC_ERC ( companyId , externalReferenceCode ) ; }
Removes the commerce account where companyId = &#63; and externalReferenceCode = &#63; from the database.

@param companyId the company ID
@param externalReferenceCode the external reference code
@return the commerce account that was removed