noalyss  Version-6.7.2
Public Member Functions
Acc_Sold Class Reference

this class manage data from the QUANT_SOLD table More...

Inheritance diagram for Acc_Sold:
Acc_Detail Acc_Operation

Public Member Functions

 __construct ($p_cn, $p_jrid=0)
 get ()
 retrieve some common data from jrn as the datum, the comment,payment limit...

Detailed Description

this class manage data from the QUANT_SOLD table

Note:
Data member are the column of the table

Definition at line 640 of file class_acc_operation.php.


Constructor & Destructor Documentation

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();
    }

Member Function Documentation

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.

References $sql, and db.

    {
        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));
    }

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations