> get_array("select coalesce(sum(s_qin)) as s_qin,coalesce(sum(s_qout)) as s_qout from tmp_stockgood_detail where r_id=$1 and sg_code=$2 and s_id=$3" , array($a_repository[$e]['r_id'], $a_code[$x]['sg_code'],$tmp_id)); ?>
:
:
:
:
:
: