Package com.centraview.account.helper

Examples of com.centraview.account.helper.AccountHelperHome.create()


    }

    if (setting != null && setting.equals("Tax")) {
      AccountHelperHome home = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      try {
        AccountHelper remote = home.create();
        remote.setDataSource(dataSource);
        Vector taxClass = remote.getTaxClasses();
        Vector taxJurisdiction = remote.getTaxJurisdiction();
        HashMap taxMatrix = remote.getTaxMartix();
        dynaform.set("taxClassVec",taxClass);
View Full Code Here


        ((InvoiceForm)form).setCustomerId(entityidStr);
        ((InvoiceForm)form).setOrdername(ordernameStr);
      }// end of if ((ordernameStr != null) && (entityidStr != null) && (orderidStr !=null))

      //Call EJb  Account Helper to set ItemLines
      AccountHelper accHelper = (AccountHelper) accountHelperHome.create();
      accHelper.setDataSource(dataSource);

      Vector taxJurisdiction = accHelper.getTaxJurisdiction();
      ((InvoiceForm)form).setJurisdictionVec(taxJurisdiction);
View Full Code Here

    FORWARD_final = FORWARD_save;

    if (actionType != null && actionType.equals("ADD")){
      AccountHelperHome home = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      try {
        AccountHelper remote = home.create();
        remote.setDataSource(dataSource);
        if (taxClassValue != null && ! taxClassValue.equals("")) {
          remote.insertTaxClassOrJurisdiction(taxClassValue,"taxClass");
        }
        if (taxJurisdictionsValue != null && !taxJurisdictionsValue.equals("")) {
View Full Code Here

    }
   
    if (actionType != null && actionType.equals("REMOVE")) {
      AccountHelperHome home = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      try {
        AccountHelper remote = home.create();
        remote.setDataSource(dataSource);
        if (tempTaxClassID != null && !tempTaxClassID.equals("")) {
          int taxClassID = Integer.parseInt(tempTaxClassID);
          remote.removeTaxClassOrJurisdiction(taxClassID, "taxClass");
        }
View Full Code Here

      }
    }
    if (actionType != null && actionType.startsWith("SAVE")) {
      AccountHelperHome home = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      try {
        AccountHelper remote = home.create();
        remote.setDataSource(dataSource);
        Vector taxClass = remote.getTaxClasses();
        Vector taxJurisdiction = remote.getTaxJurisdiction();
        ArrayList taxMatrixValue = new ArrayList();
       
View Full Code Here

            shipToId = Integer.parseInt(proposalVO.getShippingaddressid());
          }

          if (shipToId != 0) {
            AccountHelperHome hm = (AccountHelperHome) ic.lookup("local/AccountHelper");
            AccountHelper accHelper = hm.create();
            accHelper.setDataSource(this.dataSource);

            ContactHelperLocalHome home1 = (ContactHelperLocalHome) ic.lookup("local/ContactHelper");
            ContactHelperLocal contactHelperLocal = home1.create();
            contactHelperLocal.setDataSource(this.dataSource);
View Full Code Here

          } // end of if statement (proposalVO.getShippingaddressid() != null)

          if (shipToId != 0) {
            try {
              AccountHelperHome hm = (AccountHelperHome) ic.lookup("local/AccountHelper");
              AccountHelper accHelper = hm.create();
              accHelper.setDataSource(this.dataSource);

              ContactHelperLocalHome home2 = (ContactHelperLocalHome) ic.lookup("local/ContactHelper");
              ContactHelperLocal contactHelperLocal = home2.create();
              contactHelperLocal.setDataSource(this.dataSource);
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.