private void addBOMLines(MProduct product,BigDecimal qty){
  MProductBOM[] bomLines=MProductBOM.getBOMLines(product);
  for (int i=0; i < bomLines.length; i++) {
    grpSelectProd.appendChild(new Separator());
    addBOMLine(bomLines[i],qty);
    grpSelectProd.appendChild(new Separator());
  }
  log.fine("#" + bomLines.length);
}

private void addBOMLines ( MProduct product , BigDecimal qty ) { MProductBOM [ ] bomLines = MProductBOM . getBOMLines ( product ) ; for ( int i = 0 ; i < bomLines . length ; i ++ ) { grpSelectProd . appendChild ( new Separator ( ) ) ; addBOMLine ( bomLines [ i ] , qty ) ; grpSelectProd . appendChild ( new Separator ( ) ) ; } log . fine ( "#" + bomLines . length ) ; }
add bom lines to this . called recursively
