Removes the commerce order item where companyId = &#63; and externalReferenceCode = &#63; from the database.

@param companyId the company ID
@param externalReferenceCode the external reference code
@return the commerce order item that was removed
508251
@Override
	public CommerceOrderItem removeByC_ERC(long companyId,
		String externalReferenceCode) throws NoSuchOrderItemException {
		CommerceOrderItem commerceOrderItem = findByC_ERC(companyId,
				externalReferenceCode);

		return remove(commerceOrderItem);
	}
366916
@Override
	public void removeByCompanyId(long companyId) {
		for (CommerceAccount commerceAccount : findByCompanyId(companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAccount);
		}
	}
137104
public static CommerceAccount removeByC_ERC(long companyId,
		String externalReferenceCode)
		throws com.liferay.commerce.account.exception.NoSuchAccountException {
		return getPersistence().removeByC_ERC(companyId, externalReferenceCode);
	}
855430
@Override
	public void removeByC_I(long commerceOrderId, long CPInstanceId) {
		for (CommerceOrderItem commerceOrderItem : findByC_I(commerceOrderId,
				CPInstanceId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceOrderItem);
		}
	}
755146
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPDefinitionOptionValueRel cpDefinitionOptionValueRel : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionValueRel);
		}
	}
80829
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommercePriceListAccountRel commercePriceListAccountRel : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commercePriceListAccountRel);
		}
	}
197652
@Override
	public void removeByC_R(long commerceOrderId, boolean restricted) {
		for (CommerceOrderNote commerceOrderNote : findByC_R(commerceOrderId,
				restricted, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceOrderNote);
		}
	}
837961
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceWarehouse deleteCommerceWarehouse(
		CommerceWarehouse commerceWarehouse) {
		return commerceWarehousePersistence.remove(commerceWarehouse);
	}
863312
@Override
	public void removeByCompanyId(long companyId) {
		for (CPDefinitionOptionValueRel cpDefinitionOptionValueRel : findByCompanyId(
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionOptionValueRel);
		}
	}
1159807
@Override
	public CommercePriceList removeByC_ERC(long companyId,
		String externalReferenceCode) throws NoSuchPriceListException {
		CommercePriceList commercePriceList = findByC_ERC(companyId,
				externalReferenceCode);

		return remove(commercePriceList);
	}
458352
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceRegion commerceRegion : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceRegion);
		}
	}
4234
def remove_external_references(self):
        
        for ex_ref_node in self.node.findall('externalReferences'):
            self.node.remove(ex_ref_node)
808071
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceVirtualOrderItem commerceVirtualOrderItem : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceVirtualOrderItem);
		}
	}
643952
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceNotificationAttachment commerceNotificationAttachment : findByUuid_C(
				uuid, companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceNotificationAttachment);
		}
	}
1019176
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CommerceWishList commerceWishList : findByUuid_C(uuid, companyId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWishList);
		}
	}
1054257
@Override
	public void removeByUuid_C(String uuid, long companyId) {
		for (CPFriendlyURLEntry cpFriendlyURLEntry : findByUuid_C(uuid,
				companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpFriendlyURLEntry);
		}
	}
1316269
public static com.liferay.commerce.model.CommerceShipment deleteCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().deleteCommerceShipment(commerceShipment);
	}