Document oZespedDoc = null;
UsersGroup oUsrsGrp = new UsersGroup(oAum, Zesped.getUsersGroup(oAum));
UsersGroup oOpersGrp = new UsersGroup(oAum, Zesped.getOperatorsGroup(oAum));
SortableList<Document> oLst = oDms.query("DeviceInformationType$brand='TWAIN'");
if (oLst.isEmpty()) {
Document oDit = oDms.newDocument(oDms.getDocumentType("DeviceInformationType"), oDms.getRootDocument());
oDit.attribute("model").set("TWAIN");
oDit.attribute("brand").set("TWAIN");
oDit.save("");