noalyss Version-9
Public Member Functions | Data Fields
Acc_Reconciliation_Lettering Class Reference
+ Inheritance diagram for Acc_Reconciliation_Lettering:
+ Collaboration diagram for Acc_Reconciliation_Lettering:

Public Member Functions

 auto_letter ($p_jr_id)
 do nothing , it let you skip Acc_Reconcililation More...
 
 insert_reconcilied (int $p_jrnx_id, int $p_jrnx_id_rec)
 find the jrn.jr_id and call the Acc_Reconciliation::insert_rapt , the auto_letter will be skipped More...
 
- Public Member Functions inherited from Acc_Reconciliation
 __construct ($cn)
 
 auto_letter ($p_jrid)
 try to letter same card between $p_jrid and $this->jr_id More...
 
 export_csv ($p_choice)
 Export to CSV. More...
 
 fill_info ()
 
 filter_date ()
 create a string to filter thanks the date More...
 
 get ()
 Return an array of the concerned operation. More...
 
 get_amount_noautovat ($p_jrn_id, $p_default_amount)
 Retrieve the amount VAT included and autoreversed VAT excluded thanks the view v_quant_detail and return it. More...
 
 get_data ($p_choice)
 
 get_not_reconciled ()
 return array of not-reconciled operation Prepare and put in memory the SQL detail_quant More...
 
 get_reconciled ()
 return array of reconciled operation Prepare and put in memory the SQL detail_quant More...
 
 get_reconciled_amount ($p_equal=false)
 Prepare and put in memory the SQL detail_quant. More...
 
 insert ($jr_id2)
 Insert into jrn_rapt the concerned operations. More...
 
 insert_rapt ($jr_id2)
 Insert into jrn_rapt the concerned operations should not be called directly, use insert instead. More...
 
 ledger_filter ()
 Create a sql condition to filter by security and by asked ledger based on $this->a_jrn. More...
 
 prepare_query_detail_quant ()
 
 remove ($jr_id2)
 Insert into jrn_rapt the concerned operations. More...
 
 set_jr_id ($jr_id)
 
 show_detail ($p_ret)
 
 widget ()
 return a widget of type js_concerned More...
 

Data Fields

const sql_find_operation ="select jr_id from jrn join jrnx on (jr_grpt_id=j_grpt) where j_id=$1"
 
- Data Fields inherited from Acc_Reconciliation
 $a_jrn
 
 $db
 
 $end_day
 
 $jr_id
 
 $start_day
 

Additional Inherited Members

- Static Public Member Functions inherited from Acc_Reconciliation
static test_me ()
 

Detailed Description

Definition at line 33 of file acc_reconciliation_lettering.class.php.

Member Function Documentation

◆ auto_letter()

Acc_Reconciliation_Lettering::auto_letter (   $p_jr_id)

do nothing , it let you skip Acc_Reconcililation

Parameters
type$p_jr_id
Returns
type

Reimplemented from Acc_Reconciliation.

Definition at line 41 of file acc_reconciliation_lettering.class.php.

42 {
43 return ;
44 }

References return.

◆ insert_reconcilied()

Acc_Reconciliation_Lettering::insert_reconcilied ( int  $p_jrnx_id,
int  $p_jrnx_id_rec 
)

find the jrn.jr_id and call the Acc_Reconciliation::insert_rapt , the auto_letter will be skipped

Parameters
int$p_jrnx_idjrnx.j_id row id to reconcield
int$p_jrnx_id_recjrnx.j_id row id to reconcield

Definition at line 50 of file acc_reconciliation_lettering.class.php.

51 {
52 // find jr_id from both
53 $jrn_id = $this->db->get_value(self::sql_find_operation,
54 [$p_jrnx_id]);
55 $jrn_id2 = $this->db->get_value(self::sql_find_operation,[$p_jrnx_id_rec]);
56 $this->set_jr_id($jrn_id);
57 return $this->insert_rapt($jrn_id2);
58 }
insert_rapt($jr_id2)
Insert into jrn_rapt the concerned operations should not be called directly, use insert instead.
$SecUser db

References $jrn_id, db, Acc_Reconciliation\insert_rapt(), and Acc_Reconciliation\set_jr_id().

+ Here is the call graph for this function:

Field Documentation

◆ sql_find_operation

const Acc_Reconciliation_Lettering::sql_find_operation ="select jr_id from jrn join jrnx on (jr_grpt_id=j_grpt) where j_id=$1"

Definition at line 35 of file acc_reconciliation_lettering.class.php.


The documentation for this class was generated from the following file: