Examples of VariantDescriptionsVO


Examples of org.jallinone.variants.java.VariantDescriptionsVO

      String t16 = resources.getResource("total amount must not be zero");
      String t17 = resources.getResource("only an immediate payment is allowed");

      ArrayList companiesList = ((JAIOUserSessionParameters)userSessionPars).getCompanyBa().getCompaniesList("WAR01");

     VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(pk.getCompanyCodeSys01DOC01());

      CloseSaleDoc bean = (CloseSaleDoc)JAIOBeanFactory.getInstance().getBean(CloseSaleDoc.class);
      Response answer = bean.closeSaleDoc(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),pk,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,t17,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),companiesList);

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

    try {
      SaleDocRowPK pk = (SaleDocRowPK)inputPar;
      if (pk==null)
        return new VOResponse();

      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(pk.getCompanyCodeSys01DOC02());
      LoadSaleDocRow bean = (LoadSaleDocRow)JAIOBeanFactory.getInstance().getBean(LoadSaleDocRow.class);
      Response answer = bean.loadSaleDocRow(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),pk,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO


  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    try {
      DetailSaleDocRowVO rowVO = (DetailSaleDocRowVO)inputPar;
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(rowVO.getCompanyCodeSys01DOC02());
      InsertSaleItem bean = (InsertSaleItem)JAIOBeanFactory.getInstance().getBean(InsertSaleItem.class);
      Response answer = bean.insertSaleItem(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),rowVO,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

    return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

      // retrieve internationalization settings (Resources object)...
      ServerResourcesFactory factory = (ServerResourcesFactory)context.getAttribute(Controller.RESOURCES_FACTORY);
      Resources resources = factory.getResources(userSessionPars.getLanguageId());
      String t1 = resources.getResource("no price defined for the scheduled item");

                        VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(invVO.getCallOutRequest().getCompanyCodeSys01SCH03());

      CreateInvoiceFromScheduledActivity bean = (CreateInvoiceFromScheduledActivity)JAIOBeanFactory.getInstance().getBean(CreateInvoiceFromScheduledActivity.class);
      Response answer = bean.createInvoiceFromScheduledActivity(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),invVO,t1,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    java.util.ArrayList list = (ArrayList)inputPar;
    try {
      SaleItemDiscountVO voDisc = (SaleItemDiscountVO)list.get(0);
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(voDisc.getCompanyCodeSys01DOC04());

      SaleDocRowDiscounts bean = (SaleDocRowDiscounts)JAIOBeanFactory.getInstance().getBean(SaleDocRowDiscounts.class);
      Response answer = bean.deleteSaleDocRowDiscounts(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),list,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

    return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    ArrayList oldVOs = ((ArrayList[])inputPar)[0];
    ArrayList newVOs = ((ArrayList[])inputPar)[1];
    try {
      SaleItemDiscountVO oldVO = (SaleItemDiscountVO)oldVOs.get(0);
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(oldVO.getCompanyCodeSys01DOC04());

      SaleDocRowDiscounts bean = (SaleDocRowDiscounts)JAIOBeanFactory.getInstance().getBean(SaleDocRowDiscounts.class);
      Response answer = bean.updateSaleDocRowDiscounts(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),((ArrayList[])inputPar)[0],((ArrayList[])inputPar)[1],((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

                                       HttpSession userSession,
                                       ServletContext context) {
    java.util.ArrayList list = (ArrayList)inputPar;
    try {
            SaleItemDiscountVO voDisc = (SaleItemDiscountVO)list.get(0);
            VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(voDisc.getCompanyCodeSys01DOC04());

            InsertSaleDocRowDiscounts bean = (InsertSaleDocRowDiscounts)JAIOBeanFactory.getInstance().getBean(InsertSaleDocRowDiscounts.class);
            Response answer = bean.insertSaleDocRowDiscounts(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),list,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

            return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    java.util.ArrayList list = (ArrayList)inputPar;
    try {
      SaleDocRowPK rowPK = (SaleDocRowPK)list.get(0);
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(rowPK.getCompanyCodeSys01DOC02());
      SaleDocRows bean = (SaleDocRows)JAIOBeanFactory.getInstance().getBean(SaleDocRows.class);
      Response answer = bean.deleteSaleDocRows(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),list,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

    return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

      // retrieve internationalization settings (Resources object)...
      ServerResourcesFactory factory = (ServerResourcesFactory)context.getAttribute(Controller.RESOURCES_FACTORY);
      Resources resources = factory.getResources(userSessionPars.getLanguageId());
      String t1 = resources.getResource("estimate nr. ");

                  VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(pk.getCompanyCodeSys01DOC01());

      CreateSaleDocFromEstimate bean = (CreateSaleDocFromEstimate)JAIOBeanFactory.getInstance().getBean(CreateSaleDocFromEstimate.class);
      Response answer = new VOResponse( bean.createSaleDocFromEstimate(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),pk,t1,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),companiesList) );

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
View Full Code Here

Examples of org.jallinone.variants.java.VariantDescriptionsVO

      // retrieve internationalization settings (Resources object)...
      ServerResourcesFactory factory = (ServerResourcesFactory)context.getAttribute(Controller.RESOURCES_FACTORY);
      Resources resources = factory.getResources(userSessionPars.getLanguageId());

                  VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(docVO.getCompanyCodeSys01DOC01());

      CreateInvoiceFromSaleDoc bean = (CreateInvoiceFromSaleDoc)JAIOBeanFactory.getInstance().getBean(CreateInvoiceFromSaleDoc.class);
      Response answer = bean.createInvoiceFromSaleDoc(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),docVO,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);
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.