*
* @throws Exception
*/
public void createCashWrapper()
throws Exception {
SecurityAccount cashAccount = new SecurityAccount("~Cash",
BulkSecInfo.getNextAcctNumber(),
currentInfo.getCashCurrencyWrapper().getCurrencyType(), null, null,
this.investmentAccount);
cashAccount.setComment("New Security to hold cash transactions");
cashAccount.setSecurityType(SecurityType.MUTUAL);
cashAccount.setSecuritySubType("Money Market");
this.cashWrapper = new SecurityAccountWrapper(
cashAccount, this);
BulkSecInfo.setNextAcctNumber(BulkSecInfo.getNextAcctNumber() + 1);
currentInfo.getCashCurrencyWrapper().secAccts.add(this.cashWrapper);
cashWrapper.generateTransValues();