Without actually seeing the code for the two modules it's hard to be exact but you should be able to load the related order and pull out the id in the Placement.php file (or whatever module builder called your main PHP bean file).
You should be able to override the fill_in_relationship_fields() function or the fill_in_additional_parent_fields() function or maybe the fill_in_additional_detail_fields() function. Will take a little bit of experimenting to get it to work but it might look like this
PHP Code:
function fill_in_additional_detail_fields() {
parent::fill_in_additional_detail_fields();
$sub_focus=new Order();
$sub_focus->retrieve($this->related_order); //not sure how the two mods are related
$this->od_id=$sub_focus->od_id;
}
Of course that is completely blind code, no idea what your relationships or real modules names are.
Bookmarks