21require_once NOALYSS_INCLUDE .
'/lib/data_sql.class.php';
22require_once NOALYSS_INCLUDE .
'/class/database.class.php';
41 $this->
table =
"public.quant_sold";
42 $this->primary_key =
"qs_id";
48 ,
"qs_internal" =>
"qs_internal"
49 ,
"qs_fiche" =>
"qs_fiche"
50 ,
"qs_quantite" =>
"qs_quantite"
51 ,
"qs_price" =>
"qs_price"
52 ,
"qs_vat" =>
"qs_vat"
53 ,
"qs_vat_code" =>
"qs_vat_code"
54 ,
"qs_client" =>
"qs_client"
55 ,
"qs_valid" =>
"qs_valid"
57 ,
"qs_vat_sided" =>
"qs_vat_sided"
58 ,
"qs_unit" =>
"qs_unit"
65 ,
"qs_internal" =>
"text"
66 ,
"qs_fiche" =>
"numeric"
67 ,
"qs_quantite" =>
"numeric"
68 ,
"qs_price" =>
"numeric"
69 ,
"qs_vat" =>
"numeric"
70 ,
"qs_vat_code" =>
"numeric"
71 ,
"qs_client" =>
"numeric"
72 ,
"qs_valid" =>
"text"
74 ,
"qs_vat_sided" =>
"numeric"
75 ,
"qs_unit" =>
"numeric"
79 $this->
default = array(
83 $this->date_format =
"DD.MM.YYYY";
84 parent::__construct($p_cn,
$p_id);
This class allow you to connect to the postgresql database, execute sql, retrieve data.
ORM of the table public.quant_sold.
__construct(DatabaseCore $p_cn, $p_id=-1)
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...