Users - _rowCount quick lookup from order entry

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - _rowCount quick lookup from order entry

Fred Forester-2

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
Reply | Threaded
Open this post in threaded view
|

Re: Users - _rowCount quick lookup from order entry

Fred Forester-2

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