Package org.jallinone.variants.java

Examples of org.jallinone.variants.java.VariantDescriptionsVO


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

      SaleDocCharges bean = (SaleDocCharges)JAIOBeanFactory.getInstance().getBean(SaleDocCharges.class);
      Response answer = bean.insertSaleDocCharges(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


  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    GridParams pars = (GridParams)inputPar;
    try {
      DeliveryNotePK pk = (DeliveryNotePK)pars.getOtherGridParams().get(ApplicationConsts.DELIVERY_NOTE_PK);
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(pk.getCompanyCodeSys01DOC08());

      WarehouseUtils bean = (WarehouseUtils)JAIOBeanFactory.getInstance().getBean(WarehouseUtils.class);
      Response answer = bean.loadInDeliveryNoteRows(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),pars,((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

                  String t4 = resources.getResource("unload items from production order");
                  String t5 = resources.getResource("the warehouse motive specified is not defined");
      String imagePath = (String)((JAIOUserSessionParameters)userSessionPars).getAppParams().get(ApplicationConsts.IMAGE_PATH);
      ArrayList companiesList = ((JAIOUserSessionParameters)userSessionPars).getCompanyBa().getCompaniesList("WAR01");

                  VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(voProd.getCompanyCodeSys01DOC22());
      ProdOrders bean = (ProdOrders)JAIOBeanFactory.getInstance().getBean(ProdOrders.class);
      Response answer = bean.confirmProdOrder(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),voProd,t1,t2,t3,t4,t5,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),imagePath,companiesList);

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

      String t1 = res.getResource("no delivery note to update");
      String t2 = res.getResource("unload items from delivery request");
      String t3 = res.getResource("load items from purchase order");
      String t4 = res.getResource("the warehouse motive specified is not defined");

      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(voDel.getCompanyCodeSys01DOC08());

      DeliveryNotes bean = (DeliveryNotes)JAIOBeanFactory.getInstance().getBean(DeliveryNotes.class);
      Response answer = bean.closeDeliveryNote(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),voDel,t1,t2,t3,t4,((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

      CheckComponentsAvailability bean = (CheckComponentsAvailability)JAIOBeanFactory.getInstance().getBean(CheckComponentsAvailability.class);
      GridParams gridParams = (GridParams)inputPar;;
      ArrayList products = (ArrayList)gridParams.getOtherGridParams().get(ApplicationConsts.PRODUCTS);
        ProdOrderProductVO prodVO = (ProdOrderProductVO)products.get(0);
        VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(prodVO.getCompanyCodeSys01DOC23());
      Response answer = bean.checkComponentsAvailability(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),new HashMap(),products,((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),companiesList);

      return answer;
    }
    catch (Throwable ex) {
      Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while checking components availability for a production order",ex);
View Full Code Here

  public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
    GridParams gridPars = (GridParams)inputPar;
    try {
      String companyCodeSys01 = (String)gridPars.getOtherGridParams().get(ApplicationConsts.COMPANY_CODE_SYS01);
      VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(companyCodeSys01);
      Inventories bean = (Inventories)JAIOBeanFactory.getInstance().getBean(Inventories.class);
      Response answer = bean.loadInventoryItems(
           vo.getVariant1Descriptions(),
           vo.getVariant2Descriptions(),
           vo.getVariant3Descriptions(),
           vo.getVariant4Descriptions(),
           vo.getVariant5Descriptions(),
           gridPars,
           ( (JAIOUserSessionParameters) userSessionPars).getServerLanguageId(),
           userSessionPars.getUsername()
      );
View Full Code Here

TOP

Related Classes of org.jallinone.variants.java.VariantDescriptionsVO

Copyright © 2018 www.massapicom. 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.