|
noalyss
Version-6.7.2
|
this class manage data from the QUANT_SOLD table More...
Public Member Functions | |
| __construct ($p_cn, $p_jrid=0) | |
| get () | |
| retrieve some common data from jrn as the datum, the comment,payment limit... | |
this class manage data from the QUANT_SOLD table
Definition at line 640 of file class_acc_operation.php.
| Acc_Sold::__construct | ( | $ | p_cn, |
| $ | p_jrid = 0 |
||
| ) |
Reimplemented from Acc_Detail.
Definition at line 642 of file class_acc_operation.php.
{
parent::__construct($p_cn,$p_jrid);
$this->signature='VEN';
$this->det=new stdClass();
}
| Acc_Sold::get | ( | ) |
retrieve some common data from jrn as the datum, the comment,payment limit...
Reimplemented from Acc_Detail.
Definition at line 648 of file class_acc_operation.php.
{
parent::get();
$sql="SELECT qs_id, qs_internal, qs_fiche, qs_quantite, qs_price, qs_vat,
qs_vat_code, qs_client, qs_valid, j_id,j_text,qs_vat_sided
FROM quant_sold join jrnx using(j_id) where j_grpt=$1";
$this->det->array=$this->db->get_array($sql,array($this->det->jr_grpt_id));
}