Document oClients = oDms.newDocument(oDms.getDocumentType("Clients"), oNew.getDocument());
oClients.save("");
oIdx.indexDocument(oClients);
Document oPayers = oDms.newDocument(oDms.getDocumentType("TaxPayers"), oNew.getDocument());
oPayers.save("");
oIdx.indexDocument(oPayers);
Document oCredits = oDms.newDocument(oDms.getDocumentType("CustomerAccountCredits"), oNew.getDocument());
oCredits.attribute("account_id").set(oNew.getString("account_id"));
oCredits.attribute("credits_used").set(0l);