Package org.jabusuite.transaction

Examples of org.jabusuite.transaction.WorkOrder


        }
    }
   
    protected void createWorkOrder() {
        try {
            final WorkOrder workOrder = new WorkOrder();
            String userNumber = getNextUserNumber(WorkOrder.class);
            workOrder.setDataFromTransaction(getOffer(), userNumber);
            JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("Offer.msgToWorkOrder"), JbsL10N.getString("Offer.messageBoxTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            dialog.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    FmWorkOrderEdit fmWorkOrderEdit = new FmWorkOrderEdit();
View Full Code Here


        }
    }
   
    protected void createWorkOrder() {
        try {
            final WorkOrder workOrder = new WorkOrder();
            String userNumber = getNextUserNumber(WorkOrder.class);
            workOrder.setDataFromTransaction(getOrderConfirmation(), userNumber);
            JbsOptionPane dialog = JbsOptionPane.showMessageDialog(this, JbsL10N.getString("OrderConfirmation.msgToWorkOrder"), JbsL10N.getString("OrderConfirmation.formTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            dialog.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    FmWorkOrderEdit fmWorkOrderEdit = new FmWorkOrderEdit();
View Full Code Here

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

   
    private Logger logger = Logger.getLogger(PnWorkOrderEdit.class);
   
    public PnWorkOrderEdit() {
        super();
        this.setWorkOrder(new WorkOrder());
    }
View Full Code Here

        this.setWorkOrder(new WorkOrder());
    }

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

TOP

Related Classes of org.jabusuite.transaction.WorkOrder

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.