noalyss  Version-6.7.2
Public Member Functions | Data Fields
Acc_Misc Class Reference

this class manage data from the JRNX and JRN table More...

Inheritance diagram for Acc_Misc:
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...

Data Fields

 $array
 $signature

Detailed Description

this class manage data from the JRNX and JRN table

Note:
Data member are the column of the table

Definition at line 614 of file class_acc_operation.php.


Constructor & Destructor Documentation

Acc_Misc::__construct ( p_cn,
p_jrid = 0 
)

Reimplemented from Acc_Detail.

Definition at line 618 of file class_acc_operation.php.

    {
        parent::__construct($p_cn,$p_jrid);
        $this->signature='ODS';
        $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 624 of file class_acc_operation.php.

References $sql, and db.

    {
        parent::get();
        $sql="SELECT j_id, j_date, j_montant, j_poste, j_grpt, j_rapt, j_jrn_def,
             j_debit, j_text, j_centralized, j_internal, j_tech_user, j_tech_date,
             j_tech_per, j_qcode
             FROM jrnx where j_grpt = $1 order by j_debit desc,j_poste";
        $this->det->array=$this->db->get_array($sql,array($this->det->jr_grpt_id));
    }

Field Documentation

Acc_Misc::$array

an array containing the data from JRNX

Definition at line 617 of file class_acc_operation.php.

Acc_Misc::$signature

signature of the obj ODS

Definition at line 616 of file class_acc_operation.php.


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