public void createSupply(MWMInOutBoundLine boundline,BigDecimal qtySupply){
  MProduct product=MProduct.get(boundline.getCtx(),boundline.getM_Product_ID());
  if (product.isBOM()) {
    createMO(boundline,product,qtySupply);
  }
 else   if (product.isPurchased()) {
    createRequisition(boundline,product,qtySupply);
  }
}

public void createSupply ( MWMInOutBoundLine boundline , BigDecimal qtySupply ) { MProduct product = MProduct . get ( boundline . getCtx ( ) , boundline . getM_Product_ID ( ) ) ; if ( product . isBOM ( ) ) { createMO ( boundline , product , qtySupply ) ; } else if ( product . isPurchased ( ) ) { createRequisition ( boundline , product , qtySupply ) ; } }
create supply based in out bound line
