Examples of addVat()


Examples of org.jallinone.accounting.movements.java.JournalHeaderWithVatVO.addVat()

      vatVO.setVatDateACC07(new java.sql.Date(System.currentTimeMillis()));
      vatVO.setVatDescriptionACC07(rowVatVO.getVatDescriptionREG01());
      vatValue = rowVatVO.getTaxableIncome().multiply( new BigDecimal(rowVatVO.getValueREG01().doubleValue()/100d*(100d-rowVatVO.getDeductibleREG01().doubleValue())/100d) ).setScale(detailFrame.getCurrencyDecimals(),BigDecimal.ROUND_HALF_UP);
      vatVO.setVatValueACC07(vatValue);
      vatVO.setVatYearACC07(new BigDecimal(Calendar.getInstance().get(Calendar.YEAR)));
      jhVO.addVat(vatVO);

      totalValue = totalValue.add(vatValue);

      // 3. add total vat value to the accounting item...
      jrVO = new JournalRowVO();
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.