private void updateBP(HashSet<Integer> bps){
  log.info("#" + bps.size());
  Iterator<Integer> it=bps.iterator();
  while (it.hasNext()) {
    int C_BPartner_ID=it.next();
    MBPartner bp=new MBPartner(getCtx(),C_BPartner_ID,get_TrxName());
    bp.setTotalOpenBalance();
    if (bp.save())     log.fine(bp.toString());
 else     log.log(Level.SEVERE,"BP not updated - " + bp);
  }
}

private void updateBP ( HashSet < Integer > bps ) { log . info ( "#" + bps . size ( ) ) ; Iterator < Integer > it = bps . iterator ( ) ; while ( it . hasNext ( ) ) { int C_BPartner_ID = it . next ( ) ; MBPartner bp = new MBPartner ( getCtx ( ) , C_BPartner_ID , get_TrxName ( ) ) ; bp . setTotalOpenBalance ( ) ; if ( bp . save ( ) ) log . fine ( bp . toString ( ) ) ; else log . log ( Level . SEVERE , "BP not updated - " + bp ) ; } }
update open balance of bp ' s
