Users - what does this line say

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

Users - what does this line say

puranisank

  Hi,
Can anyone please help in knowing what does the following line says
"shipGroups=delegator.findByAnd("OrderItemShipGroup",UtilMisc.toMap("orderId",orderId)UtilMisc.toList("shipGroupSeqId"));"

Purani




 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what does this line say

Jacopo Cappellato
The instruction:

List
shipGroups=delegator.findByAnd("OrderItemShipGroup",UtilMisc.toMap("orderId",orderId),UtilMisc.toList("shipGroupSeqId"));

It is the same of the following sql statement:

select * from OrderItemShipGroup
where orderId = 'orderId'
order by shipGroupSeqId

The rows are put in the shipGroups list.

Jacopo

Purani S wrote:

>   Hi,
> Can anyone please help in knowing what does the following line says
> "shipGroups=delegator.findByAnd("OrderItemShipGroup",UtilMisc.toMap("orderId",orderId)UtilMisc.toList("shipGroupSeqId"));"
>
> Purani
>
>
>
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users