
<?php
$class_third = 'bom_oh_rate_assignment';
$$class_third = &$bom_oh_rate_assignment;
?>

<?php

if (!empty($_GET["bom_overhead_id"]) && (!is_array($_GET["bom_overhead_id"]))) {
 $bom_overhead_id = htmlentities($_GET["bom_overhead_id"]);
} elseif (!empty($_POST["bom_overhead_id"][0])) {
 $bom_overhead_id = $_POST["bom_overhead_id"][0];
} else {
 $bom_oh_res_assignment = new bom_oh_res_assignment();
 $bom_oh_res_assignment_object = array();
 array_push($bom_oh_res_assignment_object, $bom_oh_res_assignment);

 $bom_oh_rate_assignment = new bom_oh_rate_assignment();
 $bom_oh_rate_assignment_object = array();
 array_push($bom_oh_rate_assignment_object, $bom_oh_rate_assignment);
}

if (!empty($bom_overhead_id)) {
 $bom_oh_res_assignment_object = bom_oh_res_assignment::find_by_bom_overheadId($bom_overhead_id);
 if (count($bom_oh_res_assignment_object) == 0) {
	$bom_oh_res_assignment = new bom_oh_res_assignment;
	$bom_oh_res_assignment_object = array();
	array_push($bom_oh_res_assignment_object, $bom_oh_res_assignment);
 }
 
  $bom_oh_rate_assignment_object = bom_oh_rate_assignment::find_by_bom_overheadId($bom_overhead_id);
 if (count($bom_oh_rate_assignment_object) == 0) {
	$bom_oh_rate_assignment = new bom_oh_rate_assignment;
	$bom_oh_rate_assignment_object = array();
	array_push($bom_oh_rate_assignment_object, $bom_oh_rate_assignment);
 }
}

?>
