Examples of TaxMartixForm


Examples of com.centraview.account.common.TaxMartixForm

                    } else {
                      float floatTaxRate = Float.parseFloat(taxRate);
                      if (floatTaxRate < 0 || floatTaxRate > 100) {
                        allErrors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("error.general.rangeField", taxJurisdictionName+"/"+taxClassName));
                      }
                      taxMatrixValue.add(new TaxMartixForm(taxClassID,taxJurisdictionID,floatTaxRate));
                    }
                  }
                }
              }
            }
View Full Code Here

Examples of com.centraview.account.common.TaxMartixForm

  public void setTaxMatrix(ArrayList taxMatrix){
    CVDal dl = new CVDal(dataSource);
    try
    {
      for(int i=0; i<taxMatrix.size();i++){
        TaxMartixForm taxMartixForm = (TaxMartixForm) taxMatrix.get(i);
        int taxClassId = taxMartixForm.getTaxClassID();
        int taxJurisdictionId = taxMartixForm.getTaxJurisdictionID();
        float taxRate = taxMartixForm.getTaxRate();
        if(taxClassId != 0 && taxJurisdictionId != 0){
          this.updateTaxRate(taxClassId, taxJurisdictionId, taxRate,dl);
        }// end of if(taxClassId != 0 && taxJurisdictionId != 0)
      }// end of for(int i=0; i<taxMatrix.size();i++)
    } //end of try block
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.