I need to create teleagent functionality while placing an order from admin panel. For that I have created some of the administrators from database. So now I have multiple users in database and able to get login from those. But now need to add that user id or name in order table in newly created field say “user_id” (who has created it). But don’t know how to insert that ID in database table ("sales_order" with the field name “user_id") while placing an order from admin panel.
Function which is getting call during submit an order is createOrder() which is at app\code\core\Mage\Adminhtml\Model\Sales\Order\Create.php. I do not know further coding.
Any one who knows please helped me out.