public Resolution form() {
AtrilSession oSes = DAO.getAdminSession("CaptureInvoice");
User oUsr = new User();
try {
oUsr.load(oSes, getSessionAttribute("user_docid"));
setScanDeviceName(oUsr.defaultScanner(oSes).name());
setCaptureType(oUsr.defaultCaptureType(oSes).name());
if (getSessionAttribute("incoming_deposits")==null) {
TaxPayer oTxp = new TaxPayer (oSes.getDms(), getSessionAttribute("taxpayer_docid"));
setSessionAttribute("incoming_deposits", oTxp.incomingDeposits(oSes));
}