@Override
	public void setAccounting(Accounting accounting) {
		counterParties = (CounterParties)accounting.getBusinessObject(CounterParties.COUNTERPARTIES);
		statements = (Statements)accounting.getBusinessObject(Statements.STATEMENTS);
		accounts=accounting==null?null:accounting.getAccounts();
		journals=accounting==null?null:accounting.getJournals();
	}