[quote="ajb":1edpktfl]Try this:
public function my_func(){
unset($_REQUEST['__jump_to_RB_table']);
unset($_REQUEST['__jump_to_RB_record']);
$rs = new TPN_SalesManagement_BComSProdEmail();
$this->rb = $rs->create_rb_module($this, 'Completed_Business_SProdEmail');
$this->display_module($this->rb);
}
Or try this in processing callback
public static function completeBusiness($data, $action) {
if ($action == 'added' && isset(Utils_RecordBrowser::$rb_obj)) {
unset($_REQUEST['__jump_to_RB_table']);
unset($_REQUEST['__jump_to_RB_record']);
location(Base_BoxCommon::create_href_array(Utils_RecordBrowser::$rb_obj, 'My_Module', 'my_func', array('my_arg')));
}
return $data;
}
Regards,
Adam[/quote:1edpktfl]
Thanks Adam. It still does not seem to work...It still ends up with the record view after insert. However something interesting happens, when i click the "Back" button it takes me to the rb view that it should. While if i add a new entry without the callback it takes me to the records list. So its almost like its "rendering" on top of what i asked for... Any ideas?