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

export_ouv.php File Reference

Send the final balance in CSV this balance is used to open an exercice. More...

Go to the source code of this file.

Variables

 $rep = DbConnect()
 $User = new cl_user($rep)
 $cn = DbConnect($_SESSION['g_dossier'])
 exit
 $sql_from = GetArray($cn,"select min(p_id) from parm_periode where p_exercice=".$_GET['p_periode'])
 $sql_to = GetArray($cn,"select max(p_id) from parm_periode where p_exercice=".$_GET['p_periode'])
 $ret
 $sum = 0
 $sql = "j_tech_per >=". $sql_from[0]['min']." and j_tech_per <=".$sql_to[0]['max']
 $result = $Poste->GetSoldeDetail($sql )
$Poste label = str_replace(';','',$Poste->label)


Detailed Description

Send the final balance in CSV this balance is used to open an exercice.

Definition in file export_ouv.php.


Variable Documentation

$cn = DbConnect($_SESSION['g_dossier'])
 

Definition at line 44 of file export_ouv.php.

$rep = DbConnect()
 

Definition at line 35 of file export_ouv.php.

$result = $Poste->GetSoldeDetail($sql )
 

Definition at line 77 of file export_ouv.php.

Referenced by getFicheNameCode(), ShowJrn(), ShowMenuCompta(), u_ShowDossier(), and ViewStock().

$ret
 

Initial value:

GetArray($cn,"select distinct j_poste::text 
                from jrnx inner join tmp_pcmn on (pcm_val=j_poste)
                where 
                j_tech_per >= ".$sql_from[0]['min']." and 
                j_tech_per <= ".$sql_to[0]['max']." and j_poste not like '7%'
                and j_poste not like '6%'
                 order by j_poste::text")

Definition at line 59 of file export_ouv.php.

$sql = "j_tech_per >=". $sql_from[0]['min']." and j_tech_per <=".$sql_to[0]['max']
 

Definition at line 76 of file export_ouv.php.

$sql_from = GetArray($cn,"select min(p_id) from parm_periode where p_exercice=".$_GET['p_periode'])
 

Definition at line 55 of file export_ouv.php.

$sql_to = GetArray($cn,"select max(p_id) from parm_periode where p_exercice=".$_GET['p_periode'])
 

Definition at line 57 of file export_ouv.php.

$sum = 0
 

Definition at line 69 of file export_ouv.php.

$User = new cl_user($rep)
 

Definition at line 37 of file export_ouv.php.

exit
 

Definition at line 49 of file export_ouv.php.

$Poste label = str_replace(';','',$Poste->label)
 

Definition at line 78 of file export_ouv.php.