[OFBiz] Users - BSH help?

Chris Howe cjhowe76013 at yahoo.com
Mon Apr 4 20:12:27 EDT 2005


I don't know where this is wrong.... orderLists is defined, order is not and orders is not. 

if (billingAccountList.size() > 0){
    accountListIter = billingAccountList.iterator();
    order = new HashMap();
    orders = new LinkedList();
    while (accountListIter.hasNext()){
        orderLists = accountListIter.next();
        billingAccountId = orderLists.get("billingAccountId");
        orderList =delegator.findByAnd("OrderHeader",UtilMisc.toMap("billingAccountId",billingAccountId,"statusId", "ORDER_CREATED"));
        context.put("orderList", orderList);
        order.put("orderList", orderList);
        orders.addAll(orderList);
        }
    }

		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20050404/21a1cdf2/attachment.htm


More information about the Users mailing list