Examples of GLAccountVO


Examples of com.centraview.account.helper.GLAccountVO

          arrlCVID.add(new Integer(ID));
        }
      }
      else if (modulename.equals("GLAccount")) {
        Iterator it = arrl.iterator();
        GLAccountVO VO = new GLAccountVO();
        while (it.hasNext()) {
          VO = (GLAccountVO) it.next();
          int ID = VO.getGlaccountID();
          arrlCVID.add(new Integer(ID));
        }
      }
    }catch(Exception e)
    {
View Full Code Here

Examples of com.centraview.account.helper.GLAccountVO

        }
      }
      else if (modulename.equals("GLAccount"))
      {
        Iterator it = arrl.iterator();
        GLAccountVO VO = new GLAccountVO();
        while (it.hasNext())
        {
          VO = (GLAccountVO) it.next();
          String extID = VO.getExternalID();
          arrlExtID.add(extID);
        }
      }
    }
    catch(Exception e)
View Full Code Here

Examples of com.centraview.account.helper.GLAccountVO

        * @param indId int individual id
        * @return boolean status of operation
        */
       public boolean addGLAccounts(ArrayList PVOs, int indId)
       {
         GLAccountVO avo = null;
         AccountHelperLocal helperL  = null;
         try
         {
           InitialContext ic = CVUtility.getInitialContext();
           AccountHelperLocalHome home = (AccountHelperLocalHome ) ic.lookup("local/AccountHelper");
           helperL = home.create();

           int size = PVOs.size();
           int cvid = 0;

           for ( int i=0;i<size;i++)
           {
             avo = (GLAccountVO)PVOs.get(i);
             cvid = this.getCVidForExtid("GLAccount",avo.getExternalID());
             if (cvid == 0){
               helperL.addGLAccount(avo);
             }
             logger.info("Added " + avo.getTitle() + " glaccount record");
           }
         }catch(Exception e)
         {
           logger.debug("Error in adding GLAccounts : "+e);
           e.printStackTrace();
View Full Code Here

Examples of com.centraview.account.helper.GLAccountVO

        * @param modulename String
        * @param arl ArrayList
        */
       public void deleteGLAccounts(String modulename, ArrayList arl)
       {
         GLAccountVO pvo = new GLAccountVO();
         ArrayList ids = new ArrayList();
         String delIds = "";

         Iterator it = arl.iterator();
         while(it.hasNext())
         {
           pvo = (GLAccountVO)it.next();
           ids.add(new Integer(pvo.getExternalID()));
         }

         AccountHelperLocal helperL = null;
         try
         {
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.