Examples of DeliveryNote


Examples of org.jabusuite.transaction.DeliveryNote

        }
    }
   
    protected void createDeliveryNote() {
        try {
            final DeliveryNote deliveryNote = new DeliveryNote();
            String userNumber = getNextUserNumber(DeliveryNote.class);
            deliveryNote.setDataFromTransaction(getOffer(), userNumber);
            JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("Offer.msgToDeliveryNote"), JbsL10N.getString("Offer.messageBoxTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            dialog.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    FmDeliveryNoteEdit fmDeliveryNoteEdit = new FmDeliveryNoteEdit();
View Full Code Here

Examples of org.jabusuite.transaction.DeliveryNote

        }
    }
   
    protected void createDeliveryNote() {
        try {
            final DeliveryNote deliveryNote = new DeliveryNote();
            String userNumber = getNextUserNumber(DeliveryNote.class);
            deliveryNote.setDataFromTransaction(getOrderConfirmation(), userNumber);
            JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("OrderConfirmation.msgToDeliveryNote"), JbsL10N.getString("OrderConfirmation.formTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            dialog.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    FmDeliveryNoteEdit fmDeliveryNoteEdit = new FmDeliveryNoteEdit();
View Full Code Here

Examples of org.jabusuite.transaction.DeliveryNote

    public static final String ACTION_TOINVOICE = "toInvoice";
   
   
    public PnDeliveryNoteEdit() {
        super();
        this.setDeliveryNote(new DeliveryNote());
    }
View Full Code Here

Examples of org.jabusuite.transaction.DeliveryNote

        this.setDeliveryNote(new DeliveryNote());
    }

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

Examples of org.jabusuite.transaction.DeliveryNote

    /* (non-Javadoc)
     * @see org.jabusuite.webclient.dataediting.FmEditJbsBaseObject#createJbsBaseObject()
     */
    @Override
    public void createJbsBaseObject() {
        this.setJbsBaseObject(new DeliveryNote());
    }
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.