I was able to get it working. I wasn't sure if LookupBulkAddProducts.bsh
really needed the productId for case sensitive search but when I changed
the paginate-target to LookupBulkAddProducts it got NPE trying to upper
case the productId.
I added this
paginate-target="LookupBulkAddProducts" to the LookupBulkAddProducts form.
and chaged to this
//make sure the look up is case insensitive
if (productId != null)
{
conditionList.add(new EntityExpr(new EntityFunction.UPPER(new
EntityFieldValue("productId")),
EntityOperator.LIKE, productId.toUpperCase() + "%"));
}
in LookupBulkAddProducts.bsh
Fred Forester wrote:
> hi all,
>
> when clicking Quick Lookup from order entry the first screen
> (productlist) displays fine. the "Next" link however goes back to the
> order entry screen and I see this in the log
>
> 4551489 (http-0.0.0.0-8443-Processor3) [
> RequestHandler.java:211:INFO ] [Processing Request]: BulkAddProducts
> 4551491 (http-0.0.0.0-8443-Processor3) [
> ShoppingCartEvents.java:1210:WARN ] No _rowCount was passed in
> 4551492 (http-0.0.0.0-8443-Processor3) [
> ShoppingCartEvents.java:1215:WARN ] Invalid value for rowCount =null
> 4551493 (http-0.0.0.0-8443-Processor3) [
> ShoppingCartEvents.java:1219:WARN ] No rows to process, as rowCount = 0
>
>
> Thanx
> Fred
>
>
> _______________________________________________
> Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users