Displaying 1 result from an estimated 1 matches for "trans_dat".
Did you mean:
trans_date
2006 Jul 29
0
SOAP for large datasets
...contain a struct for transactions and orderitems.
Right now the code looks like this. Any ideas on how to optimize it?
Or even ideas on better methods then using soap for 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,
:qu...