Package org.jabusuite.transaction.session

Examples of org.jabusuite.transaction.session.PaymentTermsRemote.updateDataset()


            if (this.getDlgState() == DlgState.dsInsert) {
                logger.debug("Adding new entity " + this.getPaymentTerm().getId() + ".");
                paymentTerms.createDataset(this.getPaymentTerm(), ClientGlobals.getUser(), ClientGlobals.getCompany());
            } else if (this.getDlgState() == DlgState.dsEdit) {
                logger.debug("Saving existing entity " + this.getPaymentTerm().getId() + ".");
                paymentTerms.updateDataset(this.getPaymentTerm(), ClientGlobals.getUser());
            }
            logger.debug("Entity saved.");
        } catch (NamingException e) {
            logger.error("Error saving payment-term.", e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.