Package org.jabusuite.transaction

Examples of org.jabusuite.transaction.OrderConfirmation


        }
    }
   
    protected void createOrderConfirmation() {
        try {
            final OrderConfirmation orderConfirmation = new OrderConfirmation();
            String userNumber = getNextUserNumber(OrderConfirmation.class);
            orderConfirmation.setDataFromTransaction(getOffer(), userNumber);
            JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("Offer.msgToOrderConfirmation"), JbsL10N.getString("Offer.messageBoxTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            dialog.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    FmOrderConfirmationEdit fmOrderConfirmationEdit = new FmOrderConfirmationEdit();
View Full Code Here


    protected BtnToolbar btnToWorkOrder;
   
   
    public PnOrderConfirmationEdit() {
        super();
        this.setOrderConfirmation(new OrderConfirmation());
    }
View Full Code Here

        this.setOrderConfirmation(new OrderConfirmation());
    }

    @Override
    public void setJbsBaseObject(JbsBaseObject jbsBaseObject) {
        OrderConfirmation orderConfirmation = (OrderConfirmation) jbsBaseObject;
        //We have to get the positions from the database also
        if ((orderConfirmation != null) && (this.getDlgState() == DlgState.dsEdit)) {
            logger.debug("Retrieving positions for order confirmation " + orderConfirmation.getId());
            try {
                OrderConfirmationsRemote orderConfirmations = (OrderConfirmationsRemote) ClientTools.getRemoteBean(OrderConfirmationsRemote.class);
                OrderConfirmation exDelivNote = orderConfirmations.findDataset(orderConfirmation.getId(), true);
                orderConfirmation = exDelivNote;
            } catch (NamingException e) {
                logger.error("Error retrieving order confirmation.", e);
            }
        }
View Full Code Here

    /* (non-Javadoc)
     * @see org.jabusuite.webclient.dataediting.FmEditJbsBaseObject#createJbsBaseObject()
     */
    @Override
    public void createJbsBaseObject() {
        this.setJbsBaseObject(new OrderConfirmation());
    }
View Full Code Here

TOP

Related Classes of org.jabusuite.transaction.OrderConfirmation

Copyright © 2018 www.massapicom. 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.