connect(getSessionAttribute("nickname"), getSessionAttribute("password"));
Dms oDms = getSession().getDms();
for (int d=0; d<aDocs.length; d++) {
try {
oInv = new Invoice(oDms, aDocs[d]);
oInv.reject(getSession(), getSessionAttribute("user_uuid"), sCmmt);
addDataLine("id",oInv.id());
} catch (ElementNotFoundException enfe) {
addError(new SimpleError("Invoice not found "+aDocs[d]));
}
}