Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

import_inc.php File Reference

Go to the source code of this file.

Functions

 ImportCSV ($p_cn, $file, $p_bq_account, $p_format_csv, $p_jrn)
 Parse the file and insert the record into the table import_tmp. Insert in a temporary table, if no confirmation is given then the data are removed otherwise records are inserted into import_tmp.
 UpdateCSV ($p_cn, $code, $poste)
 Update import_tmp with the bank account.
 VerifImport ($p_cn)
 Verify the import.
 TransferCSV ($p_cn, $periode)
 Transfert data into the ledger.
 ShowFormTransfert ($p_cn)
 ShowForm for getting data about the bank transfert in cvs.


Function Documentation

ImportCSV p_cn,
file,
p_bq_account,
p_format_csv,
p_jrn
 

Parse the file and insert the record into the table import_tmp. Insert in a temporary table, if no confirmation is given then the data are removed otherwise records are inserted into import_tmp.

Parameters:
$p_cn database connection
$file the uploaded file
$p_bq_account the bank account (target)
$p_format_csv file to include (depending of the bank)

Definition at line 37 of file import_inc.php.

References Commit(), print, and StartSql().

ShowFormTransfert p_cn  ) 
 

ShowForm for getting data about the bank transfert in cvs.

parm : database connection

  • gen :
  • return: none

Definition at line 174 of file import_inc.php.

References $jrn, $w, make_array(), METHOD, name, and size.

TransferCSV p_cn,
periode
 

Transfert data into the ledger.

Definition at line 90 of file import_inc.php.

References $_SESSION, $code, $date_exec, $end, $jrn, $Max, $montant, $poste_comptable, $r, $Res, $Res2, $seq, $sql, $start, $val, Commit(), ExecSql(), exit, InsertJrn(), InsertJrnx(), NextSequence(), Rollback(), SetInternalCode(), and StartSql().

UpdateCSV p_cn,
code,
poste
 

Update import_tmp with the bank account.

Note:
still used ?

Definition at line 60 of file import_inc.php.

References $code, $Res, $sql, and ExecSql().

VerifImport p_cn  ) 
 

Verify the import.

Definition at line 67 of file import_inc.php.

References $i, $Num, $Res, $sql, $val, ExecSql(), METHOD, name, size, table, value, and width.


Generated on Fri Jun 23 00:12:46 2006 for phpcompta by  doxygen 1.4.4