Package br.com.visualmidia.persistence.add

Examples of br.com.visualmidia.persistence.add.AddLinkedOperation


                if(discount != 0.0f){
                  //String parcelPaymenBillPlanCategoryReversal = "2.1.4.4";
                  //Operation operationReversal = (Operation) system.executeAndQuery(new AddAndReturnOperation(accountId, parcelPaymenBillPlanCategoryReversal, payDate, desc + registration.getStudent().getName(), discount, parcel, receivedValue.getFloatValue()));
                  //operationReversal.setCategoryId(parcelPaymenBillPlanCategoryReversal);
                  //system.execute(new AccountAmountControl(accountId, payValue, 0));
                  system.execute(new AddLinkedOperation(operation));
                }
//            }else{
//                system.executeAndQuery(new AddAndReturnOperation(system.getRegisterMachine(), parcelPaymenBillPlanCategory, payDate, "Mensalidade de "+ registration.getStudent().getName(), payValue, parcel));
//                system.execute(new AccountAmountControl(system.getRegisterMachine().getId(), payValue, 0));
//            }
View Full Code Here


           
            if(operation.isCredit()) {
                system.execute(new AccountAmountControl(account, new Money(value), new Money("0")));
            } else {
                system.execute(new AccountAmountControl(account, new Money(0), new Money(value)));
                system.execute(new AddLinkedOperation(operation));
            }
           
            return operation;
        } catch (TransactionDateException e) {
      MessageBox box = new MessageBox(GDWindowControl.getInstance().getMainScreen().getShell(), IMessageProvider.INFORMATION);
View Full Code Here

           
            if(operation.isCredit()) {
                system.execute(new AccountAmountControl(account, new Money(value), new Money("0")));
            } else {
                system.execute(new AccountAmountControl(account, new Money(0), new Money(value)));
                system.execute(new AddLinkedOperation(operation));
            }
        } catch (TransactionDateException e) {
      MessageBox box = new MessageBox(GDWindowControl.getInstance().getMainScreen().getShell(), IMessageProvider.INFORMATION);
        box.setText("Data Inv�lida");
        box.setMessage(MessageConstants.TRANSACTION_DATE_EXCEPTION);
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.add.AddLinkedOperation

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.