Displaying 1 result from an estimated 1 matches for "orderitemdata".
Did you mean:
orderitem_data
2006 Jul 29
0
SOAP for large datasets
...something like
this?
@orders = Customer.find(:all, :include => [:orderitems, :histories],
:conditions => ["history.trans_date between ? and ?",start_date,end_d
ate], :limit => 500)
for order in @orders
oi = []
for items in order.orderitems
oi << OrderitemData.new(:sku => items.sku, :item_type =>
items.item_type, :descript => items.descript, :amount => items.amount,
:quan
t => items.quant, :trans_id => items.trans_id, :trans_date =>
items.trans_date)
end
trans = []
for history in order.histories
trans <&...