Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.ExpenditurePayment


    //Pagamento de despesas
    public void expendituresPayment(String expenditureId, String accountId, GDDate date, double value) {
        try {
          system = GDSystem.getInstance();
          system.execute(new ExpenditurePayment(expenditureId, accountId, date, value));
          system.execute(new AccountAmountControl(accountId, 0, value));
        } 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


    }
   
    public void expendituresPayment(String expenditureId, String accountId, GDDate date, double value, String idExtractItem) {
        try {
          system = GDSystem.getInstance();
          system.execute(new ExpenditurePayment(expenditureId, accountId, date, value, idExtractItem));
          system.execute(new AccountAmountControl(accountId, 0, value));
        } 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

    }
   
    public void expendituresPayment(String expenditureId, String accountId, GDDate date, double value, TypeOfPayment typeOfPayment) {
        try {
          system = GDSystem.getInstance();
          system.execute(new ExpenditurePayment(expenditureId, accountId, date, value, typeOfPayment));
          system.execute(new AccountAmountControl(accountId, 0, value));
        } 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

    }
   
    public void expendituresPayment(String expenditureId, String accountId, GDDate date, double value, TypeOfPayment typeOfPayment, ExtractBankItem extractBankItem) {
        try {
          system = GDSystem.getInstance();
          system.execute(new ExpenditurePayment(expenditureId, accountId, date, value, typeOfPayment, extractBankItem));
          system.execute(new AccountAmountControl(accountId, 0, value));
        } 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.ExpenditurePayment

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.