public static ArrayList<ProductStatusBean> searchProducts(Properties ctx,int adOrgId,String nameSearch,String descSearch,String trxName) throws OperationException {
  int priceListId=POSTerminalManager.getSOPriceListId(ctx);
  int warehouseId=POSTerminalManager.getWarehouseId(ctx);
  return searchProducts(ctx,adOrgId,nameSearch,descSearch,priceListId,warehouseId,trxName);
}

public static ArrayList < ProductStatusBean > searchProducts ( Properties ctx , int adOrgId , String nameSearch , String descSearch , String trxName ) throws OperationException { int priceListId = POSTerminalManager . getSOPriceListId ( ctx ) ; int warehouseId = POSTerminalManager . getWarehouseId ( ctx ) ; return searchProducts ( ctx , adOrgId , nameSearch , descSearch , priceListId , warehouseId , trxName ) ; }
search product by name and / or description ability to search by using + concatenation picks price list and warehouse from terminal
