anchor.diff:  		try {
   			// java.lang.String srd, java.util.Calendar nextPeriodStartDate, MigrationTransaction[] migrationTransactions, java.lang.String cancelReasonCode
   			result.return = AutoBill.migrate("", !isnull(arguments.dateNextBilling) ? nextPeriodStartDate : nullValue(), [migrationTransaction], nullValue());
  -			result.soapID = result.return.getReturnObject().getSoapID();
  -			result.autobill = AutoBill;
  -		}
  -		catch (com.vindicia.client.VindiciaReturnException e) {
  -			result.code = e.returncode;
  -			result.message = e.message;
  -			result.success = false;
  -			result.soapID = e.soapID;
  -		}
  +			result.soapID = result.return.getSoapID();
  +			result.autobill = AutoBill;
  +			result.code = result.return.getReturnCode().getValue();
  +			result.message = result.return.getReturnString();
  +		}
  +		catch (com.vindicia.client.VindiciaReturnException e) {
  +			result.code = e.returncode;
  +			result.message = e.message;
  +			result.success = false;
  +			result.soapID = e.soapID;
  +		}
  +
  +		if (result.code != "200")
  +			result.success = false;
   
   		LogService.log( result.soapID, "AutoBill", "migrate", result.code, result.message );	
   		return result;
  
positive.code: 		return result;
  	}
  
  	struct function migrate( required string id, required string accountID, required string productID, required date dateStarted, required struct lastTransaction, required numeric billingCycle, date dateNextBilling, string affiliateID="", string currency="USD", string billingStatementID ) {
  		var classVersion = Factory.getClassVersion();
  		var AutoBill = Factory.get("com.vindicia.client.AutoBill");
  		var e;
  
negative.code: 		statusLog.setPaymentMethodType(PaymentMethodType);
  		statusLog.setStatus(PaymentStatus);
  		statusLog.setTimestamp(arguments.lastTransaction.dateCreated);
  
  		var PaymentMethod = Factory.get("com.vindicia.client.PaymentMethod");
  		PaymentMethod.setMerchantPaymentMethodID( arguments.paymentMethodID );
  
  		var migrationTransaction = Factory.get("com.vindicia.soap.#classVersion#.Vindicia.MigrationTransaction")
  		var TransactionType = Factory.get("com.vindicia.soap.#classVersion#.Vindicia.MigrationTransactionType").fromString("Recurring");
  