Examples of SupplierPricelistChanges


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

   * Method invoked when pressing advanced button: it will show a dialog window to apply changes on the whole items of the current pricelist.
   */
  void advancedButton_actionPerformed(ActionEvent e) {
    if (grid.getSelectedRow()!=-1) {
      SupplierPricelistVO vo = (SupplierPricelistVO) grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow());
      new SupplierAdvancedOptionsDialog(this,new SupplierPricelistChanges(
          vo.getCompanyCodeSys01PUR03(),
          vo.getPricelistCodePUR03(),
          vo.getProgressiveReg04PUR03()
      ));
    }
View Full Code Here

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

    if (grid.getSelectedRow()!=-1) {
      final SupplierPricelistVO vo = (SupplierPricelistVO) grid.getVOListTableModel().getObjectForRow(grid.getSelectedRow());
      ArrayList list = new ArrayList();
      new SupplierImportItemsDialog(list,new SupplierImportItems() {
        public void saveItems(ArrayList items,Date startDate,Date endDate,BigDecimal price) {
          SupplierPricelistChanges itemsVO = new SupplierPricelistChanges(
            vo.getCompanyCodeSys01PUR03(),
            vo.getPricelistCodePUR03(),
            vo.getProgressiveReg04PUR03()
          );
          itemsVO.setStartDate(new java.sql.Date(startDate.getTime()));
          itemsVO.setEndDate(new java.sql.Date(endDate.getTime()));
          itemsVO.setDeltaValue(price);
          Response res = ClientUtils.getData("importAllSupplierItems",itemsVO);
          if (!res.isError())
            pricesGrid.reloadData();
        }
      });
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.