30 require_once NOALYSS_INCLUDE.
'/class/class_gestion_table.php';
51 if ($this->qs_internal==
"")
52 throw new Exception(__FILE__.__LINE__.
" qs_internal est vide");
65 from quant_sold left join tva_rate on (qs_vat_code=tva_id)
66 where qs_internal='".$this->qs_internal.
"'";
71 if (
sizeof(
$res)==0)
return null;
78 $t_gestion_sold->$idx=
$value;
86 $res=$this->
db->exec_sql(
"select qs_id from quant_sold where j_id=".$p_jid);
107 $ret=$this->
db->exec_sql(
$sql,array($this->qs_id));
111 if ( empty(
$res) )
return null;
static fetch_all($ret)
wrapper for the function pg_fetch_all
static num_row($ret)
wrapper for the function pg_NumRows
get_list()
return an array of gestion_table, the object are retrieved thanks the qs_internal ...
static fetch_result($ret, $p_row=0, $p_col=0)
wrapper for the function pg_fetch_all
this object handles the table quant_sold