We have a problem after upgrading to 1.9.1 EE Magenta. In the user script, we used a connection to another table for this, and it always worked fine.
$collection->joinTable('sales_flat_order_item','order_id=entity_id', array('sku', 'qty_ordered', 'qty_invoiced', 'udropship_vendor') , 'sales_flat_order_item.udropship_vendor="'.$this->vendorid.'"', 'right');
$collection->groupByAttribute(array('entity_id'));
But after the update, we got an error message: Fatal error: calling the undefined method Mage_Sales_Model_Mysql4_Order_Collection :: joinTable ().
Does anyone know what to do?
source
share