Examples of SupplierPriceVO


Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

        public void codeValidated(boolean validated) {}

        public void codeChanged(ValueObject parentVO,Collection parentChangedAttributes) {}

        public void beforeLookupAction(ValueObject parentVO) {
          SupplierPriceVO priceVO = (SupplierPriceVO)parentVO;
          treeLevelDataLocator.getTreeNodeParams().put(ApplicationConsts.PROGRESSIVE_HIE02,priceVO.getProgressiveHie02ITM01());
          treeLevelDataLocator.getTreeNodeParams().put(ApplicationConsts.COMPANY_CODE_SYS01,((SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow())).getCompanyCodeSys01PUR03());
          itemDataLocator.getLookupFrameParams().put(ApplicationConsts.PROGRESSIVE_HIE02,priceVO.getProgressiveHie02ITM01());
          itemDataLocator.getLookupValidationParameters().put(ApplicationConsts.PROGRESSIVE_HIE02,priceVO.getProgressiveHie02ITM01());
          itemDataLocator.getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,((SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow())).getCompanyCodeSys01PUR03());
          itemDataLocator.getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,((SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow())).getCompanyCodeSys01PUR03());
          itemDataLocator.getLookupFrameParams().put(ApplicationConsts.PROGRESSIVE_REG04,((SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow())).getProgressiveReg04PUR03());
          itemDataLocator.getLookupValidationParameters().put(ApplicationConsts.PROGRESSIVE_REG04,((SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow())).getProgressiveReg04PUR03());
        }
View Full Code Here

Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

    }
    colItemType.setDomain(d);
    colItemType.addItemListener(new ItemListener() {
      public void itemStateChanged(ItemEvent e) {
        if (e.getStateChange()==e.SELECTED) {
          SupplierPriceVO vo = (SupplierPriceVO)pricesGrid.getVOListTableModel().getObjectForRow(pricesGrid.getSelectedRow());
          SupplierPricelistVO pricelistVO = (SupplierPricelistVO)grid.getVOListTableModel().getObjectForRow(0);
          vo.setItemCodeItm01PUR04(null);
          int selIndex = ((JComboBox)e.getSource()).getSelectedIndex();
          Object selValue = d.getDomainPairList()[selIndex].getCode();
          treeLevelDataLocator.getTreeNodeParams().put(ApplicationConsts.PROGRESSIVE_HIE02,selValue);
          itemDataLocator.getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,pricelistVO.getCompanyCodeSys01PUR03());
          itemDataLocator.getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,pricelistVO.getCompanyCodeSys01PUR03());
          itemDataLocator.getLookupFrameParams().put(ApplicationConsts.PROGRESSIVE_REG04,pricelistVO.getProgressiveReg04PUR03());
          itemDataLocator.getLookupValidationParameters().put(ApplicationConsts.PROGRESSIVE_REG04,pricelistVO.getProgressiveReg04PUR03());
          vo.setCompanyCodeSys01PUR04(pricelistVO.getCompanyCodeSys01PUR03());
          vo.setPricelistCodePur03PUR04(pricelistVO.getPricelistCodePUR03());
        }
      }
    });
  }
View Full Code Here

Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

          gridParams.getOtherGridParams().put(ApplicationConsts.ITEM_PK,new ItemPK(vo.getCompanyCodeSys01(),vo.getItemCode()));
          Response res = ClientUtils.getData("loadSupplierPrices",gridParams);
          if (res.isError())
            vo.setPricelistCodePUR03(null);
          else {
            SupplierPriceVO priceVO = (SupplierPriceVO)((VOListResponse)res).getRows().get(0);
            vo.setPricelistCodePUR03(priceVO.getPricelistCodePur03PUR04());
            vo.setPricelistDescription(priceVO.getPricelistDescriptionSYS10());
          }
        }
        else
          vo.setProgressiveREG04(null);
      }
View Full Code Here

Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

        public void codeValidated(boolean validated) {}

        public void codeChanged(ValueObject parentVO,Collection parentChangedAttributes) {}

        public void beforeLookupAction(ValueObject parentVO) {
          SupplierPriceVO priceVO = (SupplierPriceVO)parentVO;
          pricelistDataLocator.getLookupFrameParams().put(ApplicationConsts.COMPANY_CODE_SYS01,priceVO.getCompanyCodeSys01PUR04());
          pricelistDataLocator.getLookupValidationParameters().put(ApplicationConsts.COMPANY_CODE_SYS01,priceVO.getCompanyCodeSys01PUR04());
          pricelistDataLocator.getLookupFrameParams().put(ApplicationConsts.PROGRESSIVE_REG04,priceVO.getProgressiveReg04PUR04());
          pricelistDataLocator.getLookupValidationParameters().put(ApplicationConsts.PROGRESSIVE_REG04,priceVO.getProgressiveReg04PUR04());
        }

        public void forceValidate() {}

      });
View Full Code Here

Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

        return true;
      }


      public int getDecimals(int row) {
        SupplierPriceVO vo = (SupplierPriceVO)pricesGrid.getVOListTableModel().getObjectForRow(pricesGrid.getSelectedRow());
        if (vo!=null && vo.getDecimalsREG03()!=null)
          return vo.getDecimalsREG03().intValue();
        else
          return 0;
      }
View Full Code Here

Examples of org.jallinone.purchases.pricelist.java.SupplierPriceVO

          return 0;
      }


      public String getCurrencySymbol(int row) {
        SupplierPriceVO vo = (SupplierPriceVO)pricesGrid.getVOListTableModel().getObjectForRow(pricesGrid.getSelectedRow());
        if (vo!=null && vo.getCurrencySymbolREG03()!=null)
          return vo.getCurrencySymbolREG03();
        else
        return "E";
      }
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.