|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Manage the additionnal info for operation (from jrn), when an invoice is generated, the order or other info are going to be stored and used in the detail. this class maps the table jrn_info. More...
Collaboration diagram for Acc_Ledger_Info:Public Member Functions | |
| __construct ($p_cn, $p_ji_id=0) | |
| count () | |
| from_array ($p_array) | |
| insert () | |
| load () | |
| load the todo_list row thanks it's ID | |
| load_all () | |
| load all the jrn_info thanks the jr_id | |
| save_extra ($p_jr_id, $p_array) | |
| save all extra information in once, called by compta_ven and compta_ach | |
| search_id_internal ($p_internal) | |
| set_id ($p_ji_id) | |
| set_jrn_id ($p_id) | |
| set_type ($p_id) | |
| set_value ($p_id) | |
| update () | |
Data Fields | |
| $cn | |
| $id_type | |
| $ji_id | |
| $ji_value | |
| $jr_id | |
Manage the additionnal info for operation (from jrn), when an invoice is generated, the order or other info are going to be stored and used in the detail. this class maps the table jrn_info.
Definition at line 32 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::__construct | ( | $p_cn, | |
| $p_ji_id = 0 ) |
Definition at line 39 of file acc_ledger_info.class.php.
References cn.
| Acc_Ledger_Info::count | ( | ) |
Definition at line 161 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::from_array | ( | $p_array | ) |
Definition at line 112 of file acc_ledger_info.class.php.
References $p_array.
Referenced by load().
| Acc_Ledger_Info::insert | ( | ) |
Definition at line 44 of file acc_ledger_info.class.php.
References $e, $sql, _, cn, DatabaseCore\fetch_result(), jr_id, and record_log().
Referenced by save_extra().
Here is the call graph for this function:| Acc_Ledger_Info::load | ( | ) |
load the todo_list row thanks it's ID
Definition at line 97 of file acc_ledger_info.class.php.
References $r, $sql, cn, DatabaseCore\fetch_array(), from_array(), and DatabaseCore\num_row().
Here is the call graph for this function:| Acc_Ledger_Info::load_all | ( | ) |
load all the jrn_info thanks the jr_id
Definition at line 138 of file acc_ledger_info.class.php.
References $array, $r, $ret, $row, $sql, cn, DatabaseCore\fetch_all(), jr_id, and DatabaseCore\num_row().
Here is the call graph for this function:| Acc_Ledger_Info::save_extra | ( | $p_jr_id, | |
| $p_array ) |
save all extra information in once, called by compta_ven and compta_ach
| $p_jr_id | is the jrn.jr_id concerned, |
| $p_array | is the array with the data usually it is $_POST |
Definition at line 188 of file acc_ledger_info.class.php.
References $p_array, insert(), jr_id, noalyss_strlentrim(), set_type(), and set_value().
Here is the call graph for this function:| Acc_Ledger_Info::search_id_internal | ( | $p_internal | ) |
Definition at line 166 of file acc_ledger_info.class.php.
References $jr_id, $r, $sql, cn, DatabaseCore\fetch_result(), jr_id, and DatabaseCore\num_row().
Here is the call graph for this function:| Acc_Ledger_Info::set_id | ( | $p_ji_id | ) |
Definition at line 119 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::set_jrn_id | ( | $p_id | ) |
Definition at line 123 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::set_type | ( | $p_id | ) |
Definition at line 127 of file acc_ledger_info.class.php.
References $p_id.
Referenced by save_extra().
| Acc_Ledger_Info::set_value | ( | $p_id | ) |
Definition at line 131 of file acc_ledger_info.class.php.
References $p_id.
Referenced by save_extra().
| Acc_Ledger_Info::update | ( | ) |
Definition at line 69 of file acc_ledger_info.class.php.
References $e, $sql, cn, jr_id, and record_log().
Here is the call graph for this function:| Acc_Ledger_Info::$cn |
connection
Definition at line 34 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::$id_type |
type id
Definition at line 36 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::$ji_id |
primary key
Definition at line 35 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::$ji_value |
value for this
Definition at line 38 of file acc_ledger_info.class.php.
| Acc_Ledger_Info::$jr_id |
primary key of the table jrn
Definition at line 37 of file acc_ledger_info.class.php.
Referenced by search_id_internal().