307 lines
12 KiB
HTML
307 lines
12 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>phpcompta: annulation.php File Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.4 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000001.html">html</a></div>
|
|
<h1>annulation.php File Reference</h1>in a popup window manage the deletion of the operations <a href="#_details">More...</a>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="annulation_8php-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a0">$User</a> = new <a class="el" href="classcl__user.html">cl_user</a>($cn)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a1">exit</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"></script > </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a2">$p_id</a> = -1</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a3">$grp_new</a> = NextSequence($cn,'s_grpt')</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a4">$seq</a> = NextSequence($cn,"s_jrn")</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a5">$p_internal</a> = SetInternalCode($cn,$seq,$l_array['jr_def_id'])</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a6">$sql</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a7">$Res</a> = ExecSql($cn,$sql)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a8">$a</a> = new <a class="el" href="classwidget.html">widget</a>("text")</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">$a </td><td class="memItemRight" valign="bottom"><a class="el" href="annulation_8php.html#a9">size</a> = 80</td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
in a popup window manage the deletion of the operations
|
|
<p>
|
|
|
|
<p>
|
|
Definition in file <a class="el" href="annulation_8php-source.html">annulation.php</a>.<hr><h2>Variable Documentation</h2>
|
|
<a class="anchor" name="a8"></a><!-- doxytag: member="annulation.php::$a" ref="a8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$a = new <a class="el" href="classwidget.html">widget</a>("text") </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00243">243</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3"></a><!-- doxytag: member="annulation.php::$grp_new" ref="a3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$grp_new = NextSequence($cn,'s_grpt') </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00135">135</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="annulation.php::$p_id" ref="a2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$p_id = -1 </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00110">110</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a5"></a><!-- doxytag: member="annulation.php::$p_internal" ref="a5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$p_internal = SetInternalCode($cn,$seq,$l_array['jr_def_id']) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00137">137</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a7"></a><!-- doxytag: member="annulation.php::$Res" ref="a7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$Res = ExecSql($cn,$sql) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00149">149</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4"></a><!-- doxytag: member="annulation.php::$seq" ref="a4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$seq = NextSequence($cn,"s_jrn") </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00136">136</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00628">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00662">RecordSell()</a>, and <a class="el" href="import__inc_8php-source.html#l00201">TransferCSV()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a6"></a><!-- doxytag: member="annulation.php::$sql" ref="a6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$sql </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<b>Initial value:</b><div class="fragment"><pre class="fragment"> <span class="stringliteral">"insert into jrn (</span>
|
|
<span class="stringliteral"> jr_id,jr_def_id,jr_montant,jr_comment, </span>
|
|
<span class="stringliteral"> jr_date,jr_grpt_id,jr_internal </span>
|
|
<span class="stringliteral"> ,jr_tech_per, jr_valid</span>
|
|
<span class="stringliteral"> ) select $seq,jr_def_id,jr_montant,'Annulation '||jr_comment,</span>
|
|
<span class="stringliteral"> now(),$grp_new,'$p_internal',</span>
|
|
<span class="stringliteral"> $userPref, true </span>
|
|
<span class="stringliteral"> from</span>
|
|
<span class="stringliteral"> jrn</span>
|
|
<span class="stringliteral"> where jr_grpt_id="</span>.$_POST['p_id']
|
|
</pre></div>
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00139">139</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="annulation.php::$User" ref="a0" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$User = new <a class="el" href="classcl__user.html">cl_user</a>($cn) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00041">41</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="annulation.php::exit" ref="a1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="user__sec_8php.html#a3">exit</a> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00055">55</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a9"></a><!-- doxytag: member="annulation.php::size" ref="a9" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$a <a class="el" href="annulation_8php.html#a9">size</a> = 80 </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="annulation_8php-source.html#l00251">251</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
</BODY>
|
|
</HTML>
|