This question already has an answer here:
- joining custom table with EAV table 1 answer
I am Joining two tables by following code
$collection = Mage::getModel('commission/commission')->getCollection(); $collection->getSelect()->join( array('customer' => $collection->getTable('customer/customer')), 'main_table.customer_id = customer.id');
commission/commission is my custom module and flat table. that contain customer_id.
I am getting Error like this
Can't retrieve entity config: customer/customer
I am not understanding what is happening, Please suggest anything wrong, Thanks in advance.:)